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. Get your own self-hosted blog with a Free Domain at ($3.95/month).
  4. Become a Supporter - Make a contribution via PayPal
  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.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

331 Responses

  1. Abbas says:

    Well, I did not notice the default ones
    Thanks man :)
    I have logged in

  2. Abbas says:

    Ravi,its done,
    I was using localhost/cacti so I changed to use my-local-IP/cacti and edited my proxy settings

    1 more question for now
    which username and password I must use

  3. Abbas says:

    I have tried that this moment, but still the same error
    is there any service that should be restarted upon this config ?

  4. Abbas says:

    Hey , Really great instruction installing cacti.However I am facing a little problem.
    When I reach to the point of Running cacti installer set up I get the following error:


    You don’t have permission to access /cacti on this server.
    Apache/2.2.15 (CentOS) Server at localhost Port 80

    P.S : I am new at unix

    • Ravi Saive says:


      Did you added Allow from in /etc/httpd/conf.d/cacti.conf file to allow access to localhost?

      Alias /cacti /usr/share/cacti
      <Directory /usr/share/cacti/>
      Order Deny,Allow
      Deny from all
      Allow from PC_IP_Address

      After that, restart httpd service. It will fix the problem.

      service httpd start 
  5. robert says:

    Can anyone help me in setting up a cacti for monitor only my network devices. Please if any one could be me with the commands and the interface also. Console screen

  6. Ehsan says:

    Thank you Very much . I have configured Cacti with out any error.

  7. Venkat says:


    I have installed cacti in CentOS. Currently, the installation was successful, but it is not allowing me to go to the next screen after login. After I give admin/admin, the page is getting refreshed and its not moving to the next screen, where we can see the “force password change” page. Please help in giving some solution to it.

  8. g3 says:

    Great Instructions!!!! Do you have anyting on adding plugins like routerconfigs or realtime

  9. jon says:

    thanks for the tutorial bro ; )

  10. Before step “Running Cacti Installer Setup” you need to open for HTTP in IPTABLES firewall….

    nano /etc/sysconfig/iptables

    Add the following:

    -A INPUT -m state –state NEW -m tcp -p tcp –dport 80 -j ACCEPT

    and restart IPTABLES:

    service iptables restart

Got something to say? Join the discussion.

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