nagios startup options

Hugo van der Kooij hvdkooij at vanderkooij.org
Tue Nov 14 21:41:22 CET 2006


On Tue, 14 Nov 2006, Brian Loe wrote:

> On 11/14/06, Donnell Lewis <donnell.lewis at icoretechnology.com> wrote:
> >
> > As for making sure to restart if it dies, well, that could be done by
> > writing a little bash script that check to see if the nagios process
> > itself is running and if not start it up through the service control or
> > command line string.
> 
> I was hoping for something more along the lines of inittab respawning.

Sounds like a bad idea. If you make a typo in the config your system will 
respawn itself a lot as it will start and die in quick succesion.

A watchdog script can be smarter. And my nagios uptime is almost identical 
to my OS uptime. (Which equals the amount of time it takes to run my 
Sxxnagios script in rc3.d after boot up.)

Hugo.

-- 
	hvdkooij at vanderkooij.org	http://hvdkooij.xs4all.nl/
	    This message is using 100% recycled electrons.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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