Install Cacti (Network Monitoring) on RHEL/CentOS 7.x/6.x/5.x and Fedora 21-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 course in 5 Days

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

Advanced Bash-Scripting Guide
Linux Bible
A Newbie's Getting Started Guide to Linux
Introduction to Linux - A Hands on Guide

You may also like...

248 Responses

  1. Volkan says:

    Hi. I make what is missing?
    Images do not appear :/

    • Ravi Saive says:


      Thanks for sharing the screenshot, I think it’s due to SELinux, could you disable it and check again?

      • Volkan says:

        Thank you Ravi. I could not find a solution, and erased everything :D Now I’ll try to install again. (CentOS 6.8 64BIT)

        • Ravi Saive says:


          Good luck, and make sure to follow instructions carefully, if you stuck somewhere around while installing Cacti, do comment here, I will love to help you out..

          • Volkan says:

            Thank you Ravi. I found my mistake.;
            #*/5 * * * * cacti /usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1
            I delete the # sign :D
            Now it is running smoothly.
            I’ll try to build add-ons. (plugins)

          • Ravi Saive says:


            I am glad that finally you found the mistake yourself and corrected, good luck for rest of things..

  2. Dennis says:

    HI Ravi,

    Just want to know why my graph all show “rrd file does not exist”?

    • Ravi Saive says:


      Please let me know what’s the group:owner permission of rrd files and directory? it should be apache:apache to function properly..

      • Dennis says:

        [root@hpdcentos3 ~]# ls -l /usr/share | grep rrd
        drwxr-xr-x. 2 root root 6 Nov 21 2015 rrdtool
        [root@hpdcentos3 ~]# ls -l /usr/share/cacti/lib | grep rrd
        -rw-r–r–. 1 root root 91557 Feb 8 03:26 rrd.php

        • Ravi Saive says:


          It should be user/group apache, change the rrd directory and files ownership to apache recursively as shown

          # chown -R apache:apache path-to-rrd-directory
  3. Nick says:

    what is the cacti user password?

  4. Gabriel says:

    After installing and doing all the steps of the guide I go to my cacti page and see just a blank page. Please your help I’m trying to install this server for 2 weeks now.


    • Ravi Saive says:


      Sorry to hear that, may I know on which Linux distributions you’re trying? and you’ve followed cacti installation instructions correctly, could you give a try again? or else give me access to your server, let me setup for you for free.

  5. Plaza says:

    I followed all the steps and all I see is a blank page, please your help with this.

    • Ravi Saive says:


      Please let me know on which Linux distributions you’re trying to install cacti? have you installed all required packages correctly?

  6. trongtrong says:

    hi, t have error “SNMP ERROR” when t try “add new device”, pls help me fix this

Got something to say? Join the discussion.

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

Join Over 150K+ Linux Users
  1. 100,756
  2. 5,113
  3. 36,418

Enter your email to get latest Linux Howto's