2

I am running Nagios 4 in Debian Jessie. It shows the localhost down but all the services it check are OK.
The Nagios plugins are installed.
I followed this tutorial for the installation: http://nagios.sourceforge.net/docs/nagioscore/4/en/quickstart-ubuntu.html

verovan
  • 162

2 Answers2

1

Connect as a regular user, not root. If the command ping localhost says something along the lines of ping: icmp open socket: Operation not permitted then check out Ping: icmp open socket: Operation not permitted (Linux)

It basically states that you need to add the "s" flag on the ping binary, usually located on /bin/ping on Debian systems: sudo chmod u+s /bin/ping

Greenonline
  • 2,390
right
  • 111
0

That check will just try to ping localhost. Does that work? If not, it could be due to many things: your firewall may block it, or you may have disabled your configuration for localhost.