Page 1 of 1

Nagios Server is not coming Up

Posted: Thu Jun 24, 2021 12:19 am
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

Re: Nagios Server is not coming Up

Posted: Fri Jun 25, 2021 2:08 pm
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

Re: Nagios Server is not coming Up

Posted: Fri Jun 25, 2021 4:58 pm
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