Sunday, February 10, 2013

The Easiest Way to Install Cacti on Windows

This is the easiest way to install cacti-0.8.8a in windows. Just install file cacti installer for Windows, then cacti and all the needed files will be installed automatically. Thank you who has made the cacti installer.
cacti installer windows

Below a complete description of the cacti installer. I quote from the cacti forum.

Description
I've put together an all-inclusive Windows installer for Cacti. It's been tested on Windows XP/2003/2008/Vista/7.
This is only meant for new installations where you have no existing components installed (i.e. Cacti, MySQL, Apache, etc). It installs the latest versions of all needed applications in their default locations (per the install guide), configures them, and should give you a fully functional Cacti.

This installer lets you choose between using IIS or Apache web server. It'll also install 64bit versions of MySQL, Net-SNMP, and FastCGI where applicable. Disable your anti-virus for the installer -- it runs some special scripts that configure IIS, MySQL, files and NTFS permissions. Some AV scanners block these events from occurring.

Don't forget to follow the post-install instructions and restart the server before trying to access the Cacti website! After the installer is done, you can check cacti-installer.log and the various install logs in your /cacti/log directory for errors. Lastly, to upgrade Cacti, follow this guide, since the installer is not meant for upgrading.

Known Issues
* MySQL cannot connect to server with IPv6 using hostname or IPv4 address. MySQL Bug #52381.
Release Notes
--2.01 2012-09-13
* Updated core components.

Current Versions Installed:
-Cacti 0.8.8a
--Patches:
---SNMPv3 Privilege Protocol None
-Spine 0.8.8a (x86)
-Apache 2.2.22 (x86)
-MySQL 5.5.27 (x86/x64)
-PHP 5.3.17 (x86)
-Net-SNMP 5.6.1.1 (x86/x64)
-RRDTool 1.4.5 (x86)
-GetIF 2.3.1 (x86)
 

Link download :

Noted :
MySQL 
Username: root
Password: cacti
  
Username: cactiuser
Password: cactipw
  
Cacti   
Username: admin
Password: cactipw

Source : http://forums.cacti.net/about14946.html

