Nagios Plugin help
Stephan Janosch
Stephan.Janosch at interface-business.de
Fri Jan 14 16:43:08 CET 2005
Michael S. Klapheke wrote:
> Hi. I'm sure that this is posted, but I searched through the archives and
> couldn't find anything relevant. Many of the plugins seem to work; however,
> a few that I'm interested in (check_ifstatus and check_ifoperstatus) won't
> compile. They seem to stop at the following line: use Net::SNMP.
>
> I also get the following error:
>
> Can't locate Net/SNMP.pm in @INC (@INC contains: /usr/local/nagios/libexec
> /usr/lib/perl5/5.8.0/i386-linux-th
> read-multi /usr/lib/perl5/5.8.0
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/site_pe
> rl/5.8.0 /usr/lib/perl5/site_perl
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/ven
> dor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at ./check_ifstatus line 39.
> BEGIN failed--compilation aborted at ./check_ifstatus line 39.
>
> I'm sure this is something simple I need to do...any help is appreciated.
>
> Thanks!
>
> Mike
>
>
>
You need to install the snmp module of perl.
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
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