check_ifstatus (1.3.1) Prototype mismatch error

daryl at introspect.net daryl at introspect.net
Wed Nov 19 19:22:01 CET 2003


I'm getting the following errors when using the check_ifstatus plug-in:

----

t1-1:/usr/local/nagios# libexec/check_ifstatus -H <hostname> -C
<community_string>
Prototype mismatch: sub main::NULL vs () at
/usr/share/perl/5.6.1/Exporter.pm li
ne 57.
        Exporter::import('INTEGER', 'INTEGER32', 'OCTET_STRING', 'NULL',
'OBJECT
_IDENTIFIER', 'IPADDRESS', 'COUNTER', 'COUNTER32', ...) called at
libexec/check_
ifstatus line 35
        main::BEGIN() called at /usr/share/perl5/Net/SNMP.pm line 35
        eval {...} called at /usr/share/perl5/Net/SNMP.pm line 35
OK: host '<hostname>', interfaces up: 12, down: 0, dormant: 0

----

Looks like it's accurately reporting the interfae stats, but the extra
junk is making things sloppy.  Any ideas?

Thanks,
Daryl


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
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