ePN error
Patrick Proy
nagios-user at proy.org
Mon Dec 11 11:51:50 CET 2006
Hi,
Download latest version 1.4.3 of the script :
http://www.manubulon.com/nagios/check_snmp_int.pl
This should fix the problem.
Patrick
http://www.manubulon.com/nagios/
-----Message d'origine-----
De : nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] De la part de Ciro
Iriarte
Envoyé : lundi 11 décembre 2006 06:11
À : nagios-users at lists.sourceforge.net
Objet : Re: [Nagios-users] ePN error
"Patrick Proy" <nagios-user at proy.org> escribis en el mensaje
news:20061207222542.C07991953BE at mail.proy.org...
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.
Patrick
http://www.manubulon.com/nagios/
Thanks for your answer, here's the info you requested:
- Service definition
define service{
use routers-template
service_description Trafico Intf 11 ENC
host_name rouasusis01
contact_groups operaciones
check_command
check_snmp_int!not_real_community!Serial3
event_handler ins2tt
event_handler_enabled 1
}
- Command definition
define command{
command_name check_snmp_int
command_line $USER1$/check_snmp_int.pl -H $HOSTADDRESS$ -C
$ARG1$ -n $ARG2$ -r -f -e
}
- On commandline:
-- Working case
asusis-ope2:/usr/lib/nagios/plugins # ./check_snmp_int.pl -H rouasusis01 -C
not_real_community -n Serial1 -r -f -e
Serial1:UP:1 UP: OK | 'Serial1_in_octet'=312860304c
'Serial1_out_octet'=310979079c 'Serial1_in_error'=583c
'Serial1_in_discard'=0c 'Serial1_out_error'=0c 'Serial1_out_discard'=0c
-- Giving critical
asusis-ope2:/usr/lib/nagios/plugins # ./check_snmp_int.pl -H rouasusis01 -C
not_real_community -n Serial3 -r -f -e Use of uninitialized value in print
at ./check_snmp_int.pl line 610.
Serial3:DOWN: 1 int NOK : CRITICAL |
Ciro
-------------------------------------------------------------------------
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