Nagios-users Digest, Vol 7, Issue 10
Stanley.Hopcroft at Dest.gov.au
Stanley.Hopcroft at Dest.gov.au
Mon Dec 11 02:35:44 CET 2006
Dear Sir,
I am writing to thank you for your letter and say,
> -----Original Message-----
> ------------------------------
>
> Message: 4
> Date: Thu, 7 Dec 2006 23:25:50 +0100
> From: "Patrick Proy" <nagios-user at proy.org>
> Subject: Re: [Nagios-users] ePN error
> To: "'Ciro Iriarte'" <cyruspy at gmail.com>
> Cc: nagios-users at lists.sourceforge.net
>
> Hi,
>
> I agree with S. Hopcroft, it must be a script error.
> I suspect that you use performance output (-k option) : is it
> the case ?
> Could you send the options you use with the script ? (command
> + service definition ?) and the return of the script with -v
> option using these options.
>
I forgot to mention: if you can't fix the script, the workaround is
to change the command definition for the problem plugin (commands.cfg or
checkcommands.cfg) so that the command is something like
# 'check_nntp' command definition
define command{
command_name check_nntp
command_line $USER1$/check_nntp -H $HOSTADDRESS$
}
==>
# 'check_nntp' command definition
define command{
command_name check_nntp
command_line /usr/bin/perl $USER1$/check_nntp -H
$HOSTADDRESS$
}
ie add Perl to the command line (so that the script is not run by the
kernel reading the
shebang line directly from the script).
> Patrick
> http://www.manubulon.com/nagios/
Yours sincerely.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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