interface bandwidth service reporting .rrd missing

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Atria
Posts: 45
Joined: Wed Aug 26, 2015 11:31 am

Re: interface bandwidth service reporting .rrd missing

Post by Atria »

I sent you a PM with details.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: interface bandwidth service reporting .rrd missing

Post 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.
Atria
Posts: 45
Joined: Wed Aug 26, 2015 11:31 am

Re: interface bandwidth service reporting .rrd missing

Post 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.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: interface bandwidth service reporting .rrd missing

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
Atria
Posts: 45
Joined: Wed Aug 26, 2015 11:31 am

Re: interface bandwidth service reporting .rrd missing

Post by Atria »

That command comes back blank, even without being piped to tail.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: interface bandwidth service reporting .rrd missing

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
Atria
Posts: 45
Joined: Wed Aug 26, 2015 11:31 am

Re: interface bandwidth service reporting .rrd missing

Post 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
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: interface bandwidth service reporting .rrd missing

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
Atria
Posts: 45
Joined: Wed Aug 26, 2015 11:31 am

Re: interface bandwidth service reporting .rrd missing

Post 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 
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: interface bandwidth service reporting .rrd missing

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked