Problem reading status from Nagios Core

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.
Locked
neo_infraestructura
Posts: 61
Joined: Wed Jan 17, 2018 3:55 pm

Problem reading status from Nagios Core

Post by neo_infraestructura »

Hi there,

I'm facing some difficulties with Nagios Core, in the regular work the follow screen shows.
nagios1.png
It takes a few seconds and then Nagios works fine. It happens severly times in an hour.

I don't know what could be the problem, the CPU is fine, same as the Memory.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Problem reading status from Nagios Core

Post by scottwilkerson »

Is something restarting Nagios? Do you have other scripts that could be locking the status file?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
neo_infraestructura
Posts: 61
Joined: Wed Jan 17, 2018 3:55 pm

Re: Problem reading status from Nagios Core

Post by neo_infraestructura »

I have 2 devices for Nagios with the same information, and as far as I know, in none of them there is a script that could be locking the status file. This problem only occurs in one of the two Nagios.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Problem reading status from Nagios Core

Post by scottwilkerson »

scottwilkerson wrote:Is something restarting Nagios?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
neo_infraestructura
Posts: 61
Joined: Wed Jan 17, 2018 3:55 pm

Re: Problem reading status from Nagios Core

Post by neo_infraestructura »

how can I check that? There is no action or program restarting nagios.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Problem reading status from Nagios Core

Post by scottwilkerson »

you could try the following when it happens

Code: Select all

fuser status.dat
When did this start?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
neo_infraestructura
Posts: 61
Joined: Wed Jan 17, 2018 3:55 pm

Re: Problem reading status from Nagios Core

Post by neo_infraestructura »

The problem has always been in the device. It is now that I started to verify it.

The code you told didn't work, "fuser" wasn't recongized.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Problem reading status from Nagios Core

Post by scottwilkerson »

What Os is this? You may need to install the following package to use fuser

Code: Select all

psmisc
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked