Re: Nagios Calculator traffic with byte to Gigabyte
Christian Kujau <[email protected]> Tue, 22 May 2018 10:43:13 -0700
| Newsgroups | gmane.network.nagios.devel |
|---|---|
| Message-ID | <18c8ca82-77be-a736-86ac-0ea39a170c5a__42304.3041177609$1527010875$gmane$org@nerdbynature.de> |
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --QFlUtplJ14MAbA9Kg02Nz7siBh9y6Oadt Content-Type: multipart/mixed; boundary="nqHit5leEc7Z6Bi5JbC1IIfR3HJLzohpp"; protected-headers="v1" From: Christian Kujau <[email protected]> To: Monitoring Plugins Development <[email protected]>, Boonyarit Kunchorn <[email protected]>, [email protected] Message-ID: <[email protected]> Subject: Re: Nagios Calculator traffic with byte to Gigabyte References: <[email protected]> In-Reply-To: <[email protected]> --nqHit5leEc7Z6Bi5JbC1IIfR3HJLzohpp Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 05/08/2018 12:29 AM, Boonyarit Kunchorn wrote: > My problem=E2=80=99s after monitor Cisco Switch with snmp protocol the = result > show traffic =E2=80=9C byte =E2=80=9C. > How to calculate or change the result to =E2=80=9C Gigabyte =E2=80=9C ?= 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=3D7&t=3D38222 The 2nd post suggests to use awk(1) to modify the plugin's output data, that may work in your case too. HTH, C. --=20 make bzImage, not war --nqHit5leEc7Z6Bi5JbC1IIfR3HJLzohpp-- --QFlUtplJ14MAbA9Kg02Nz7siBh9y6Oadt Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEdixJnDzFDyW2HUFk7ByGZki0elEFAlsEVrEACgkQ7ByGZki0 elGr1A//fWcOVlGjIAXb84u+usDCg/G694HK73fzfT3gJBSz0t8lRSz7fnAO3lrA OmQzYQwshiMi0iW7j7FJDsJf1HfD2uCziDm4vHK5nPQ9jaW5tuQcG97zpMaElOlP /ryfn+FgWAJukvPo2PicIhzInCenZHYpjA08jjhcFYVoHri25xDnQT2ZEIz9WW80 Xjwi/Zo8anfpIFQUqbzlurLFJTxv4B9ZoUER3N/UOZ9PwWB04VUf2hS+7UFRedwB CAFozxUl5tHI8V0zE3+lN7LCPxSFkBUOVd+jxhnQUnpnEPMeKEumEK6C7osFl7I+ NrY5mA+pdzxe+X1Xmj+7u+zrDHR64/794NacY4OuGUAgMy0huFOHrHdHMxLHJ4p+ dCgdOpQjA+AyI/xZAVU5D8oiteUHePiLyU7MAnl9DiUBdfBX/Gb/seLW9Uey4mcw 5WOurb1zPoADU71f7x+ViZJpmFQVS1Lup3/07iJMEd/K1qXh3wwdFwTadgU6Wf6w OQv9YywUSttSSlyvbhC9xSGjFBYozAuqt/MXgNiY6s5ipoNveGV5HC2AikXJQG5J ROwJFBttv6k2wZdpG8TzZTRXAT4cKiWJ2Nh1xQGkx2iQxQb2Zz9yCEMqcaxkHySI Lw21Evj9uCQLcSs+DYCjcfTdEXosyF0oIdRF8WnGmUNUnEF3lk8= =3/3X -----END PGP SIGNATURE----- --QFlUtplJ14MAbA9Kg02Nz7siBh9y6Oadt--