<font size=2 face="sans-serif">Hello,</font>
<br>
<br><font size=2 face="sans-serif">I am using check_snmp_plugin to monitor
a couple of switches. The command template I use is:</font>
<br>
<br><font size=2 face="sans-serif"> $USER1$/check_snmp_int.pl -H $HOSTADDRESS$
-C $USER5$ -2 -r -n $ARG1$ -fY -kqB -g -w $ARG2$ -c $ARG3$ -d $ARG4$</font>
<br>
<br><font size=2 face="sans-serif">And the particular one for a certain
port/device is:</font>
<br>
<br><font size=2 face="sans-serif"># Monitor bandwidth and port status
- port 23</font>
<br><font size=2 face="sans-serif">define service{</font>
<br><font size=2 face="sans-serif"> use
generic-service
; Inherit values from
a template</font>
<br><font size=2 face="sans-serif"> Host_name
switch1</font>
<br><font size=2 face="sans-serif"> Service_description
Port 23.</font>
<br><font size=2 face="sans-serif"> Check_command
check_snmp_int!"GigabitEthernet0/23"!600000,600000,100,100,100000,10!800000,800000,200,200,200000,20!11</font>
<br><font size=2 face="sans-serif"> Normal_check_interval
2
; Check the service every 2 units under
normal conditions</font>
<br><font size=2 face="sans-serif"> retry_check_interval<-->1
;
Re-check the service every one unit until its final/hard state is determined</font>
<br><font size=2 face="sans-serif"> }</font>
<br>
<br>
<br><font size=2 face="sans-serif">The interval length in nagios.cfg is
set to:</font>
<br>
<br><font size=2 face="sans-serif">interval_length=10</font>
<br>
<br><font size=2 face="sans-serif">Can you please let me know a good value
for the -d parameter in order to tweak the check_snmp_int.pl script properly?</font>
<br>
<br><font size=2 face="sans-serif">Thank you!</font>