Page 1 of 1

rrd does not exists in CentOS 7

Posted: Thu Jun 25, 2015 11:47 am
by prasadt
Dear Team,

We have installed latest Nagios XI 2014R2.7 2 days back in one of our client place on CentOS 7.

After configuring Switch we are facing issue with bandwidth utilization.
SnapCrab_NoName_2015-6-25_22-11-18_No-00.png
But after checked on sites lot we have installed another CentOS 6.5 and installed NagiosXI now its working fine with switch bandwidth utilization.
SnapCrab_NoName_2015-6-25_22-9-7_No-00.png
Please provide solution for CentOS 7 so that we can continue all switches on it.

Thanks in advance

Re: rrd does not exists in CentOS 7

Posted: Thu Jun 25, 2015 12:54 pm
by tgriep
Can you verify that the crond daemon is running?

Code: Select all

service crond status
Can you run the following and post the output here?

Code: Select all

ls -l /etc/cron.d/
ll /etc/mrtg/conf.d
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lock/mrtg/mrtg_l

Re: rrd does not exists in CentOS 7

Posted: Thu Jun 25, 2015 1:18 pm
by prasadt
Hi tgriep,

Thanks for prompt reply->

As you asked please check the attached screenshot.
SnapCrab_root@localhost~_2015-6-25_23-46-18_No-00.png
Note: As i checked we do not have any rrd file creating in /var/lib/mrtg/ folder...

Re: rrd does not exists in CentOS 7

Posted: Thu Jun 25, 2015 1:41 pm
by tgriep
It looks like the mrtg file in the /etc/cron.d folder isn't there.
Create a file called mrtg in/etc/cron.d and add the following.

Code: Select all

*/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
Save the file and restart crond by running

Code: Select all

service crond restart
In about 15 minutes, those files will be created and populated with data.

What version of Nagios XI are you running?

Re: rrd does not exists in CentOS 7

Posted: Thu Jun 25, 2015 2:18 pm
by prasadt
Hi tgriep,

We are using Nagios XI 2014R2.7.....

I will update you soon regarding graph and rrd file in CentOs 7

Re: rrd does not exists in CentOS 7

Posted: Thu Jun 25, 2015 2:31 pm
by prasadt
Hi tgriep,

As i have checked, Nagios XI 2014R2.7 is having issue with CentOS 7. can we consider it as a bug.

As you have suggested, All is working fine now. Thanks a lot

You can close this ...

Thanks Sir :) :) :) :)

Re: rrd does not exists in CentOS 7

Posted: Thu Jun 25, 2015 2:34 pm
by lmiltchev
Yes, it is a bug. I will be posting an internal bug report if tgriep hasn't done it already. I am locking this topic.