Plugin check_snmp_int.pl

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
paulol
Posts: 159
Joined: Wed Jul 02, 2014 11:39 am

Plugin check_snmp_int.pl

Post by paulol »

The following image shows me traffic of the bond0 network. I was copying a file and the server shows me that i was copying 80MB/s (output) and the plugin check_snmp_int.pl shows me 4.6MB/s.

There is something wrong in my command or the plugin have a problem
You do not have the required permissions to view the files attached to this post.
Last edited by paulol on Tue Aug 25, 2015 7:48 am, edited 1 time in total.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Plugin check_snmp_int.pl

Post by tgriep »

I found this description for the delta option for that check.
-d: delta time
You can put the delta time as an option : the "delta" is the prefered time between two values that the script will use to calculate the average Kbytes/s or error/min. The delta time should (not must) be bigger than the check interval.
Here is an example : Check interval of 2 minutes and delta of 4min

T0 : value 1 : can't calculate usage
T0+2 : value 2 : can't calculate usage
T0+4 : value 3 : usage=(value3-value1)/((T0+4)-T0)
T0+6 : value 4 : usage=(value4-value2)/((T0+6)-T0+2)
(Yes I know TO+4-T0=4, it's just to explain..)
.........

The script will allow 10% less of the delta and 300% more than delta as a correct interval.
For example, with a delta of 5 minutes, the acceptable interval will be between 4'30" and 15 minutes.
The default is 5 minutes and that could explain the output you are seeing.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked