-
Notifications
You must be signed in to change notification settings - Fork 72
Description
Hi,
i wan't use your snmp check script to monitor my network interfaces in icnga2. In my case i create a check command with the following paramaters:
-t 10 snmp timeout in seconds
-H host
-L <authp,privp>
-l snmpv3 username
-x password Auth
-X password Priv
-n
--64bits use 64Bit snmp-counter (for 1GBit/s and higher)
--label
-N use IfName instead ifDeDescr
-Y output performance data in bits/s
-B output performance data in bits instead bytes
-k check Bandwith
-q check Bandwith include error and discard
-f Performance data output for graphite/nagvis/grafana
-e Performance data output include error and discard
-S Include speed in performance (output: $interface$_speed_bps)
-d 60 average of Delta in seconds
-M warning and critiacl in Mbps
-w 200,200,1,1,1,1
-c 280,280,2,2,2,2
Now I have 3 question for usable and hope, that somebody can help me.
-
With the Parameter -S i get following error:
Use of uninitialized value $speed_real in concatenation (.) or string at /usr/lib64/nagios/plugins/check_snmp_int.pl line 1100.
The output looks like this: eth0_speed_bps=
Is this a script error? -
In every 60s output I see 531 discard-errors on interface: 'eth0_in_discard'=531c
Is it possible the only the delta discard and error packets? -
The warning and critical level for discards and errors don't work for me:
Is it possible, that the sensor switch to warning/critical, when the delta contains x discard/error-packets?
Thx a lot for every help!