passive checks via smtp? or similar

Matt Johnson johnsonmlw at yahoo.com
Wed Jan 12 23:58:01 CET 2005


> Use passive checks and freshness checks. Have the
> email address you send
> to on your Nagios machine execute a script that
> simply submits the
> service OK external command to Nagios via the
> command pipe as a passive
> check. Use freshness checks to verify you've
> received a result in a
> timely manner.

Thanks for this. I have it working. Sorted.

To get the pipe to work, I had to mess with
permissions. I was getting problems with using the
nagios.cmd pipe. I tried to change the user that exim
ran the aliases/pipe command as, but it stopped the
aliases pipe working altogether. The way round it was
to chmod 777 /var/run/nagios/nagios.cmd. There must be
a more elegant solution (especially as I have to chmod
it again after every service restart).

Anyways - *much* thanks for the pointers. It's sorted
my situation.
--
Matt


	
	
		
___________________________________________________________ 
ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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





More information about the Users mailing list