nagiostats 4.0.4 bug?

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.
Locked
jiikoo
Posts: 2
Joined: Fri Mar 21, 2014 7:31 am

nagiostats 4.0.4 bug?

Post by jiikoo »

Problem: Some of nagiostats MRTG data variables are not working:

---------- 8< 8< 8< 8< ----------
root@nagios:/home/jiikoo# /usr/local/nagios/bin/nagiostats --mrtg --data=TOTCHKBUF,USEDCMDBUF,HIGHCMDBUF,NAGIOSVERPID
TOTCHKBUF
USEDCMDBUF
HIGHCMDBUF

Nagios 4.0.4 (pid=11497)
---------- 8< 8< 8< 8< ----------
prandal
Posts: 8
Joined: Mon Nov 19, 2012 5:23 am

Re: nagiostats 4.0.4 bug?

Post by prandal »

AFAIK, those variables don't exist anymore in Nagios 4.x.

You'll need to remove that one graph out of your mrtg.cfg

nagiostats.c needs amending to remove them from the --help output, too.
jiikoo
Posts: 2
Joined: Fri Mar 21, 2014 7:31 am

Re: nagiostats 4.0.4 bug?

Post by jiikoo »

Ok. Thx!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: nagiostats 4.0.4 bug?

Post by tmcdonald »

Thanks for the post prandal. I don't see TOTCHKBUF in nagiostats.c in 4.0.4 or 3.5.1

Where were you finding it? Did you mean TOTCMDBUF?
Former Nagios employee
Locked