Rép. : Re: [Nagios-users] check_load weird behavior in French config

Andreas Ericsson ae at op5.se
Fri Feb 18 23:00:54 CET 2005


Serveur-Faucon Surveillance wrote:
> I know about the ". or ," issue, and I have compensate with " " " and
> it does work great.
> 
> root]# /usr/local/nagios/libexec/check_load -w "20,0","15,0","10,0"
> -c "35,0","30,0","25,0" OK - load average: 0,00,
> 0,00,0,00|load1=0;20;35;0 load5=0;15;30;0 load15=0;10;25;0
> 
> But since, I made more tests, when starting in the startup
> (chkconfig) the error occurs. When I log in and restart the service,
> the error disapear. If I start the service later (with at) in the
> service startup, the error occurs.
> 
> So I would somehow conclude that there is a difference between
> starting a service in the chkconfig and at the console.
> 
> Can you think of another way to bypass this situation? :) Mabe I
> could log in the nagios user and make him execute nrpe?
> 

locale > locale.save
LC_ALL=POSIX
start nrpe
eval `cat locale.save`

or put nrpe last in startup sequence so as to emulate the re-start 
environment as close as possible.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
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_id=6595&alloc_id=14396&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