Windows Installer [Cacti 1.2.8] [Updated 2019-1-10]

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Moderators, Developers

Post Reply
Author
Message
Spadge
Posts: 5
Joined: Thu Sep 19, 2019 11:26 am

Re: Windows Installer [Cacti 1.2.5] [Updated 2019-07-18]

#991 Post by Spadge » Tue Sep 24, 2019 5:58 am

Hey there

New user to cacti, I have some nix experience but I wanted to go down the route of using a Windows system just for ease.

I have tried this on a Windows 10 machine and a Server 2012 R2 VM.

When I installed Cacti on the windows 10 machine, i was able to get to the point of the cacti install web page, unfortuntely the required php plugin modules were not showing up, No matter what i did I was unable to resolve this issue, i followed the github links and checked over the env variables and such.

At that point i decided to move onto a 2k12 R2 VM. I setup the system and dropped cacti on, this time I have been unable to get the MySQL server running as it refuses connections, when trying to run mysqld it began complaining about missing DLLs.

Are there any pre requisites im missing from the 2k12 vm or is there a recommended OS that i need to use?

Thanks!

netniV
Cacti Guru User
Posts: 3131
Joined: Sun Aug 27, 2017 12:05 am

Re: Windows Installer [Cacti 1.2.5] [Updated 2019-07-18]

#992 Post by netniV » Tue Sep 24, 2019 7:03 pm

Are you using the supplied Windows installer as that normally takes care of it all?

Spadge
Posts: 5
Joined: Thu Sep 19, 2019 11:26 am

Re: Windows Installer [Cacti 1.2.5] [Updated 2019-07-18]

#993 Post by Spadge » Tue Oct 01, 2019 7:55 am

Yep, i even tried running the 1.2.3 installer from the archive on the FTP as i saw a few entries in this threat or possibly a search result that said there were issues with the 1.2.5 installer and MySQL 5.7

I will try again on a fresh image of a VM, is there a particular OS that is recommended?

Thanks

netniV
Cacti Guru User
Posts: 3131
Joined: Sun Aug 27, 2017 12:05 am

Re: Windows Installer [Cacti 1.2.5] [Updated 2019-07-18]

#994 Post by netniV » Tue Oct 01, 2019 5:40 pm

Not really, I run most of my servers on Linux with a variety of CentOS or Ubuntu.

Mehrdad
Posts: 1
Joined: Sat Oct 05, 2019 5:31 am

Re: Windows Installer [Cacti 1.2.5] [Updated 2019-07-18]

#995 Post by Mehrdad » Sat Oct 05, 2019 5:47 am

Hi BSOD2600

I installed the latest version of cacti "Windows Installer [Cacti 1.2.5] [Updated 2019-07-18]" and added a switch to the device, But the graph is not shown,
I also encountered this message in "Rebuild Poller Cache". Could this be a problem?
Can you guide me?

Os: windows server 2016 64bit
Attachments
cacti2.jpg
cacti2.jpg (410.94 KiB) Viewed 847 times
cacti.jpg
cacti.jpg (243.04 KiB) Viewed 847 times

Spadge
Posts: 5
Joined: Thu Sep 19, 2019 11:26 am

Re: Windows Installer [Cacti 1.2.5] [Updated 2019-07-18]

#996 Post by Spadge » Tue Oct 08, 2019 6:42 am

Mehrdad, I found after the fresh install that the poller would not run, you need to ideally change the scheduled task to run at system startup and every 5 minutes indefinitely, this resolved my problem.

Just to update others, I have been able to get my install of Cacti running, however I am running into a problem with the syslog plugin.

I have changed the config.php file to include my cactiuser password and the syslog plugin installs and enables fine.

However, the sonicwall I am trying to use syslogging for cannot connect. When running Netstat, i do not see any ports open for 514/541 (cant remember which it is :P)

I have uninstalled and reinstalled the plugin a couple of times but sadly i do not get a listener on the port no matter what i do, Can anyone point me in the right direction?

netniV
Cacti Guru User
Posts: 3131
Joined: Sun Aug 27, 2017 12:05 am

Re: Windows Installer [Cacti 1.2.5] [Updated 2019-07-18]

#997 Post by netniV » Tue Oct 08, 2019 6:00 pm

the syslog plugin reads from its database table to import the records. however, you still need a syslog server that will populate said table such as rsyslogd.

Spadge
Posts: 5
Joined: Thu Sep 19, 2019 11:26 am

Re: Windows Installer [Cacti 1.2.5] [Updated 2019-07-18]

#998 Post by Spadge » Wed Oct 09, 2019 6:41 am

netniV wrote:
Tue Oct 08, 2019 6:00 pm
the syslog plugin reads from its database table to import the records. however, you still need a syslog server that will populate said table such as rsyslogd.
Welp... that makes sense :D

