ePN error

Ciro Iriarte cyruspy at gmail.com
Mon Dec 11 06:10:36 CET 2006


"Patrick Proy" <nagios-user at proy.org> escribió 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 




-------------- next part --------------
-------------------------------------------------------------------------
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
-------------- 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