check_iftraffic64 strange format in CRITICAL notification

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
shodg001
Posts: 19
Joined: Wed Oct 23, 2013 5:18 am

check_iftraffic64 strange format in CRITICAL notification

Post by shodg001 »

Hello,

I am using check_iftraffic64 to monitor out bandwidth. I notice that when something goes critical and an email is triggered the additional information in the email has a very strange format:

Additional Info:

CRITICAL - IN bandwidth (17040859915.59%) too high

Has anyone seen this or have a tip on how to get this to show a correct percent?

Regards,

Shawn
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: check_iftraffic64 strange format in CRITICAL notificatio

Post by tmcdonald »

What is the command definition for this check?
Former Nagios employee
sanlop
Posts: 4
Joined: Tue Mar 11, 2014 7:51 am

Re: check_iftraffic64 strange format in CRITICAL notificatio

Post by sanlop »

Hi:

Same issue here.
The command: ./check_iftraffic64.pl -H $HOSTADDRESS$ -C comunity -i 10001 -B

Thanks in advance for your help.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: check_iftraffic64 strange format in CRITICAL notificatio

Post by sreinhardt »

Could you post a link to this plugin, or just attach a copy of it please?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
sanlop
Posts: 4
Joined: Tue Mar 11, 2014 7:51 am

Re: check_iftraffic64 strange format in CRITICAL notificatio

Post by sanlop »

slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: check_iftraffic64 strange format in CRITICAL notificatio

Post by slansing »

We're currently looking through the plugin, I would highly suggest contacting the creator at the email address he/she listed on the exchange page, they would likely be a bit faster at fixing this up as this is a non standard plugin, and if it is a bug, it's a good thing to report up to them.
sanlop
Posts: 4
Joined: Tue Mar 11, 2014 7:51 am

Re: check_iftraffic64 strange format in CRITICAL notificatio

Post by sanlop »

Hi:

I have added the switch --32bits and seems to be OK, but I need more time to see the result.
With this setting you will force to the pluging to use 32 bits counters instead 64 bits counters.

./check_iftraffic64.pl -H $HOSTADDRESS$ -C comunity -i 10001 -B --32bits
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: check_iftraffic64 strange format in CRITICAL notificatio

Post by sreinhardt »

Are you certain your device has 64 bit counters for port speed?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
sanlop
Posts: 4
Joined: Tue Mar 11, 2014 7:51 am

Re: check_iftraffic64 strange format in CRITICAL notificatio

Post by sanlop »

Hi:

I do not really know, is a Cisco Catalyst.
Anyway, the problem seems to be solved.

Thank you.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: check_iftraffic64 strange format in CRITICAL notificatio

Post by tmcdonald »

shodg001, did any of the steps work for you?
Former Nagios employee
Locked