# # WMNetMonrc for Version 0.1c/d # # Please change this file and copy it to your home directory and name it # .wmnetmonrc # # # D line # Format - D:[w|d][i|m] # Example - D:dm # - This line specifies the default behaviour of wmnetmonrc # The flags are: # # w -> Warn when hosts/services stop responding. This is the default # behaviour. The led will turn red and flash, and (if specified) a # external command will be executed. # # d -> Don't warn. Led will be off if host/service stops responding. # # i -> Ignore host/service (stop monitoring it) when muted. The led will # be blue. # # m -> Mute host/service (don't execute external program) but keep on # monitoring it. The led will be blue if the host/service responds or # purple if it does not. This is the default. # D:wm # # # P Line # Format: P:[] [] # Example: P:/usr/bin/play # - This line specifies the program that will be run on special events. # * ONE LAST PARAMETER will be passed on to this program according to # event type, and will be specified in other configuration lines. # P:/usr/bin/play # # S Line # Format: S: # Example: S:Siren.wav # - This is the argument will be passed to the program specified when # hosts/services stop responding. # S:Siren.wav # # # H Line # Format: H:[tcp|udp/@]:[:flags] # Examples: H:127.0.0.1:localhost:id # H:tcp/smtp@127.0.0.1:sendmain on localhost:w # H:udp/27500@192.168.0.3:quake time # H:foo.bar.net:foobar # # - This is the most important line. Just add the hosts/services you want to # monitor. The flags are the same as for D line. H:192.168.2.1:host1:d H:192.168.2.2:host2 H:tcp/smtp@localhost:Sendmail at localhost:w H:tcp/telnet@192.168.0.20:telnetd at remote host:di # end #