Page 1 of 1

check_snmp 64bit counters returns c value?

Posted: Thu Sep 17, 2020 7:55 am
by ottow
Hi,

We've run into a problem with check_snmp when monitoring our Nutanix environment as per https://next.nutanix.com/how-it-works-2 ... agios-4500
The values returned by the check_snmp command are ending with a "c", like so:
SNMP OK - 185 | iso.3.6.1.4.1.41263.506.0=185c

The above screws up the graphs badly, making them completely useless (see attached image)
snmpwalk returns a correct value (no "c"):
SNMPv2-SMI::enterprises.41263.506.0 = Counter64: 185

Is there any way to strip that "c" from the output?

Re: check_snmp 64bit counters returns c value?

Posted: Fri Sep 18, 2020 9:33 am
by tgriep
Take a look at this forum post that has instructions for creating a template that will ignore the unit of measurement "the letter c" and fix the graph issue.

https://support.nagios.com/forum/viewto ... 65#p146465

Re: check_snmp 64bit counters returns c value?

Posted: Mon Sep 21, 2020 6:37 am
by ottow
Thanks, that solved the issue.

Re: check_snmp 64bit counters returns c value?

Posted: Mon Sep 21, 2020 9:20 am
by tgriep
Your welcome. Glad it worked. I'll lock the post as solved but feel free to post any new questions on the future.

Re: check_snmp 64bit counters returns c value?

Posted: Mon Sep 21, 2020 9:22 am
by tgriep
Your welcome. Glad it worked. I'll lock the post as solved but feel free to post any new questions on the future.