nagios-service down/recovery issues

Marc Powell marc at ena.com
Thu Apr 7 23:42:03 CEST 2005



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Arno Lehmann
> Sent: Wednesday, April 06, 2005 6:12 AM
> To: vivek sharma sharma
> Cc: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] nagios-service down/recovery issues
> 
> Hi.
> 
> vivek sharma sharma wrote:
> 
> > Also to calculate the reaper freq. it is said that we can run nagios
> > with -s option but
> > when i do that it doesnot run(may be i am intercepting it the wrong
way)
> >
> > [root at nagios root]# /etc/rc.d/init.d/nagios -s
> > Usage: nagios {start|stop|restart|reload|force-reload|status}
> > [root at nagios root]# /etc/rc.d/init.d/nagios -s start
> > Usage: nagios {start|stop|restart|reload|force-reload|status}
> 
> You need to run nagios itself with the -s option, not its boot script.

And it's actually

/path/to/nagios -s /path/to/nagios.cfg

'/usr/local/nagios/bin/nagios -s /usr/local/nagios/etc/nagios.cfg' if
you're using default locations.

--
Marc


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
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