Failed to start LSB: NAGIOS SERVICE

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
CapitanG
Posts: 9
Joined: Mon May 21, 2018 2:09 pm

Failed to start LSB: NAGIOS SERVICE

Post by CapitanG »

Hi,
I added host to Nagios Core 4.3.4. Then I opened the web interface to see if I can see the HOST I added, but it is giving me error. When I click on Hosts on the left navigation pane I get the " Whoops! Error: Could not read host and service status information!" I tried to restart the Nagios service but it doesn't work. Nagios is loaded on Centos 7 OS. I am not familiar with LINUX so whatever I try I am doing it from what I read on the Internet. Please please help.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Failed to start LSB: NAGIOS SERVICE

Post by scottwilkerson »

Can you post the output of the following

Code: Select all

systemctl status nagios
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
CapitanG
Posts: 9
Joined: Mon May 21, 2018 2:09 pm

Re: Failed to start LSB: NAGIOS SERVICE

Post by CapitanG »

This is how the systemctl status looks like
Attachments
Nagios reply 0827.docx
(226.54 KiB) Downloaded 261 times
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Failed to start LSB: NAGIOS SERVICE

Post by scottwilkerson »

Ok, this looks like you have a configuration error. You will need to verify your configuration

depending on file locations you would run something like this

Code: Select all

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked