check_ifstatus (1.3.1) Prototype mismatch error

Subhendu Ghosh sghosh at sghosh.org
Wed Dec 17 18:04:05 CET 2003


What version of Net::SNMP ?

-sg

On Wed, 19 Nov 2003 daryl at introspect.net wrote:

> 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: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
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