> An example is smbd and nmbd.  You need both of them to be 
> running for Samba to be operational.  I can use the command 
> /usr/local/nagios/libexec/check_procs -C smbd to see that the 
> smbd processes are running, and I can do the same thing For 
> nmbd, but how do I look at them together? 

You could define two Nagios services using check_procs (one to check for
smbd, one to check for nmbd) and then define a third summary service using
check_summary (get it from www.nagiosexchange.org ) to give the worst result
of the two.  Use summary calculation '@max( /host/smbd /host/nmbd )' or
similar depending on your host and service names.

Steve




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to