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

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: 2882
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: 2882
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 226 times
cacti.jpg
cacti.jpg (243.04 KiB) Viewed 226 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: 2882
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: 2882
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.

Post Reply