SNMP problem - No data received from host

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: SNMP problem - No data received from host

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: SNMP problem - No data received from host

Post by benhank »

I must have the worst luck with nagios... ran that but issue persists
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: SNMP problem - No data received from host

Post 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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: SNMP problem - No data received from host

Post by benhank »

I got it from nagios exchange.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: SNMP problem - No data received from host

Post 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
You do not have the required permissions to view the files attached to this post.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: SNMP problem - No data received from host

Post 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]#
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: SNMP problem - No data received from host

Post by scottwilkerson »

One more command you missed...

Code: Select all

mv -f check_em01 /usr/local/nagios/libexec/check_em01
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: SNMP problem - No data received from host

Post by benhank »

This is resolved. You guy's can lock this. And thanks for the awesome assistance.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
Locked