SNMP::SIMPLE

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
raamardhani7
Posts: 459
Joined: Tue Jun 02, 2015 12:36 am

SNMP::SIMPLE

Post by raamardhani7 »

Hi Team,

I am unable to install SNMP::SIMPLE. Could you please help me here. thanks.

Code: Select all

[root@lussvpnagiosxi00 SNMP-Simple-0.02]# pwd
/home/FOSSIL.COM/rardhani/SNMP-Simple-0.02

[root@lussvpnagiosxi00 SNMP-Simple-0.02]# ll
total 64
-rwxr-xr-x 1 1000 1000   171 Dec  4  2005 Changes
drwxr-xr-x 2 1000 1000  4096 Dec  4  2005 examples
drwxr-xr-x 3 1000 1000  4096 Dec  4  2005 lib
-rw-r--r-- 1 root root 23275 Mar 30 08:59 Makefile
-rwxr-xr-x 1 1000 1000   351 Dec  4  2005 Makefile.PL
-rwxr-xr-x 1 1000 1000   222 Dec  4  2005 MANIFEST
-rwxr-xr-x 1 1000 1000   347 Dec  4  2005 META.yml
-rwxr-xr-x 1 1000 1000  5626 Dec  4  2005 README
-rwxr-xr-x 1 1000 1000  1426 Dec  4  2005 SIGNATURE
drwxr-xr-x 2 1000 1000  4096 Dec  4  2005 t

[root@lussvpnagiosxi00 SNMP-Simple-0.02]# perl Makefile.PL
Warning: prerequisite SNMP 5.1.2 not found. We have 5.05.
Writing Makefile for SNMP::Simple
[root@lussvpnagiosxi00 SNMP-Simple-0.02]# service snmpd status
snmpd (pid 2331) is running...
[root@lussvpnagiosxi00 SNMP-Simple-0.02]# service snmptrapd status
snmptrapd (pid 2342) is running...
raamardhani7
Posts: 459
Joined: Tue Jun 02, 2015 12:36 am

SNMP::SIMPLE

Post by raamardhani7 »

Hi,
We'd like to add Hitachi storage health check perl script plugin. However, we can't find SNMP::Simple module in the /usr/local/lib64/perl5, /usr/local/share/perl5, /usr/lib64/perl5/vendor_perl, /usr/share/perl5/vendor_perl, /usr/lib64/perl5, /usr/share/perl5 directories on the server lussvpnagiosxi00. Because SNMP::Simple module has not been installed on this server.

Here is the current version of Perl on our system:
[nagios@lussvpnagiosxi00 ~]$ perl -v

This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi

Copyright 1987-2009, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.


Could you help how to resolve SNMP::Simple module issue on that server? So, we can test out SNMP module for Hitachi storage.

Best Regards,

Moderator Note: I have merged your two threads into one
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: SNMP::SIMPLE

Post by tmcdonald »

What version of Nagios XI are you running, and what OS + version is the server?
Former Nagios employee
raamardhani7
Posts: 459
Joined: Tue Jun 02, 2015 12:36 am

Re: SNMP::SIMPLE

Post by raamardhani7 »

Hi,

Here are the info as you request:

Version of Nagios XI is v5.2.3

[nagios@lussvpnagiosxi00 etc]$ cat /proc/version
Linux version 2.6.32-573.7.1.el6.x86_64 ([email protected]) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC) ) #1 SMP Thu Sep 10 13:42:16 EDT 2015

[nagios@lussvpnagiosxi00 etc]$ lsb_release -a
LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 6.7 (Santiago)
Release: 6.7
Codename: Santiago

Best Regards
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: SNMP::SIMPLE

Post by tgriep »

I am guessing you are trying to install a plugin that need to have the Perl SNMP Simple perl module installed?
If so, login to the XI server as root and run the following to do that.

Code: Select all

yum install perl-SNMP-Simple
Be sure to check out our Knowledgebase for helpful articles and solutions!
raamardhani7
Posts: 459
Joined: Tue Jun 02, 2015 12:36 am

Re: SNMP::SIMPLE

Post by raamardhani7 »

tgriep wrote:I am guessing you are trying to install a plugin that need to have the Perl SNMP Simple perl module installed?
If so, login to the XI server as root and run the following to do that.

Code: Select all

yum install perl-SNMP-Simple
Hi Tom,

Thanks a lot for your quick help, command worked and I got snmp-simple installed. this thread can be closed now. thanks again.
Locked