what is the difference between check_snmp_int and snmpwalk command to get the ifInOctects 18.104.22.168.22.214.171.124.1.10 my check_snmp_int gives wrong values for bandwith monitoring , ifInOctects and ifOutoctect gives values that vary , should they be equal ? Can i use the snmpwalk to get the bandwiith of a switch instead of check_snmp_int ? if more details are needed ,i can provide them thank you
check_snmp_int gives wrong values for bandwith monitoring...
check_snmp_int do the average between the datas retrieved by snmp. So your results can differ.
ifInOctects and ifOutoctect gives values that vary , should they be equal ?
No, it's two différents values, one for the IN and the other for the OUT traffic of your interface.
Can i use the snmpwalk to get the bandwiith of a switch instead of check_snmp_int
ifOutoctect store only the number of octets transmitted on the interface. There is not notion of time in those values. So
snmpwalk will only retrieve this number of octets, if you don't want to use check_snmp_int
to have the average of your traffic, you will must calculate yourself the average in fonction of the a intervall of time.
check_snmp_int doses that, look at the help of the check, it explains how the plugin works. Help of check_snmp_int