Within the Nagios Web GUI / Dashboard, if I drill down into a Host page with the "Host State Information", I see this being reported for "Status Information" (IP address removed): Status Information: /usr/bin/ping -n -U -w 30 -c 5 {my-host-ip-address}, CRITICAL - Could not interpret output from ping command. Here you go. In your ping service definition use e.g. Mine always starts with either "PING: OK" or "PING: CRITICAL". There should be no reference to /usr/bin/ping in that output, even when failing. By clicking Accept all cookies, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy. 2. However, this can result in too high a CPU load on both the Nagios host and remote machine, and is not recommended. That configuration file already contains some sample host, hostgroup, and service definitions. If it doesn't, install net-snmp and net-snmp-utils and recompile/reinstall the Nagios plugins. It does seem to be registering on some level as in my Nagios logs I can see: Jul 16 19:12:27 localhost nagios: Warning: Duplicate definition found for service 'PING' on host 'server-01'. Thanks for that. The following are some possible error messages that you might get when you try to use check_ping command. Connect and share knowledge within a single location that is structured and easy to search. Extracting arguments from a list of function calls. The warning limit is 10ms RTA or 2% packet-loss. My understanding, however, is that a change was made around version 3.2.0 to allow host-level services to take precedence of hostgroup-level services. News Remotely monitor servers with the Nagios check_by_ssh plugin Stack Exchange network consists of 181 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers. Support Plans Service or Daemon checks are system processes that run in the background, usually configured to start when the system boots. What is Wario dropping at the end of Super Mario Land 2 and why? Monitoring Using Nagios", Collapse section "3. For example: Each defined command can then be specified in the services.cfg file on the Nagios monitoring server. By clicking Post Your Answer, you agree to our terms of service, privacy policy and cookie policy. 565), Improving the copy in the close modal and post notices - 2023 edition, New blog post from our CEO Prashanth: Community is the future of AI. By clicking Accept all cookies, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy. The commands that Nagios executes to process host and service performance data are determined by the host_perfdata_command and service_perfdata_command options, respectively. It only takes a minute to sign up. Linux is a registered trademark of Linus Torvalds.