78 comments:

  1. Replies
    1. I successfully tested the cacti installer in windows 7 (no need to reboot) and in windows xp SP3 (need to reboot). For the other windows, I have not tried.

      Delete
  2. thanks its working, do you have installer for linux ??

    ReplyDelete
    Replies
    1. cactiez, look at here... http://myconfigure.blogspot.com/2013/02/cactiez-cacti-make-easy.html

      Delete
  3. Graphs not working, I just install the setup. Kindly help using window 7.

    ReplyDelete
    Replies
    1. could you send me the error ? paste the error here..

      Delete
  4. may cacti working but no traffic graph show only empty graph box showing

    ReplyDelete
    Replies
    1. so.. how we do, to make snmpd running back ?

      Delete
    2. if showing no traffic graph, at localhost or interface ethernet computer.. that's mean snmpd not running or no installed... in windows xp, install snmp service, like this.
      1. insert windows xp.
      2. go to control panel.
      3. click add remove programs - add/remove windows components
      4. in windows components wizard box, select Management and Monitoring Tools, click details
      5. check Simple Network Management Protocol, then click ok
      6. back to windows components wizard, click next... wait... then click finish...
      7. restart

      Delete
    3. hi..i do follow you already.. why in device , local : unknow ,??

      Delete
    4. do you mean, status localhost is unknown ???
      if you have installed snmp service, reboot... and wait 5 - 10 minutes... status should be up...
      the important is, if you click localhost... you will be find information about snmp... (not snmp error anymore) ...

      Delete
    5. yes you right. the snmp not show the error message any more. but still unknow . don't know why ? , even localhost.. thx u

      Delete
    6. one more thing , i found that, the localhost not show the snmp error , but the a new host i create show message snmp error.. ? so...

      Delete
    7. It's mean not installed snmp agent. Each node or interface to be monitored or made a chart, the SNMP agent has to be installed. What is snmp agent?. SNMP agent, tasked to collect all the information about the node / interface, then sends that information to the master SNMP (net-snmp installed automatically when installing cacti) and will be creating a chart, by a NMS (cacti)

      Delete
    8. Hi, i got same issue on the status of the device being "unknown." Graphs are marked "x" and it wont display. I have activate the snmp in my windows xp. I have added a router and same thing - no error but no graph and status unknown. I assue snmp agent of my router is working since its working from my last prtg software.

      Delete
  5. even i use administrator still have this message, this is brand new pc.

    message error :

    Error opening file for writing \cacti\Licese

    i click igore the error still continue..


    any one help me .. thx u....

    ReplyDelete
    Replies
    1. try to reinstall again,
      make sure you are using administrator, when you will install cacti.

      Delete
    2. i just install a new windows xp, use administrator account. , no antivirus , no firewall. while i'm installing i click next , next ,

      "Error Opening file for writing: \cacti\License

      ..abord , retry ,Ignore..

      the same problem .. really thx for reply..

      Delete
    3. I found solution for your problem, at http://www.lwks.com/index.php?option=com_kunena&func=view&catid=21&id=2798&limit=6&limitstart=6&Itemid=81.
      Follow this instruction :
      step 1. If you use Windows XP Professional, temporarily disable simple file sharing (if you use Windows 2000, skip this step and start with Step 2):
      1. Choose Start > My Computer.
      2. ChooseTools > Folder Options.
      3. In the Folder Options window, select the View tab.
      4. In the Advanced Settings, deselect Use Simple File Sharing.
      5. Click OK to close the Folder Options window.

      step 2. In Windows Explorer, navigate to C:\Documents And Settings.
      3. Right-click the All Users folder and select Properties.
      4. In the All Users Properties window, select the Security tab.
      5. Select Administrators under Group Or User Names. If Full Control is not selected in the Permissions list, change the access control level to Full Control.
      6. Click Advanced. Select one of the following:

      * For Windows XP Professional, select Replace Permission Entries On All Child Objects With Entries Shown Here That Apply To Child Objects
      * For Windows 2000, select Reset Permissions On All Child Objects And Enable Propagation Of Inheritable Permissions

      7. Click OK. If a Security dialog appears, click Yes to continue.
      8. Click OK to close the All Users Properties dialog box.
      9. Install Acrobat.
      10. (Windows XP Professional only) Reenable simple file sharing:
      a. Select Start > My Computer.
      b. Select Tools > Folder Options.
      c. In the Folder Options window, select the View tab.
      d. In the Advanced Settings, select Use Simple File Sharing.
      e. Click OK to close the Folder Options window.

      Because I never try this... Please your feedback...

      Delete
  6. Could any tell me ? how can i test my cacti work well or not ? step by step please thx you .so muc..

    ReplyDelete
    Replies
    1. look at http://myconfigure.blogspot.com/2013/01/monitoring-squid-with-cacti-template.html... section 6. configure cacti.

      Delete
    2. :)
      http://myconfigure.blogspot.com/2013/01/monitoring-squid-with-cacti-template.html
      please be carefull,... don't just copy and paste...

      Delete
  7. thx u so much for fast reply....now i got. it.i have one more question , if i want create a new device. the comunity : "public" right ? leave default all right.

    ReplyDelete
    Replies
    1. yes... (b'cause same as configuration default of snmp, community is public)... and as usually snmp version : version 1
      look at http://myconfigure.blogspot.com/2013/01/monitoring-squid-with-cacti-template.html... step 6. configure cacti.

      Delete
  8. HI, I am unable to view any picture on the graphs, I can download the csv which has the data but the graphs are showing as if the image is not available. Please suggest

    ReplyDelete
    Replies
    1. when I have looked at the error logs, it shows the below, seems font, rrd or permission issue. Kindly suggest.

      (rrdtool.exe:2948): Pango-WARNING **: couldn't load font "C:/WINDOWS/Fonts/VeraMono.ttf Not-Rotated 8", falling back to "Sans Not-Rotated 8", expect ugly output.
      ERROR: parameter '#002A97FF' does not represent a number in line AREA:#002A97FF:


      (rrdtool.exe:3852): Pango-WARNING **: couldn't load font "C:/WINDOWS/Fonts/VeraMono.ttf Not-Rotated 8", falling back to "Sans Not-Rotated 8", expect ugly output.
      ERROR: opening 'C:/Apache2/htdocs/cacti/rra/4/9.rrd': No such file or directory

      (rrdtool.exe:3432): Pango-WARNING **: couldn't load font "C:/WINDOWS/Fonts/VeraMono.ttf Not-Rotated 8", falling back to "Sans Not-Rotated 8", expect ugly output.
      ERROR: parameter '#FF0000FF' does not represent a number in line AREA:#FF0000FF:


      (rrdtool.exe:1936): Pango-WARNING **: couldn't load font "C:/WINDOWS/Fonts/VeraMono.ttf Not-Rotated 8", falling back to "Sans Not-Rotated 8", expect ugly output.
      ERROR: opening 'C:/Apache2/htdocs/cacti/rra/4/14.rrd': No such file or directory

      (rrdtool.exe:3108): Pango-WARNING **: couldn't load font "C:/WINDOWS/Fonts/VeraMono.ttf Not-Rotated 8", falling back to "Sans Not-Rotated 8", expect ugly output.
      ERROR: opening 'C:/Apache2/htdocs/cacti/rra/4/13.rrd': No such file or directory

      (rrdtool.exe:1188): Pango-WARNING **: couldn't load font "C:/WINDOWS/Fonts/VeraMono.ttf Not-Rotated 8", falling back to "Sans Not-Rotated 8", expect ugly output.
      ERROR: opening 'C:/Apache2/htdocs/cacti/rra/3/17.rrd': No such file or directory

      (rrdtool.exe:3588): Pango-WARNING **: couldn't load font "C:/WINDOWS/Fonts/VeraMono.ttf Not-Rotated 8", falling back to "Sans Not-Rotated 8", expect ugly output.
      ERROR: opening 'C:/Apache2/htdocs/cacti/rra/3/17.rrd': No such file or directory

      (rrdtool.exe:2724): Pango-WARNING **: couldn't load font "C:/WINDOWS/Fonts/VeraMono.ttf Not-Rotated 8", falling back to "Sans Not-Rotated 8", expect ugly output.
      ERROR: opening 'C:/Apache2/htdocs/cacti/rra/3/17.rrd': No such file or directory

      (rrdtool.exe:2916): Pango-WARNING **: couldn't load font "C:/WINDOWS/Fonts/VeraMono.ttf Not-Rotated 8", falling back to "Sans Not-Rotated 8", expect ugly output.
      ERROR: opening 'C:/Apache2/htdocs/cacti/rra/3/17.rrd': No such file or directory

      Delete
    2. What windows version do you use ?? Try to reinstall again... with user administrator.

      Delete
  9. I am also getting same above message. I am using windows 2012 Enterprise server. Please advise.


    (rrdtool.exe:2336): Pango-WARNING **: couldn't load font "D:/Windows/Fonts/VeraMono.ttf Not-Rotated 8", falling back to "Sans Not-Rotated 8", expect ugly output.
    ERROR: opening 'D:/Apache2/htdocs/cacti/rra/3/8.rrd': No such file or directory

    ReplyDelete
    Replies
    1. I think it's happened because of permission in windows server. try to reinstall with user administrator....

      Delete
  10. Works beautifully. Thank you!! I originally attempted to install each dependency using Cacti's instructions (4 pages worth) and in the end was not able to get it working. Found this page, tried your installer and works perfectly. No errors, no problems. I am now polling 5 of my routers. Thanks again for taking the time to put this together, nice work.

    Windows 7 Professional
    64bit

    ReplyDelete
  11. i want to change my user login picture and add my company name, how can i do?

    ReplyDelete
    Replies
    1. look at folder ../cacti/site/images/
      good luck....

      Delete
  12. boleh tanya? kalo graph gambarnya muncul kayak broken image gitu kenapa ya?

    ReplyDelete
  13. I'm getting following error below the device name,
    SNMP Information
    SNMP error

    please help me quickly

    ReplyDelete
  14. localhost (localhost)

    Ping Results
    ICMP ping Timed out

    in devices, double clicking on "localhost" in showing rings, why? and how to solve it? please answer me, thanks

    ReplyDelete
    Replies
    1. maybe your local area network is not detected... cek your lan driver...

      Delete
  15. it work for me. just installed today (WIndows 7 64 bits)

    ReplyDelete
  16. Flowview not working
    It says:

    Can not find the 'flow-cat' binary at '/usr/bin', please check your Flowtools Path Setting!

    Flow Tools Binary Path - /usr/bin [ERROR: DIR NOT FOUND]

    Instaled on Vista 32 bit

    ReplyDelete
  17. I'm getting following error below the device name
    SNMP Information
    SNMP error

    please help me quickly

    ReplyDelete
  18. Graph data is not showing.
    Both Inbound and Outbound traffic is showing as -

    Current: -1.#J Average -1.#j Maximum: -1#j

    ReplyDelete
  19. As per your instruction I done everything but still now not getting graph, help pls

    ReplyDelete
  20. Hi

    I also get the following

    graph data is not showing.
    Both Inbound and Outbound traffic is showing as -

    Current: -1.#J Average -1.#j Maximum: -1#j

    ReplyDelete
  21. Como levanto el servicio SNMP, a pesar de estar instalado y levantado desde el panel de control, el cacti me reporta como "Snmp Error"

    ReplyDelete
  22. Does anyone managed to use the cacti and initialize the SNMP?

    ReplyDelete
  23. Nice post...I look forward to reading more, and getting a more active part in the talks here, whilst picking up some knowledge as well..

    ReplyDelete
  24. I'm beginner. Kindly guide ME how to use it after installation completed. When I use localhost from browser to access its web interface it show simple message

    It works

    Nothing else kindly Guide ME how to use it. I have installed it.

    ReplyDelete
  25. Hy There,
    is there an installer for version 0.8.8f for windows.
    I wish to install on Win2008 R2 .
    Thanks in advance
    Bernd

    ReplyDelete
  26. I am unable to install cacti give error write failed for windows 10 , i am newbie to cacti please hlep..

    ReplyDelete
  27. error opening file for writing /cacti/license

    ReplyDelete
    Replies
    1. maybe windows 10 is not compatible for cacti

      Delete
    2. roel Im not able to download the file please help me..

      Delete
  28. Hi,

    I have installed the Cacti on windows 8.1 to monitor Cisco router and so far the CPU and interface utilization has been successfully monitored, but I can't monitor the memory usage. I have tried the template from Erica A. Hall but apparently the template doesn't support the version of Cacti mention in this blog (v 0.8.8a).

    Can you help me where I can the Cisco Memory template for Cacti v0.8.8a?

    Thanks in advance.


    Best regards,
    Yedi

    ReplyDelete
  29. I wanted to tell everyone to try www.cdekey.com. I haven't found a better place then there's to buy software and license keys from.

    ReplyDelete
  30. Hi, i install cacti on my windows enterprise 2008 to monitor Cisco routers and switches. I found Syslog add on so I simply install and activate this add-on from Cacti Web Interface, now I'm having syslog tab but its completely empty - no event and no hosts

    ReplyDelete
  31. aaaaaaaaand ... it's gone.

    ReplyDelete
  32. gr8 tutorial.
    visit his website
    http://prodevelopertutorial.blogspot.in/2016/08/how-to-install-apache-server-mysql-and-php-on-window.html

    ReplyDelete
  33. I have been using Kaspersky security for many years now, and I'd recommend this product to all you.

    ReplyDelete
  34. i have installed the cacti but not getting the graph can any help on this

    ReplyDelete
  35. can anyone tested this cacti software for the GPON ONU traffic

    ReplyDelete
  36. Really a great blog shared here with us to remain healthy and fit. Blog is so informative for fitness.Thanks for such a useful blog. Visit: Network Installation

    ReplyDelete
  37. Dear Sir/Madam,
    I cannot add and configure the Devices and Network in Cacti 1.1.9 for Windows 10 64 bit.
    Please show me how to use for this Cacti 1.1.9 or manual book for the addition and configuration of Devices and Network. Thanks so much.
    Mr.Aung
    aunghtoolinn@mmbbank.com.mm
    www.mmbbank.com.mm

    ReplyDelete
  38. what is the licensing cost of cacti

    ReplyDelete
  39. It is possible upgrade to last version?

    ReplyDelete
  40. Graph updating past 12 hours,not showing present Graph,ple help

    ReplyDelete
  41. Good day,

    great tutorial. The graph is working fine.

    Could you please share some guideline for us to install weather-map (plugin) ?

    ReplyDelete
  42. HI Mr Aung did you get this working on Win 10 ?

    ReplyDelete
  43. how can i use in windows . i installed the 1.2.8 version but still not working

    ReplyDelete
  44. Download link is not working...

    ReplyDelete
  45. Website uptime monitoring service
    Check if you site is online and get notified by email, telegram or custom requests, when it is getting offline.

    ReplyDelete