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.
check_snmp_arp
check_snmp_arp
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
can you tell us what you are getting in the web interface
Re: check_snmp_arp
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
Lets edit your check command as follows:
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:
I modified the original and have attached it if you would like to try it.
Code: Select all
$USER1$/check_snmp_arp.pl -H $ARG1$ -C $ARG2$ -w $ARG3$ -c $ARG4$$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=0You do not have the required permissions to view the files attached to this post.
Re: check_snmp_arp
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
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.
Re: check_snmp_arp
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
Thanks
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: check_snmp_arp
I think you are right. I'm glad hear you got it working.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