h3c switch monitoring by SNMP

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
User avatar
rhassing
Posts: 412
Joined: Sat Oct 05, 2013 10:29 pm
Location: Netherlands

Re: h3c switch monitoring by SNMP

Post by rhassing »

Sorry , but i do not know what the command i can get output like you show :(
You will get an output likethat if you run

Code: Select all

./configure
When you are compiling the plugins.

And please post the ouput of

Code: Select all

rpm -qa |  grep snmp
Rob Hassing
Image
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: h3c switch monitoring by SNMP

Post by rkennedy »

That is correct - thanks @rhassing!
Former Nagios Employee
huytq1786
Posts: 21
Joined: Tue Dec 20, 2016 9:50 pm

Re: h3c switch monitoring by SNMP

Post by huytq1786 »

rhassing wrote:
Sorry , but i do not know what the command i can get output like you show :(
You will get an output likethat if you run

Code: Select all

./configure
When you are compiling the plugins.

And please post the ouput of

Code: Select all

rpm -qa |  grep snmp
This is output:
[root@localhost ~]# rpm -qa | grep snmp
php-snmp-5.4.16-42.el7.x86_64
net-snmp-agent-libs-5.7.2-24.el7_2.1.x86_64
net-snmp-5.7.2-24.el7_2.1.x86_64
net-snmp-libs-5.7.2-24.el7_2.1.x86_64
net-snmp-utils-5.7.2-24.el7_2.1.x86_64
[root@localhost ~]# ./conigure
-bash: ./conigure: No such file or directory
[root@localhost ~]# ./configure
-bash: ./configure: No such file or directory

sorry , i do not know "./configure"
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: h3c switch monitoring by SNMP

Post by rkennedy »

Please see what I posted earlier, as it contains the files for what you need to compile. Once you download nagios-plugins, you'll need to run a configure, make, and make install. (see https://support.nagios.com/kb/article.p ... ategory=58 - scroll down to 'Installing the Plugins' for an exact guide)
rkennedy wrote:It looks like you're missing the check_snmp plugin, which is included with the most recent version of nagios-plugins. I would download the most recent one here, and then re-compile them. https://www.nagios.org/downloads/nagios-plugins/

I verified on my end, and here are the plugins you should see (after compiling 2.1.4) -

Code: Select all

[root@bob libexec]# ls
check_apt       check_flexlm        check_ircd      check_nntps     check_pop      check_ssh     check_wave
check_breeze    check_ftp           check_jabber    check_nt        check_procs    check_ssmtp   negate
check_clamd     check_hpjd          check_load      check_ntp       check_real     check_swap    old
check_cluster   check_http          check_log       check_ntp_peer  check_rpc      check_tcp     urlize
check_dhcp      check_icmp          check_mailq     check_ntp_time  check_sensors  check_time    utils.pm
check_disk      check_ide_smart     check_mrtg      check_nwstat    check_simap    check_udp     utils.sh
check_disk_smb  check_ifoperstatus  check_mrtgtraf  check_oracle    check_smtp     check_ups
check_dummy     check_ifstatus      check_nagios    check_overcr    check_snmp     check_uptime
check_file_age  check_imap          check_nntp      check_ping      check_spop     check_users
Former Nagios Employee
huytq1786
Posts: 21
Joined: Tue Dec 20, 2016 9:50 pm

Re: h3c switch monitoring by SNMP

Post by huytq1786 »

I already fixed this issue
i tried to install Nagios Plugins 2.1.2 and it run ok. Before i installed Nagios plugins 2.14, maybe it is wrong.
Thank you all!
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: h3c switch monitoring by SNMP

Post by rkennedy »

Sounds good - are we good to mark this thread resolved?
Former Nagios Employee
huytq1786
Posts: 21
Joined: Tue Dec 20, 2016 9:50 pm

Re: h3c switch monitoring by SNMP

Post by huytq1786 »

rkennedy wrote:Sounds good - are we good to mark this thread resolved?
Yes. Please make this thread resolved.
Locked