Whoops!Error:Could not read host&service status information

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
jimmy.smith
Posts: 3
Joined: Mon Dec 23, 2019 6:53 am

Whoops!Error:Could not read host&service status information

Post by jimmy.smith »

Hi

I am new to Nagios and have taken over the environment with minimal information. The Nagios alerting was working until recently and now when I try to access the hosts or services on the portal I get the Whoops! message.

Is there a way to check if Nagios is running? Any other recommendations on things to check or try?

Thanks for any help

Jimmy
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Whoops!Error:Could not read host&service status informat

Post by scottwilkerson »

From the CLI you can run

Code: Select all

service nagios status
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
jimmy.smith
Posts: 3
Joined: Mon Dec 23, 2019 6:53 am

Re: Whoops!Error:Could not read host&service status informat

Post by jimmy.smith »

Thanks scottwilkerson

I get the below message when I run this command:

No lock file found in /var/run/nagios/nagios.pid

Any assistance is greatly appreciated

Thanks
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Whoops!Error:Could not read host&service status informat

Post by scottwilkerson »

Can you show the results of the following commands?

Code: Select all

ls -d /var/run/nagios
ls -l /var/run/nagios
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
jimmy.smith
Posts: 3
Joined: Mon Dec 23, 2019 6:53 am

Re: Whoops!Error:Could not read host&service status informat

Post by jimmy.smith »

Hi scottwilkerson

Thank you for the reply and apologies for the delayed response, below are the results:

ls -d /var/run/nagios
/var/run/nagios

ls -l /var/run/nagios
total 0

Any help on this would be great

Thanks again
Jimmy
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Whoops!Error:Could not read host&service status informat

Post by scottwilkerson »

I'm sorry, I wanted

Code: Select all

ls -ld /var/run/nagios
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked