check_snmp_arp

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
lamin
Posts: 177
Joined: Thu Oct 28, 2010 6:59 am

check_snmp_arp

Post by lamin »

Hey guys,
I am trying to run check_snmp_arp to watch some swithes. However, i got some data in the command line and no data in nagios wweb interface. See attachment.
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: check_snmp_arp

Post by scottwilkerson »

can you tell us what you are getting in the web interface
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
lamin
Posts: 177
Joined: Thu Oct 28, 2010 6:59 am

Re: check_snmp_arp

Post by lamin »

see attachment
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: check_snmp_arp

Post by scottwilkerson »

Lets edit your check command as follows:

Code: Select all

$USER1$/check_snmp_arp.pl -H $ARG1$ -C $ARG2$ -w $ARG3$ -c $ARG4$
Now in the service management for this service set:
$ARG1$=10.0.0.28
$ARG2$=public
$ARG3$=600
$ARG4$=800

Additionally, this plugin (not created by Nagios staff) didn't have any check to see if it was unable to connect and even if it couldn't connect to the server it would report:

Code: Select all

Status is OK. Arp enries in memory: 0 |arp=0
I modified the original and have attached it if you would like to try it.
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
lamin
Posts: 177
Joined: Thu Oct 28, 2010 6:59 am

Re: check_snmp_arp

Post by lamin »

i followed your recommendation however, i still got some errors. se attachment
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: check_snmp_arp

Post by scottwilkerson »

lets go back to the original file (attached) but leave the other settings like they are
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
lamin
Posts: 177
Joined: Thu Oct 28, 2010 6:59 am

Re: check_snmp_arp

Post by lamin »

I got it working but i hard-code the variables (hostaddress, public string etc...) in the command definition because i kept getting some error. I guess that the code was not very well tested by the owner.

Thanks
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: check_snmp_arp

Post by scottwilkerson »

lamin wrote:I got it working but i hard-code the variables (hostaddress, public string etc...) in the command definition because i kept getting some error. I guess that the code was not very well tested by the owner.

Thanks
I think you are right. I'm glad hear you got it working.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked