Nagios XI 2014R1.1 MRTG Graphs not working

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
SDK
Posts: 45
Joined: Wed Mar 21, 2012 4:23 pm

Nagios XI 2014R1.1 MRTG Graphs not working

Post by SDK »

Hello Nagios support,

i have updated from 2012R2.9 to 2014R1.1 without problems.

All perfgraphs are working properly except the MRTG Bandwidth graphs for all switches in our environment.

Working Ping Graph for the switch:
Ping_Work.png
Not working Bandwidth:
Bandwidth not working.png
The check itself runs without a problem only the graphs are not updated:
Check.png
The rrd files under /var/lib/mrtg get updated correctly. I checked the service-perfdata file and the performance data for the Port Bandwidth is recorded in them. I suspect that the processing for this specific type of perfdata is
not working correctly since all other perfdata graphs are working fine.

Any suggestion?

Thanks

SDK
You do not have the required permissions to view the files attached to this post.
SDK
Posts: 45
Joined: Wed Mar 21, 2012 4:23 pm

Re: Nagios XI 2014R1.1 MRTG Graphs not working

Post by SDK »

Seems i found the error myself,

the check_rrdtraf srcipt has a bug in it ,when you are using "B" label for the Bandwidth

Code: Select all

set_label(){
case $2 in
    B | b)
        LABEL=" "
        DIV="1"
        ;;
     K | k)   
        LABEL="K"
        DIV="1000"
        ;;
I corrected this issue

Code: Select all

set_label(){
case $2 in
    B | b)
        LABEL="B"
        DIV="1"
        ;;
    K | k)   
        LABEL="K"
        DIV="1000"
        ;;
With the update the plugin was overwritten hence the label was missing and the graphs not updated. It seems I have missed this in my documentation :?

You can lock this thread up.

Thanks
Locked