Check_nrpe script is not working

Joe Hammerman jhammerman at videoegg.com
Wed Jun 10 22:19:57 CEST 2009


Kent, that was it. Thanks a million!

-----Original Message-----
From: Marc Powell [mailto:marc at ena.com]
Sent: Wednesday, June 10, 2009 11:51 AM
To: Nagios Mailinglist
Subject: Re: [Nagios-users] Check_nrpe script is not working


On Jun 10, 2009, at 12:57 PM, Joe Hammerman wrote:

> Good morning Nagios users list. I am hoping that someone here would
> be kind enough to take a look at this problem I'm having. I'm
> stumped so any troubleshooting steps would be greatly appreciated!
>
> A short summary of the problem is this: a script called by the
> nagios user on the target machine runs without error. However, when
> the script is called by the remote check_nrpe script it fails, with
> apparently no output.
>
> The check_nrpe script is configured to call a command that calls an
> HP script, which then parses the output. Here is the command
> directive:
>
> command[hplog_fan.pl]=/usr/local/nagios/libexec/videoegg/hplog_fan.pl
>
> Here is the contents of the script:
>
> #!/usr/bin/perl
> @output = `sudo /sbin/hplog -f`;

If 'requiretty' is enabled in sudoers (visudo), you'll need to disable
it.

--
Marc


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list