Nagios Server is not coming Up

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
suhasini
Posts: 1
Joined: Thu Jun 24, 2021 12:12 am

Nagios Server is not coming Up

Post by suhasini »

Hi All,

Myself Suhasini.I have installed Nagios in My AWS Linux machine. Nagios status and httpd status both are showing as active. When trying to access through URL it's giving timeout error. Please let me know what could be the reason.

Thanks in Advance
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: Nagios Server is not coming Up

Post by pbroste »

Hello,

Thanks for reaching out; please check security group and network access control configuration(s) are correct within your AWS environment. Also, check to make sure the correct DNS configuration or IP Address are reachable. It sounds like you have verified that the Nagios service is running and that the firewall configuration allows traffic.

Please verify that you can get a reply from curl locally (via ssh) and from other hosts.

Code: Select all

curl -XGET "http://[host_ip_address]/nagiosxi/api/v1/objects/hoststatus?apikey=[your_api_key]&pretty=1"
Thanks,
Perry
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: Nagios Server is not coming Up

Post by pbroste »

Hello,

Follow up on the previous message; the command that I provided will only work for the Nagios XI environment and you can check to see if the 'check_ping' command is accepting in the Nagios Core environment by doing the following:

Code: Select all

/usr/local/nagios/libexec/check_ping -H [your_ip_address] -w 10,2% -c 20,5%
Thanks,
Perry
Locked