Nagios/NRPE script getting "No output returned from plugin"
Rick Munn
rick at screenscape.net
Fri Oct 29 13:43:26 CEST 2010
Thank you, your direction put me in the correct direction:
Problem, I wasn't passing an attribute value in my service definition; thus,
I was trying to execute the NREP without an attribute value (e.g check_nrpe
-H hostname -c check_kernel -a).
Solved by adding "!attribute" text to my service check_command syntax. It
doesn't do anything but satisfy my NRPE command_line command's
parsing/execution.
(1) define service{
use generic-service
host_name DEV-APP1A-dappsi01a
servicegroups dev-services
service_description Kernel Version
check_command check_nrpe!check_kernel!attribute
}
(2) define command{
command_name check_nrpe
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -a $ARG2$
}
Cheers,
Rick
On Fri, Oct 29, 2010 at 5:51 AM, Kumar, Ashish <xml.devel at gmail.com> wrote:
>
> Help, any thoughts or known solution regarding this would be appreciated?
>>
>>
> Try setting debug=1, re-run the command and check /var/log/messages, it
> usually helps :)
>
>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America
> contest
> Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
> marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101029/39593ca4/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
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