On Nov 18, 2005, at 02:54, enrico fanti wrote:

I have this problem

Nagios executes a script.

This script have to restart the Nagios process in this way:

/etc/init.d/nagios stop
/etc/init.d/sendmail restart
/etc/init.d/named
/etc/init.d/nagios start

Perhaps I'm being a bit dense (hey, it's Friday), but I don't understand why you would even want to do such a thing. It seems like quite a hack for no gain. If you're just trying to make sure you don't get notified during sendmail & BIND log rotations, Nagios has a far better provision built right in with the max_check_attempts parameter.

-Guy (must... stamp out... gratuitous hackery...!)




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&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