Hi, i am monitoring mostly services on a drbd & heartbeat cluster by monit. Last time we have had some serious troubles with nmbd. I want to check the right answer to a nmb query looking up my fileserver "apollo" with monit. May i can check the content of a file with monit's regex feature ?
I am doing a "nmblookup apollo > /tmp/nmblookup_check" every minute with cron. The file looks like that:
WARNING: The "printer admin" option is deprecated querying apollo on 192.168.0.255 192.168.0.100 apollo<00>
So, can i have monit to check if "192.168.0.100" is present in the file? regards holgi -- To unsubscribe: http://lists.nongnu.org/mailman/listinfo/monit-general
