Page 2 of 3

Re: interface bandwidth service reporting .rrd missing

Posted: Fri Sep 11, 2015 12:58 pm
by Atria
I sent you a PM with details.

Re: interface bandwidth service reporting .rrd missing

Posted: Fri Sep 11, 2015 1:05 pm
by ssax
Ok, I've sent the request to sales to have them add that email as well. I'll respond in the ticket once it's been added.

Re: interface bandwidth service reporting .rrd missing

Posted: Mon Sep 14, 2015 7:57 am
by Atria
I've tried responding to the email twice now and it's been rejected each time. Lets just continue this support issue from the forum and close out the email ticket. As far as the remote session goes Tuesday at 1pm CDT should work just fine.

Re: interface bandwidth service reporting .rrd missing

Posted: Mon Sep 14, 2015 9:48 am
by tgriep
Can you run the following on the Nagios system and post back the output?

Code: Select all

grep mrtg /var/log/cron |tail -10

Re: interface bandwidth service reporting .rrd missing

Posted: Mon Sep 14, 2015 9:59 am
by Atria
That command comes back blank, even without being piped to tail.

Re: interface bandwidth service reporting .rrd missing

Posted: Mon Sep 14, 2015 10:32 am
by tgriep
Seems like cron is not processing the mrtg file. Can you run the following and post back?

Code: Select all

ls -l /etc/cron.d
cat /etc/cron.d/mrtg
cat /etc/cron.d/nagiosxi

Re: interface bandwidth service reporting .rrd missing

Posted: Mon Sep 14, 2015 10:34 am
by Atria
Results as follows

Code: Select all

ls -l /etc/cron.d
total 24
-rw-r--r--. 1 root root  128 Jun  9  2014 0hourly
-rwxr-xr-x  1 root root  139 Sep 10 13:41 mrtg
-rw-r--r--. 1 root root 1488 Aug 21 14:17 nagiosxi
-rw-r--r--. 1 root root  108 Mar 10  2014 raid-check
-rw-r--r--. 1 root root  235 Jun  9  2014 sysstat
-rw-r--r--. 1 root root  187 Jan 27  2014 unbound-anchor
[root@frack libexec]# cat /etc/cron.d/mrtg
*/5 * * * * root LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lock/mrtg/mrtg_l --confcache-file /var/lib/mrtg/mrtg.ok
[root@frack libexec]# cat /etc/cron.d/nagiosxi
# /etc/cron.d/nagiosxi: crontab fragment for nagiosxi

# Backup MySQL & PostgreSQL Databases
0   7 * * * root   /root/scripts/automysqlbackup
0   8 * * * root   /root/scripts/autopostgresqlbackup

*   * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php > /usr/local/nagiosxi/var/sysstat.log 2>&1
*   * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php > /usr/local/nagiosxi/var/cmdsubsys.log 2>&1
*   * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php > /usr/local/nagiosxi/var/eventman.log 2>&1
*   * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php > /usr/local/nagiosxi/var/feedproc.log 2>&1
*   * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php > /usr/local/nagiosxi/var/perfdataproc.log 2>&1
*   * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/nom.php > /usr/local/nagiosxi/var/nom.log 2>&1
*   * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/reportengine.php > /usr/local/nagiosxi/var/reportengine.log 2>&1
*/5 * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/dbmaint.php > /usr/local/nagiosxi/var/dbmaint.log 2>&1
*   * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/cleaner.php > /usr/local/nagiosxi/var/cleaner.log 2>&1
01  * * * * nagios /usr/local/nagiosxi/cron/recurringdowntime.pl > /usr/local/nagiosxi/var/recurringdowntime.log 2>&1
*/5 * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/deadpool.php > /usr/local/nagiosxi/var/deadpool.log 2>&1

Re: interface bandwidth service reporting .rrd missing

Posted: Mon Sep 14, 2015 10:57 am
by tgriep
Try and install the perl-Exporter module.

Code: Select all

yum install perl-Exporter -y
If it says it is installed, reinstall it with this command.

Code: Select all

yum reinstall perl-Exporter -y
Also, lets check id the net-snmp software is installed. Run the following and post back.

Code: Select all

yum list installed |grep net-snmp

Re: interface bandwidth service reporting .rrd missing

Posted: Mon Sep 14, 2015 12:04 pm
by Atria
Reinstall of the perl module is complete. below is the result for the net-snmp list

Code: Select all

[root@frack libexec]# yum list installed |grep net-snmp
net-snmp.x86_64                        1:5.7.2-20.el7_1.1              @updates 
net-snmp-agent-libs.x86_64             1:5.7.2-20.el7_1.1              @updates 
net-snmp-libs.x86_64                   1:5.7.2-20.el7_1.1              @updates 
net-snmp-utils.x86_64                  1:5.7.2-20.el7_1.1              @updates 

Re: interface bandwidth service reporting .rrd missing

Posted: Mon Sep 14, 2015 12:57 pm
by tgriep
It looks like you are missing the net-snmp-perl and net-snmp-devel modules. Run the following to install it.

Code: Select all

yum install net-snmp-perl net-snmp-devel -y
When it is installed, run the following and if it comes back without any errors, wait 20 minutes to see if the graphs start to populate.

Code: Select all

LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lock/mrtg/mrtg_l