Nagios reports NRPE: Command & #39; check_heartbeat & #39; not defined, nagiosnr2.

Source: Internet
Author: User

Nagios reports NRPE: Command 'check _ heartbeat 'not defined, nagiosnr2.

Recently, during heartbeat monitoring, the nagios server prompts an alarm: NRPE: Command 'check _ heartbeat 'not defined

However, on the nagios client/usr/local/nagios/libexec/check_nrpe-H 192.168.3.211-c check_heartbeat, all tasks can be executed normally. The following information is displayed:

1. the commands in the configuration file nrpe. cfg of the nagios client are incorrect.

2. The nagios client libexec does not have this command

In none of the above two cases, the following error is reported when viewing/var/log/message:

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

Lsof-I: 5666 check port is not started, but ps-ef | grep nrpe is available, so nrpe is restarted

Service xinetd restart

OK. Now nagios can monitor it normally.

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.