Upvotes on questions will now be worth the same as upvotes on answers. Email Required, but never shown. It seems that Nagios is not running the correct command. First, let us enable the directory from which Nagios reads server configuration files. You will be prompted for a password. You can also configure alerts via email. First, we will navigate out of the Nagios Core directory with:.
I would like to know how to add a host to monitor nothing more than it's up / down state. Nothing more, nothing less.
Configure a Nagios Monitoring System
A straight ping will suffice. I've deployed a new instance of Nagios on a fresh install of CentOS 7.
Video: Nagios add host to ping Centreon - basic host monitoring
Simply change the host check command to use check_host rather than check_ping. but it should be remembered that host checks aren't even executed until all chmod u+s /bin/ping # ls -al /bin/ping -rwsr-xr-x 1 root root Sep. › book › networking_and_servers › mon.
Then, we define the command.
Monitoring is an essential part of managing infrastructure. On your system, you might find a different scenario than the one above. If you want to know more about why that is the case, you'll need to learn more about Nagios. Let us add a command to monitor the disk space.
Adding a simple host to monitor Up / Down state View topic • Nagios Support Forum
Create an account. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.
check_ping command is a Nagios plugin that is used to check the ping output of In the following example, it sends 10 ICMP ECHO packets to the remote host.
To check services on a host we first define host and then we define services running on the host. Now, we will configure Apache.
5 Nagios check_ping Command Examples to Monitor Remote Host
You might be spreading security…. It helps you to ensure that your business keeps running smoothly, by alerting you to problems as they occur. Regardless of the name you choose, open it in a text editor and type in the following contents:.
Video: Nagios add host to ping Hostgroup add in nagios core
These plugins, along with your configuration, determine which hosts and services will be checked. We use the nagiosadmin user and the password that you have created previously to log in.