Page 5 of 7

Re: check_snmp not working but snmpget works

Posted: Sun Nov 09, 2014 5:12 pm
by rhassing
I'm sorry, but I'm out of options.
I've got no idea what could still be wrong :-(

Re: check_snmp not working but snmpget works

Posted: Mon Nov 10, 2014 1:58 pm
by abrist
Can you post a log of the full configure and make processes?

Re: check_snmp not working but snmpget works

Posted: Mon Nov 10, 2014 3:39 pm
by Kerflumpre
Before I post the wrong stuff, you mean for Nagios and the plugins?

Re: check_snmp not working but snmpget works

Posted: Mon Nov 10, 2014 3:42 pm
by abrist
nagios-plugins specifically. I want to see if there were any issues in the check_snmp configure or build.

Re: check_snmp not working but snmpget works

Posted: Mon Nov 10, 2014 8:21 pm
by Kerflumpre
Attached

Re: check_snmp not working but snmpget works

Posted: Tue Nov 11, 2014 3:48 pm
by sreinhardt
It does look like it was unable to find net-snmp libraries according to the config, in fact it looks like few important things were not detected:

configure: WARNING: Tried /usr/bin/perl - install Net::SNMP perl module if you want to use the perl snmp plugins
configure: WARNING: OpenSSL or GnuTLS libs could not be found or were disabled

Let's just check one more time for those:

dpkg --get-selections | grep -v deinstall | grep -i 'net-snmp\|openssl'

Re: check_snmp not working but snmpget works

Posted: Tue Nov 11, 2014 8:14 pm
by Kerflumpre

Code: Select all

root@nagios-core:~/downloads/nagios-plugins-2.0.3# dpkg --get-selections | grep -v deinstall | grep -i 'net-snmp\|openssl'
openssl                                         install

Re: check_snmp not working but snmpget works

Posted: Wed Nov 12, 2014 1:34 am
by rhassing
I'm missing libnet-snmp-perl, that is also installed on my system.

Re: check_snmp not working but snmpget works

Posted: Wed Nov 12, 2014 6:14 am
by Kerflumpre
I installed it and recompiled the plugins. No change.

Re: check_snmp not working but snmpget works

Posted: Wed Nov 12, 2014 5:46 pm
by abrist
Can you post the new build log?