Nagios error Nrpe:command ' check_heartbeat ' not defined

Source: Internet
Author: User

Recently in the heartbeat monitoring, the Nagios server-side alert prompt: Nrpe:command ' check_heartbeat ' not defined

However, the Nagios client/usr/local/nagios/libexec/check_nrpe-h 192.168.3.211-c Check_heartbeat are able to perform normally, and a lot of information is found in the following situations:

1.nagios Client nrpe.cfg configuration file command is incorrectly written

2.nagios client libexec without this command

None of mine is the above two cases, check the/var/log/message reported the following error:

Jan 17:04:41 usvr-210 xinetd[30971]: Bind failed (Address already in use (errno = 98)). Service = Nrpe
Jan 17:04:41 usvr-210 xinetd[30971]: Service Nrpe failed to start and is deactivated.

The lsof-i:5666 check port did not start, but Ps-ef |grep Nrpe was there and restarted Nrpe

Service xinetd Restart

OK, this is where nagios can monitor properly.

Nagios error Nrpe:command ' check_heartbeat ' not defined

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.