On Tue, 14 Nov 2006, Brian Loe wrote:

> On 11/14/06, Donnell Lewis <[EMAIL PROTECTED]> 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.

-- 
        [EMAIL PROTECTED]       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@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

Reply via email to