naparuba/shinken — pull request #286 by yam (2012-04-17 08:18:46+00:00)
Title: pack/os/linux - check_linux_network_usag

Hi !

I would like to replace the command of check_linux_network_usage in packs/os/linux.
Actually it's use check_snmp_int from standard snmp plugins (nagios-snmp-plugins package in debian).

The major disadvantage of this plugin is that it needs a temporary file to calculate bandwidth, what does not work very well when using distributed mode of Shinken.

So I configured check_snmp_bandwidth (written by scriptfanix: https://gitorious.org/check_snmp_bandwidth/check_snmp_bandwidth in bash).

Of course I used the host variable:

* NETWORKUSAGE_WARN: Warning%
* NETWORKUSAGE_CRIT: Critical%
* NETWORKUSAGE_SELECTOR what monitor interface. (by default or HOSTADDRESS interface is configured.

What do you think? how should install or give links to this plugin?