Page 1 of 1

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

Posted: Mon Dec 23, 2019 7:00 am
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

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

Posted: Mon Dec 23, 2019 8:43 am
by scottwilkerson
From the CLI you can run

Code: Select all

service nagios status

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

Posted: Thu Jan 02, 2020 3:57 am
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

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

Posted: Thu Jan 02, 2020 7:50 am
by scottwilkerson
Can you show the results of the following commands?

Code: Select all

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

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

Posted: Sun Feb 09, 2020 4:23 pm
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

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

Posted: Mon Feb 10, 2020 8:16 am
by scottwilkerson
I'm sorry, I wanted

Code: Select all

ls -ld /var/run/nagios