I shall get that bodged on and hopefully this will be the end of this windows engineers silly questions :D

Spadge
Posts: 5
Joined: Thu Sep 19, 2019 11:26 am

Re: Windows Installer [Cacti 1.2.5] [Updated 2019-07-18]

#999 Post by Spadge » Thu Oct 10, 2019 5:17 am

Welp! it didn't go as planned as the windows version of rsyslog is just an agent and not a syslog server, i can't seem to find a link for the enterprise version which there is a charge for..

So, i have downloaded kiwi's syslogd and thats working great on accepting the syslog data from a particular firewall that is having issues. HOWEVER, i am not able to setup the forward or log straight to the database.

Looking through the documentation, most of this is linux based and not of much help sadly.

I can confirm that the syslog plugin is interacting with the database as when i query the tables pre and post install, i can see the syslog tables within the cacti DB.

Am i supposed to be setting up a rule from within the syslogd server to forward either to a new host or direct to the DB?
In the case of the DB, what settings should I use as I am unable to get a connection to the DB at all, i can see the DB listening on 3306 however.

Thanks again

netniV
Cacti Guru User
Posts: 3131
Joined: Sun Aug 27, 2017 12:05 am

Re: Windows Installer [Cacti 1.2.5] [Updated 2019-07-18]

#1000 Post by netniV » Thu Oct 10, 2019 10:50 am

The syslog daemon should be posted into incoming table of syslog. rsyslog has that built into it on linux, but I've never seen someone using it on windows to know what the equivalent on there is.

yagocordoba
Posts: 1
Joined: Thu Oct 24, 2019 2:43 pm

Re: Windows Installer [Cacti 1.2.5] [Updated 2019-07-18]

#1001 Post by yagocordoba » Thu Oct 24, 2019 2:46 pm

Hi all
I want to back up our Cacti server and I have a couple of questions. our backup software takes an initial copy of the data and then does differential data (the vendor calls this delta) with each scheduled snapshot. Since Cacti has its own SQL database is there a plugin or agent that needs to be evoked before the scheduled snapshot? Taking the snapshot while the database is active would give an unreliable or failed backup nor do I want to risk corrupting the production database. We are running Cacti off a Virtual Windows Server 2019. Can a scheduled backup from within Cacti be scheduled? Again, my biggest concern is for the snapshot and backup of data doesn't happen while the Database is in use. The backup window is usually about 20 mins; ideally, I would like for the database transactions to stop just before the snapshot is taken. The backup method takes a snapshot of the whole partition to allow for a complete recovery.
Can you please let me know the important files that need to be backed up for Windows system?

Thank you in advance for your help in this matter.

User avatar
RaduAlexandru
Posts: 43
Joined: Mon Mar 28, 2005 5:06 pm
Location: Bucharest, Romania
Contact:

Re: Windows Installer [Cacti 1.2.5] [Updated 2019-07-18]

#1002 Post by RaduAlexandru » Sat Oct 26, 2019 11:05 am

yagocordoba wrote:
Thu Oct 24, 2019 2:46 pm
[...] Since Cacti has its own SQL database [...]
Do you mean, you have a database on a separate machine (be it a VM or a physical one) or you run the database server on the same VM?
yagocordoba wrote:
Thu Oct 24, 2019 2:46 pm
ideally, I would like for the database transactions to stop just before the snapshot is taken
Well, you still have to consider the RRD files, where the data is actually stored.

Now regarding Cacti, I am not aware of a way to trigger events when the poller finishes. Maybe in the new SNMP Agent Support Enabled?

One "hack-y" way would be to schedule the snapshot in a "time window" in such a way that the poller has time to finish and the snapshot has time to finish before the next polling interval starts. So, the safest way would be start the snapshot at polling_interval - snapshot_time - margin_of_error. And this should be after max_polling_time + margin_of_error.

Disclaimer: I am not an expert, nor have I had the time or opportunity to test what I stated above.

PBMA
Posts: 3
Joined: Mon Nov 04, 2019 6:01 am

It is impossible to download the link.

#1003 Post by PBMA » Mon Nov 04, 2019 6:45 am

Hello,

I can't download the forum package below:
viewtopic.php?f=3&t=14946&sid=64015c9f5 ... c1a6cda884

The download link is this one:
https://www.cacti.net/downloads/package ... -1.2.7.exe

Is it possible to publish a new download link?

Best Regards,


IntegrinetJoe
Posts: 1
Joined: Mon Nov 04, 2019 3:01 pm

Re: Windows Installer [Cacti 1.2.7] [Updated 2019-11-02]

#1005 Post by IntegrinetJoe » Mon Nov 04, 2019 3:08 pm

Good afternoon. I've been banging my head against the wall trying to install Cacti for a couple of weeks now. I'd love to try the installer but I get a page not found error when trying to download it. Please help!

Thank you!

Post Reply