Nagios Calculator traffic with byte to Gigabyte

Christian Kujau lists at nerdbynature.de
Tue May 22 19:43:13 CEST 2018


On 05/08/2018 12:29 AM, Boonyarit Kunchorn wrote:
> My problem’s after monitor Cisco Switch with snmp protocol the result
> show traffic “ byte “.
> How to calculate or change the result to “ Gigabyte “ ?

Something similar was requested before:

> [check_snmp] Feature request : multiply, or divide values
> https://github.com/nagios-plugins/nagios-plugins/issues/349

> SNMP Divide...
> https://support.nagios.com/forum/viewtopic.php?f=7&t=38222

The 2nd post suggests to use awk(1) to modify the plugin's output data,
that may work in your case too.

HTH,
C.
-- 
make bzImage, not war

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20180522/cba335ff/attachment.sig>


More information about the Help mailing list