Install Cacti (Network Monitoring) on RHEL/CentOS 7.x/6.x/5.x and Fedora 24-12

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Use our Linode referral link if you plan to buy VPS (it starts at only $10/month).
  4. Support us via PayPal donate - Make a Donation
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Ravi Saive

I am Ravi Saive, creator of TecMint. A Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux. Follow Me: Twitter, Facebook and Google+

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

Receive Your Free Complimentary eBook NOW! -

Download Free Linux eBooks

Linux BASH Programming Cookbook
Getting Started with Ubuntu 16.04
A Newbie's Getting Started Guide to Linux
Introduction to Linux - A Hands on Guide

You may also like...

299 Responses

  1. Aun Ali says:

    Dear Ravi,

    Hope you are fine. I have installed cacti as per your guide and I have then added Localhost in devices and template of load average, I am getting NAN value in graphs, should i wait for 24 hours to get it to poll ??

    I have disabled SElinux and run this command as you told (php /usr/share/cacti/poller.php), I hope for your usual support..

    • Ravi Saive says:


      Yes, I am find, hope you too as well, yes you should wait at least 24 hours after running poller.php script to gather data and generate report using graphs..

  2. Aun Ali says:

    Hi Ravi,

    I get Http Error 500 when i go http://serverip/cacti…please help

    • Ravi Saive says:


      It seems your Cacti installation was not successful, I suggest you to follow instructions carefully and step-by-step to avoid any issues..

  3. pranil more says:

    Please provide configure guide in network monitor tool for cacti.

  4. Ali Cuesta says:

    Assalamu ‘alaikum wa rahmatullahi wa barakatuh​.

    Dear Ravi,

    I really appreciated your effort doing this. I have only one problem encountered which is [ERROR: FILE NOT FOUND] /usr/share/cacti/log/cacti.log.
    Would you please advise if I have to create manually the cacti.log file. Thank you very much in advance.

    Kind regards,

  5. Cvaa says:

    I have been trying to install cacti monitoring tools for one of our internal server, unforfunalty im facing this issue while the installation process going on..

    Step: Install Cacti Tables to MySQL

    # /usr/share/doc/cacti-0.8.8b/cacti.sql

    [root@localhost ~]# mysql -u cacti -p cacti < /usr/share/doc/cacti-0.8.8b/ cacti.sql
    -bash: /usr/share/doc/cacti-0.8.8b/: No such file or directory

    What could be the issue for the above step?

    • Ravi Saive says:


      The error is self explanatory, the file cacti.sql doesn’t exist on the specified location, do you see the file under /usr/share/doc/cacti-0.8.8b/ directory?

  6. Chris Led says:


    Can you ping me offline to discuss the issue I am having?

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

Join Over 300K+ Linux Users
  1. 177,942
  2. 8,310
  3. 37,548

Are you subscribed?