[Nagiosplug-help] NRPE: Unable to read output
Marc Powell
marc at ena.com
Thu Feb 19 19:50:38 CET 2009
On Feb 19, 2009, at 11:58 AM, Brian Tomjack wrote:
>>> on the remote host, in the nrpe config:
>>> command[check_mailq]="sudo /usr/local/nagios/libexec/check_mailq -w
>>> 120 -c 175"
Specify the full path to sudo here. Also verify that you do not have
'requiretty' in the sudoers file (visudo)
Barring that, try changing your check command to be the following and
see if you get an error shown in the plugin output.
command[check_mailq]="sudo /usr/local/nagios/libexec/check_mailq -w
120 -c 175 2>&1"
--
Marc
More information about the Help
mailing list