rrd does not exists in CentOS 7

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
prasadt
Posts: 25
Joined: Wed Sep 24, 2014 1:18 am

rrd does not exists in CentOS 7

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: rrd does not exists in CentOS 7

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
prasadt
Posts: 25
Joined: Wed Sep 24, 2014 1:18 am

Re: rrd does not exists in CentOS 7

Post 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...
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: rrd does not exists in CentOS 7

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
prasadt
Posts: 25
Joined: Wed Sep 24, 2014 1:18 am

Re: rrd does not exists in CentOS 7

Post by prasadt »

Hi tgriep,

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

I will update you soon regarding graph and rrd file in CentOs 7
prasadt
Posts: 25
Joined: Wed Sep 24, 2014 1:18 am

Re: rrd does not exists in CentOS 7

Post 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 :) :) :) :)
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: rrd does not exists in CentOS 7

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