Incorrect ping service warnings

Thomas Guyot-Sionnest Thomas at zango.com
Mon Jun 4 17:50:23 CEST 2007


You should always use "killall -HUP nagios" so that Nagios perform a
graceful restart (and if you just want to shut it down, "killall nagios"
will be sufficient).

If you use "-9" Nagios may leave temporary files behind that you will have
to clean manually. You should only use "-9" as a last resort option (ex.
Nagios not responding to commands and normal kills)

If you use an init script, you should use preferably use it to
start/stop/restart Nagios.

Thomas

> -----Original Message-----
> From: nagios-devel-bounces at lists.sourceforge.net [mailto:nagios-devel-
> bounces at lists.sourceforge.net] On Behalf Of Hendrik Baecker
> Sent: June 3, 2007 7:05
> To: Nagios Developers List
> Subject: Re: [Nagios-devel] Incorrect ping service warnings
> 
> Hi rajesh,
> 
> use the init script or external command pipe to shutdown your nagios
> process.
> 
> Or with the hard method
> 
> killall -9 nagios
> 
> This should get you out of your self made problem.
> 
> But just to clear it, even with two or more running nagios processes,
> the executed plugins to check your ping rta just runs for their specific
> one nagios process who executes the plugin.
> The results where _not_ added to result in one big rta!!
> 
> So I think it is not a nagios problem!
> 
> Regards
> Hendrik
> 
> 
> 
> rajesh schrieb:
> > thanks marc this problem was started after adding two hosts i try to
> > restart the nagios where i did wrong instead of restarting nagios
> > process i started nagios using the following command
> >
> > /usr/local/bin/nagios -d /usr/local/etc/nagios/nagios.cfg
> > i suspect because already one nagios process is running on top of that i
> > used above command so where it went wrong.My network is working fine it
> > is only problem with nagios can some one please help me how to fix this
> > problem is there anything i can reset nagios so that it would start
> > checking as normal
> >
> > thanks for your help
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Nagios-devel mailing list
> Nagios-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3076 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20070604/e740488f/attachment.bin>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list