problems with web interface

Arno Lehmann al at its-lehmann.de
Mon Mar 14 18:45:46 CET 2005


Hello,

Andreas Ericsson wrote:

> Egidijus Antanaitis wrote:
> 
>> Hi,
>>
>>                       Nagios v1.2 installed from source tarballs.
>> Configured, up and running. But there is problem with web interface.
>>                       Tactical overview very often shows: 0 Down 0
>> Unreachable 0 Up 0 Pending, but there are ~20 hosts configured!
>>
> 
> You have multiple instances of nagios running (can someone please put 
> this in a FAQ which new list-users are pointed to?). It happens from 
> time to time with 1.2 (and apparently with 2.x as well, according to 
> recent findings by Stanley Hopcroft).
> 
> service nagios stop

 From my experience: Wait some time here...
> killall -9 nagios

... and here as well.

> service nagios start

I've had the problem of multiple instances arising just when I did a 
/etc/init.d/nagios restart after a configuration change, and finally, 
after some checking with ps, (I never looked into the source) I think 
that some forked instances, waiting for plugin execution, remain running 
sometimes and can screw up the status file.

If I wait long enough to allow all plugins to time out so that the 
IO-waiting nagios processes can die everything's all right.


Arno

>>                       Also other menus often show there are no hosts
>> described, sometimes it says " you do not have permission to view
>> information" .. after F5 (refresh) everything goes OK, I can see all the
>> hosts with their status.
>>
>> The only menu, that shows all the configured hosts for monitoring is 
>> "Status
>> Map". But the hosts are painted in grey color and the pop-up shows "Host
>> status information not found". After few F5's I can see the real picture.
>>
>>                       Host, service notifications are OK, I can 
>> receive them
>> by e-mail.
>>
>>                       What can I do to correct this problem? Spent 
>> already
>> 24 hours without any luck.. Heelp:)
>>
>>  
>>
>> e.
>>
>>  
>>
>>
> 

-- 
IT-Service Lehmann                    al at its-lehmann.de
Arno Lehmann                  http://www.its-lehmann.de


-------------------------------------------------------
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