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
Nagios XI 5.4 missing rrd files
Re: Nagios XI 5.4 missing rrd files
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?
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/
https://www.mcapra.com/
Re: Nagios XI 5.4 missing rrd files
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
[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
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
/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
do you have the following install?
Code: Select all
yum install rrdtool-perl -yRe: Nagios XI 5.4 missing rrd files
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!
What steps do I need to do now to fix the missing rrd files?
Thanks!
Re: Nagios XI 5.4 missing rrd files
Actually, that is all it took. I see the bandwidth green now.
Thanks!
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
Excellent.dflick wrote:Actually, that is all it took. I see the bandwidth green now.
Thanks!
Glad it is resolved!