[Nagios monitoring] causes and troubleshooting of NRPE: Unable to read output

Source: Internet
Author: User

[Nagios monitoring] NRPE: the reason for Unable to read output and troubleshooting the normal operation of the nrpe monitoring terminal definition command, monitor run #/usr/local/nagios/libexec/check_nrpe-H 117.121.9.200-c check_oracle_tablespace error prompt: NRPE: Unable to read output monitor run: #/usr/local/nagios/libexec/check_nrpe-H 117.121.9.200 can return the nrpe version information, indicating that the nrpe communication is normal. Definition of check_oracle_tablespace on the monitored end:/usr/local/nagios/etc/nrpe. cfg command [check_oracle_tablespace] =/usr/bin/sudo/usr/local/nagios/libexec/check_tablespace.sh the script path is correct and has the execution permission. After careful troubleshooting, edit the/etc/sudoers file # vim/etc/sudoers nagios ALL = (ALL) NOPASSWD: /usr/local/nagios/libexec/check_tablespace.sh comment out the line at the same time, indicating that the terminal does not need to be controlled # Defaults requiretty; otherwise, the following error occurs: NRPE: Unable to read output.

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.