-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Questen Parameter usage for icinga2 #78
Comments
Hi. Just a short question at the beginning: Do you really use the check_snmp_int.pl from this repo? Perl claims line 1100 but that script has only 1085 lines. To your questions:
A general tip: Can you start the command on the cli and add -v as an argument? This gives you more details on what this command is doing in the background. |
Hi, first thx for your support!
|
So it works now for you? If so I will close that issue. Or do you have any further questions? |
Hi,
I love this script, but special with the second and third point i can't use the script :-( Cheers, Marco |
Hi Marco.
Regards, |
Hi Marco.
|
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!
The text was updated successfully, but these errors were encountered: