Hi All, I'm new to mon but its working great monitoring several servers for me already with fping.
In the past I have noticed my wireless network stops broadcasting the SSID at times and I would like to detect when this happends (so I can reboot the AP). What I need your help with is with writing a mon monitor script. I haven't seen any information on the input/output required to interact with mon. I believe its as simple as the below but any pointers would be appreciated. If your script exits with state 1 = error If your script exits with state 0 = ok/normal Any information printed before exit is printed in the mon report. So something along the lines of foreach $interface (@ARGV) { do my testing here for each interface passed to the mon script } if (@failures) { print @failures exit 1; } exit 0; Is that all there is to it, any hints/tips ? Regards, Lee p.s. Sorry about the bad pseudo code :) _______________________________________________ mon mailing list mon@linux.kernel.org http://linux.kernel.org/mailman/listinfo/mon