Down time not reflecting in the nagios Tool

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
rohithroki
Posts: 138
Joined: Mon Nov 30, 2015 6:12 am

Re: Down time not reflecting in the nagios Tool

Post by rohithroki »

please find the logs attached.
Now the problem occurs even if new server is onboarded into nagios tool.

It shows up some times in nagios when searched with the server name and some times comes up after 2,3 times of page refresh
Attachments
access_log.zip
(365.32 KiB) Downloaded 213 times
error_log.zip
error log
(37.02 KiB) Downloaded 194 times
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Down time not reflecting in the nagios Tool

Post by rkennedy »

Can you please clarify what you mean by this?
It shows up some times in nagios when searched with the server name and some times comes up after 2,3 times of page refresh
It looks like you're running additional components with Core, which can affect different things -

Code: Select all

[ Initializing NConf perl-API (library version 0.3, written by A. Gargiulo) ]
[ Copyright (c) 2006 - 2012 Sunrise Communications AG, Zurich, Switzerland  ]
Former Nagios Employee
rohithroki
Posts: 138
Joined: Mon Nov 30, 2015 6:12 am

Re: Down time not reflecting in the nagios Tool

Post by rohithroki »

Yes once the server is added in the monitoring tool it should show the details with the services configured if we search that particular host.

How ever it doesn't show up and when i try refreshing the nagios portal it appears and some times disappears ..

Attaching the same for your reference;
Attachments
nagios issue.docx
(59.47 KiB) Downloaded 220 times
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Down time not reflecting in the nagios Tool

Post by rkennedy »

Do you have other components running in conjunction with Nagios? Nconf can affect this as well.

Post your /usr/local/nagios/var/nagios.log file for us to look at.
Former Nagios Employee
rohithroki
Posts: 138
Joined: Mon Nov 30, 2015 6:12 am

Re: Down time not reflecting in the nagios Tool

Post by rohithroki »

please find the nagios.log file
Attachments
nagios.zip
Nagios.log
(1.09 MiB) Downloaded 184 times
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Down time not reflecting in the nagios Tool

Post by rkennedy »

With nconf, and ndomod at play, it's hard to say where your issue is. This isn't going to be a system we can support though. We wrote Nagios, and from what I can tell, it's working as intended.

Code: Select all

[1465817620] ndomod: Still unable to connect to data sink.  31942643 items lost, 5000 queued items to flush.
[1465817629] Warning: The check of service 'Dell_Hardware_Health_Status' on host 'WAIN01103' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
[1465817630] ndomod: Still unable to connect to data sink.  9151 items lost, 5000 queued items to flush.
Former Nagios Employee
rohithroki
Posts: 138
Joined: Mon Nov 30, 2015 6:12 am

Re: Down time not reflecting in the nagios Tool

Post by rohithroki »

this has become a major issue in my nagios portal.
Server list reduces some time and show the correct value some times after the next portal refersh due to which there is chance for missing the alert
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Down time not reflecting in the nagios Tool

Post by rkennedy »

What other components are you running with Core? It's hard to say what's going on. It's clear you're using nconf, which can alter how Nagios functions. What other components are you using?
Former Nagios Employee
rohithroki
Posts: 138
Joined: Mon Nov 30, 2015 6:12 am

Re: Down time not reflecting in the nagios Tool

Post by rohithroki »

yes i am using nconf along with nagios
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Down time not reflecting in the nagios Tool

Post by rkennedy »

rohithroki wrote:yes i am using nconf along with nagios
What other components are you running? Nconf can affect how Nagios functions, and restarts, which is why you could see blank results once, but not the second time.

It could also be related to Nagios running out of resources, what is the full output of top | head -n20 and ps -ef?
Former Nagios Employee
Locked