check_snmp_int.pl: over 100%?

Hugo van der Kooij hvdkooij at vanderkooij.org
Mon Jun 9 12:39:21 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ford, Andy wrote:
| I'm trying to use check_snmp_int.pl (not standard, see
| http://nagios.manubulon.com/snmp_int.html) but when I try to get my
| results in percent form, I get over 100% results on at least on device:
|
|
| $./check_snmp_int.pl -HDEVICE -CXXX --name 'eth-s1p1 ' --perfcheck
| --perfspeed --warning=40,60  --critical=60,80 --prct
| eth-s1p1 Ethernet Layer Intel 10/100 Ethernet:UP (CRIT 180.3%/CRIT
| 468.1%):(1 UP): CRITICAL

You are instructing it to report how much the speed goes over the
configured maximum. And you set the maximum to 60 Kb/s in and 80 kb/s out.

It seems you have in fact 108 kb/s in and 375 kb/s out as the actual
traffic flow. So the alert is valid.

If you add the -u parameter your would trigger warning on the percentage
~ of the interface. So you need to reach 40% of your maximum speed before
you reach the warning level.

It is also important to see what the maximum port speed is according to
your config.

But I must admit the help info on this plugin is not exactly clear. A
number of options seem to be described in rather puzzling terms which
are open to speculation of what is meant exactly. This may be due to
translation errors.

Hugo.

- --
hvdkooij at vanderkooij.org               http://hugo.vanderkooij.org/
PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc

	A: Yes.
	>Q: Are you sure?
	>>A: Because it reverses the logical flow of conversation.
	>>>Q: Why is top posting frowned upon?

Bored? Click on http://spamornot.org/ and rate those images.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFITQhXBvzDRVjxmYERAhSmAJ9fqYwXIv3erkn7MbKDSr3+H/7cuACeO3F7
iNKo9IdvX2WmELknOV68LnM=
=gHku
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list