I'm on Nagios XI, i used the Vmware .ova to get the install done
I am using the command below to retrieve the actual bandwidth that go through the interfaces of a router
/usr/local/nagios/libexec/check_snmp_int.pl -H x.x.x.x -C community -2 -n eth -f -k -w 1000,1000 -c 1200,1200
eth0:UP (552.9KBps/CRIT 2507.9KBps), eth1:UP (CRIT 2466.9KBps/CRIT 8087.0KBps), eth2:UP (93.0KBps/619.8KBps):(3 UP): CRITICAL | 'eth0_in_octet'=3151058755c 'eth0_out_octet'=2254878312c 'eth1_in_octet'=626765302c 'eth1_out_octet'=634153554c 'eth2_in_octet'=1137408010c 'eth2_out_octet'=160432245c
the command is working.
But the perfdata make the graph annoying to read : eth2_out_octet'=160432245c
, etc ...
so i would like to have those values in mb/s
i tried to use the -B -M -Y
flags to tweak those values.
I could have the results in bytes or in bits but i could never have them in mb/s
do someone experienced this before and have a solution ?