On Mar 2, 2010, at 11:35 AM, Martin Melin wrote: > 2010/3/2 Robert Wolfe <[email protected]> > I am curious here... > > If all you are doing is restarting Nagios, why not just use: > > /etc/init.d/nagios restart > > Instead of all the other commands and parameters? > > Running nagios -v nagios.cfg haves Nagios verify the configuration, this is > best practice because otherwise you risk a typo stopping your monitoring for > the time it takes for you to correct the configuration :-)
The init script already does this and doesn't restart if verification fails. -- Marc ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ 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
