Reloading config - all plugins fail with 127 o ut of bounds

White, Chad (MED) chad.white at med.ge.com
Fri Mar 21 01:31:29 CET 2003


I see a very similar situation on my newly installed installation of 
Nagios.  In my case the monitoring hosts are all SPARC Solaris 8 
machines.  My situation:

1. Central server that performs a few active checks but mostly does 
passive checks
2.  Distributed servers that perform active checks and use 
obsess_over_services to return the results to the central server.

If I use the "reload" option of the included init script on the central 
server sometimes it actually works as expected.  Everytime I use the 
"reload" option of the script on a distributed server I never hear from 
that server again until I manually kill nagios and restart it on that 
server.  So, I am thinking something is broken with the obsess_ option 
on a HUP maybe.  I haven't gotten that far into troubleshooting it.

I've also noticed that the "restart" option of the init script isn't 
very reliable.  I had quite a mystery as to why my config kept randomly 
changing every 30 seconds until I realized the script had fired up 
another nagios daemon and not killed the old one!

thx,
--chd

On Thursday, March 20, 2003, at 01:47  PM, Forsyth, Austin wrote:

> I use the script provided with the distribution in /etc/init.d to 
> perform
> the reload, or the Web interface. The script seems to locate the PID 
> by the
> lockfile, and as everything is running properly at the moment, the 
> lockfile
> lists the correct PID.
>
> If I call the script with stop/start, I don't get the strange plugin
> failure. It's a clean reload.
>
> I have a workaround, I'm just curious if anyone else has seen *all* the
> plugins claim their return values are out of bounds?
> _________________________
>
> How are you achieving the reload - HUP or script?  if script - is it
> HUPing the correct process?
>
> -- 
>
> -sg
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Tablet PC.
> Does your code think in ink? You could win a Tablet PC.
> Get a free Tablet PC hat just for playing. What are you waiting for?
> http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
> _______________________________________________
> 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


-------------------------------------------------------
This SF.net email is sponsored by: Tablet PC.  
Does your code think in ink? You could win a Tablet PC. 
Get a free Tablet PC hat just for playing. What are you waiting for? 
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
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