Nagios XI 5.4 missing rrd files

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dflick
Posts: 72
Joined: Tue Nov 12, 2013 3:16 pm

Nagios XI 5.4 missing rrd files

Post by dflick »

Added all devices with router/switch wizard and I get no performance graphs and the interfaces show bandwidth rrd files as not found.

[root@dfmco-mon1 ~]# ls -l /var/lib/mrtg
total 0
-rw-r--r-- 1 root root 0 Jul 26 20:10 mrtg.lock
-rw-r--r--. 1 root root 0 Jul 13 23:50 mrtg.ok
[root@dfmco-mon1 ~]# LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
ERROR: could not find RRDs.pm. Use LibAdd: in mrtg.cfg to help mrtg find RRDs.pm
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Nagios XI 5.4 missing rrd files

Post by mcapra »

It takes anywhere from 10-15 minutes after first running the wizard for those RRDs to properly populate.

If you're still experiencing this issue, do you see all relevant IPs/Ports in /etc/mrtg/mrtg.cfg?
Former Nagios employee
https://www.mcapra.com/
dflick
Posts: 72
Joined: Tue Nov 12, 2013 3:16 pm

Re: Nagios XI 5.4 missing rrd files

Post by dflick »

It has been a week.
[root@dfmco-mon1 ~]# cat /etc/mrtg/mrtg.cfg
######################################################################
# Multi Router Traffic Grapher -- Example Configuration File
######################################################################
# This file is for use with mrtg-2.0
#
# Note:
#
# * Keywords must start at the begin of a line.
#
# * Lines which follow a keyword line which do start
# with a blank are appended to the keyword line
#
# * Empty Lines are ignored
#
# * Lines starting with a # sign are comments.

# Where should the logfiles, and webpages be created?

# Minimal mrtg.cfg
#--------------------

HtmlDir: /var/www/mrtg
ImageDir: /var/www/mrtg
LogFormat: rrdtool
LogDir: /var/lib/mrtg
ThreshDir: /var/lib/mrtg
WorkDir: /var/lib/mrtg
Forks: 4
EnableSnmpV3: yes

Include: conf.d/*.cfg

EnableSNMPv3: yes
[root@dfmco-mon1 ~]# ls /etc/mrtg/conf.d/
10.200.1.174.cfg 10.200.1.190.cfg 10.255.0.1.cfg 10.255.0.2.cfg 10.255.0.3.cfg 10.255.0.4.cfg 10.255.0.5.cfg 10.255.0.6.cfg 10.255.0.7.cfg 10.255.0.8.cfg
dflick
Posts: 72
Joined: Tue Nov 12, 2013 3:16 pm

Re: Nagios XI 5.4 missing rrd files

Post by dflick »

The error in the GUI for ALL Bandwidth entries is similar to:
/var/lib/mrtg/10.200.1.174_4.rrd does not exist.

And If I look into that directory, there are no rrd files at all:

[root@dfmco-mon1 ~]# ls /var/lib/mrtg/
mrtg.lock mrtg.ok
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios XI 5.4 missing rrd files

Post by scottwilkerson »

do you have the following install?

Code: Select all

yum install rrdtool-perl -y
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
dflick
Posts: 72
Joined: Tue Nov 12, 2013 3:16 pm

Re: Nagios XI 5.4 missing rrd files

Post by dflick »

It was not installed. It is installed now. Why was that not installed as a dependency from the Nagios package? I installed Nagios using your rpm repository.

What steps do I need to do now to fix the missing rrd files?

Thanks!
dflick
Posts: 72
Joined: Tue Nov 12, 2013 3:16 pm

Re: Nagios XI 5.4 missing rrd files

Post by dflick »

Actually, that is all it took. I see the bandwidth green now.

Thanks!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios XI 5.4 missing rrd files

Post by scottwilkerson »

dflick wrote:Actually, that is all it took. I see the bandwidth green now.

Thanks!
Excellent.

Glad it is resolved!
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked