RE: install snmp module
"Bruce Shaw" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <A8E35CF33CF6584A8497CB2E7521385B03230B45@EDM-GOA-EXCC-5A.goa.ds.gov.ab.ca> |
You've covered a lot of ground here so I'll address (hopefully correctly - I don't use nagios or perl with SNMP) one issue at a time. >I want to install perl SNMP module on solaris 10 servers and I cannot do that successfully by using >perl -MCPAN -e shell > install SNMP >failed. >I do not know why. I'm suspecting your system may be confused as to exactly which Perl version you're supposed to be using. >However why i can seel /user/perl5/5.8.4/sun4-solaris-64int/SNMP.pm there. does that mean SNMP module is installed by default? I'm assuming you mean /usr/perl5/5.8.4/lib/sun4-solaris-64int/SNMP.pm and my default system doesn't have it. It also means that your installation may have worked. >On the system, it has perl 5.8.4, maybe some perl 5.8.7 That's part of your problem. Which perl is it actually looking at? Type perl -v and see what it says. Unless you've changed your path, you installed it to the default 5.8.4, which may not be what you intended. >I believe there is default net-snmp module under /usr/sfw/bin/net-snmp-config which is 5.0.9 version Yes, that's where Sun has installed net-snmp. >my colleague install nagios , which contain net-snmp 5.3.1 and par t of perl 5.8.8. I've looked through the nagios-2.9.tar file and found no evidence of perl or net-snmp. I think you need to talk to your colleagues and find out exactly what they installed and where (and why). If they installed net-snmp 5.3.1, we need to know how it's configured. net-snmp 5.3.1 is not certified to run on Solaris 10. I'm in the process of figuring out how to make that work I've gotten distracted by other stuff eg. the binaries for 5.4.1. One thing I am NOT doing (at least for the binaries) is using embedded-perl, which may be required by nagios. How do you install part of perl? >Can I use the solaris default net-snmp ? how can I compile and install my perl module successfully? I think you already have but to a place you weren't expecting. If nagios is trying to use a version of perl is stuck someplace else, that has to be in the PATH before /usr/bin, otherwise you'll end up using the default perl, which nagios may not be expecting. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users