check_snmp not working but snmpget works

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: 416
Joined: Sat Oct 05, 2013 10:29 pm
Location: Netherlands

Re: check_snmp not working but snmpget works

Post by rhassing »

I'm sorry, but I'm out of options.
I've got no idea what could still be wrong :-(
Rob Hassing
Image
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: check_snmp not working but snmpget works

Post by abrist »

Can you post a log of the full configure and make processes?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Kerflumpre
Posts: 30
Joined: Fri Apr 22, 2011 6:50 pm

Re: check_snmp not working but snmpget works

Post by Kerflumpre »

Before I post the wrong stuff, you mean for Nagios and the plugins?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: check_snmp not working but snmpget works

Post by abrist »

nagios-plugins specifically. I want to see if there were any issues in the check_snmp configure or build.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Kerflumpre
Posts: 30
Joined: Fri Apr 22, 2011 6:50 pm

Re: check_snmp not working but snmpget works

Post by Kerflumpre »

Attached
Attachments
putty-nagios-plugins.log
(136.84 KiB) Downloaded 470 times
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: check_snmp not working but snmpget works

Post 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'
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Kerflumpre
Posts: 30
Joined: Fri Apr 22, 2011 6:50 pm

Re: check_snmp not working but snmpget works

Post 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
User avatar
rhassing
Posts: 416
Joined: Sat Oct 05, 2013 10:29 pm
Location: Netherlands

Re: check_snmp not working but snmpget works

Post by rhassing »

I'm missing libnet-snmp-perl, that is also installed on my system.
Rob Hassing
Image
Kerflumpre
Posts: 30
Joined: Fri Apr 22, 2011 6:50 pm

Re: check_snmp not working but snmpget works

Post by Kerflumpre »

I installed it and recompiled the plugins. No change.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: check_snmp not working but snmpget works

Post by abrist »

Can you post the new build log?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked