Page 1 of 1

nagiostats 4.0.4 bug?

Posted: Fri Mar 21, 2014 8:09 am
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< ----------

Re: nagiostats 4.0.4 bug?

Posted: Fri Mar 21, 2014 10:00 am
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.

Re: nagiostats 4.0.4 bug?

Posted: Fri Mar 21, 2014 10:30 am
by jiikoo
Ok. Thx!

Re: nagiostats 4.0.4 bug?

Posted: Fri Mar 21, 2014 10:40 am
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?