Package: nagios-snmp-plugins Version: 1.1.1-3 Severity: normal
I am trying to use plugins from this package on a Nagios3 installation. The example service definition in nagios is as follows: define service{ host_name fileserver service_description Samba Daemon check_command check_snmp_process_v2!smbd!0!0!!public use generic-service } The error that shows up in the Nagios display is: **ePN /usr/lib/nagios/plugins/check_snmp_process.pl: "Use of uninitialized value $opt in string eq at /usr/share/perl/5.10/Getopt/Long.pm line 497,". However, if I run the command manually as follows it works: /usr/lib/nagios/plugins/check_snmp_process.pl \ -H 10.100.1.3 -C public -2 -n smbd -w 0 -c 0 The response that comes back from above is: 2 process matching smbd (> 0) So the problem is something to do with the interaction with the embedded perl within nagios 3. I'm not sure if the bug is correctly filed against this package or if it should be filed against nagios3. I am using other plugins successfully however. Also note that I have another host in a different subnet also using this plugin with perl 5.10, but with nagios2 and that seems to be working fine. Regards, ---------- Jim Barber DDI Health -- System Information: Debian Release: lenny/sid Architecture: i386 (i686) Kernel: Linux 2.6.18.7-alcatraz (SMP w/2 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/bash Versions of packages nagios-snmp-plugins depends on: ii libnet-snmp-perl 5.2.0-1 Script SNMP connections ii perl 5.10.0-10 Larry Wall's Practical Extraction ii perl-base 5.10.0-10 The Pathologically Eclectic Rubbis ii ucf 3.006 Update Configuration File: preserv nagios-snmp-plugins recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]