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...

334 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.

    • Ravi Saive says:


      I think you have login session problem, set 777 writes to /tmp folder and /var/lib/php/session. it should work.

      • 0mar says:

        Hi Ravi excellent tutorial very good I came all excellent
        ravi I have only one question?

        What I have to use user and password for logging
        please help I want to implement that service
        in my work.




        [email protected]

      • 0mar says:

        my friend thanks I’ll try it and I confirm.

        my friend nothing more I would like to do a how-to
        openvpn with linux and windows clients interested me much
        know how to configure it.

        Thanks agains ….

      • 0mar says:

        My thanks everything ok the problem was me that not read good the document.

        all ok.

        thanks, my friend very very good good how to.

    • Sahil says:

      Dear Venkat,

      Please give the new password and confirm password for cacti use.
      Hope this will be solve your issue.

  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 *