This is a discussion on Re: Undefined subroutine &SNMP::initMib called within the SNMP Coders forums, part of the Networking and Network Related category; chen jacky wrote: > :I am using RedHat ES 4, and I've installed net-snmp 5.12. When I ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
chen jacky wrote:
> :I am using RedHat ES 4, and I've installed net-snmp 5.12. When I try to > run a program, it got the following error message: > > [root@hosta libexec]# ./check_snap_disk_snmp -H 10.3.16.110 -C 1 -c 80 > -w 90 > Undefined subroutine &SNMP::initMib called at ./check_snap_disk_snmp > line 98. > > :I have no idea where is initMib, then I search at cpan.org, it seems > that only SNMP-4.2.0 has this function. When I try to install SNMP > 4.2.0, I also failed to install it. You should install the perl modules that come with the version of net-snmp you've installed. If you've installed manually, "./configure --with-perl-modules" will do what you want. If this was a RedHat package, there should also be a corresponding package for the perl modules. +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=...057&dat=121642 _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders |