Page 2 of 2

Re: h3c switch monitoring by SNMP

Posted: Thu Dec 29, 2016 6:06 am
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

Re: h3c switch monitoring by SNMP

Posted: Thu Dec 29, 2016 10:39 am
by rkennedy
That is correct - thanks @rhassing!

Re: h3c switch monitoring by SNMP

Posted: Fri Dec 30, 2016 4:24 am
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"

Re: h3c switch monitoring by SNMP

Posted: Fri Dec 30, 2016 9:13 am
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

Re: h3c switch monitoring by SNMP

Posted: Wed Jan 18, 2017 1:22 am
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!

Re: h3c switch monitoring by SNMP

Posted: Wed Jan 18, 2017 1:17 pm
by rkennedy
Sounds good - are we good to mark this thread resolved?

Re: h3c switch monitoring by SNMP

Posted: Wed Jan 18, 2017 7:59 pm
by huytq1786
rkennedy wrote:Sounds good - are we good to mark this thread resolved?
Yes. Please make this thread resolved.