Page 1 of 1
Nagios XI 5.4 missing rrd files
Posted: Thu Jul 26, 2018 8:15 pm
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
Re: Nagios XI 5.4 missing rrd files
Posted: Fri Jul 27, 2018 9:04 am
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?
Re: Nagios XI 5.4 missing rrd files
Posted: Fri Jul 27, 2018 9:41 am
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
Re: Nagios XI 5.4 missing rrd files
Posted: Fri Jul 27, 2018 10:22 am
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
Re: Nagios XI 5.4 missing rrd files
Posted: Fri Jul 27, 2018 10:40 am
by scottwilkerson
do you have the following install?
Re: Nagios XI 5.4 missing rrd files
Posted: Fri Jul 27, 2018 11:05 am
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!
Re: Nagios XI 5.4 missing rrd files
Posted: Fri Jul 27, 2018 11:09 am
by dflick
Actually, that is all it took. I see the bandwidth green now.
Thanks!
Re: Nagios XI 5.4 missing rrd files
Posted: Fri Jul 27, 2018 12:09 pm
by scottwilkerson
dflick wrote:Actually, that is all it took. I see the bandwidth green now.
Thanks!
Excellent.
Glad it is resolved!