Page 2 of 2

Re: SNMP problem - No data received from host

Posted: Thu Aug 16, 2012 12:56 pm
by scottwilkerson
It may not work for all of them but you may be able to install the following to run 32 bit plugins on 64 bit machines

Code: Select all

yum install glibc.i686 -y

Re: SNMP problem - No data received from host

Posted: Fri Aug 17, 2012 12:24 pm
by benhank
I must have the worst luck with nagios... ran that but issue persists

Re: SNMP problem - No data received from host

Posted: Mon Aug 20, 2012 8:58 am
by scottwilkerson
Do you know where you originally got the plugin check_em01 ?

You may be able to re-download and recompile to get the correct version.

Re: SNMP problem - No data received from host

Posted: Mon Aug 20, 2012 9:01 am
by benhank
I got it from nagios exchange.

Re: SNMP problem - No data received from host

Posted: Mon Aug 20, 2012 9:29 am
by scottwilkerson
Ok, looks like you got it here
http://exchange.nagios.org/directory/Pl ... rs/details

So, I'll try to make this easy for you.

copy the attached file to your servers /tmp directory then run the following from the command line

Code: Select all

cd /tmp
gcc check_em01.c -o check_em01
chmod +x check_em01
mv -f check_em01 /usr/local/nagios/libexec/check_em01

Re: SNMP problem - No data received from host

Posted: Mon Aug 20, 2012 9:40 am
by benhank

Code: Select all

[root@lkennagios01 ~]# cd /tmp
[root@lkennagios01 tmp]# gcc check_em01.c -o check_em01
check_em01.c: In function âmainâ:
check_em01.c:242: warning: incompatible implicit declaration of built-in function âexitâ
check_em01.c:292: warning: incompatible implicit declaration of built-in function âexitâ
[root@lkennagios01 tmp]# chmod +x check_em01
[root@lkennagios01 tmp]#

Re: SNMP problem - No data received from host

Posted: Mon Aug 20, 2012 9:49 am
by scottwilkerson
One more command you missed...

Code: Select all

mv -f check_em01 /usr/local/nagios/libexec/check_em01

Re: SNMP problem - No data received from host

Posted: Tue Aug 21, 2012 9:48 am
by benhank
This is resolved. You guy's can lock this. And thanks for the awesome assistance.