Windows All-In-One Installer [Cacti 1.2.24] [Updated 2023-03-09]

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

Moderators: Developers, Moderators

Post Reply
tsimmons
Posts: 4
Joined: Wed Apr 08, 2009 12:22 pm

Re: Windows Installer [Cacti 1.2.15] [Updated 2020-11-03]

Post by tsimmons »

I had been building Spine myself for a while but noticed the most recent (1.2.16) errors during

Code: Select all

$ make
...SNIP...
/bin/sh ./libtool --tag=CC   --mode=link gcc  -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2  -L/usr/lib -L/usr/lib  -o spine.exe sql.o spine.o util.o snmp.o locks.o poller.o nft_popen.o php.o ping.o keywords.o error.o  -lnetsnmp -lmysqlclient -lm -ldl -lmysqlclient -lm -ldl -lcrypto -lz -lpthread -ldl -lm -lpthread -lssl
libtool: link: gcc -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -o .libs/spine.exe sql.o spine.o util.o snmp.o locks.o poller.o nft_popen.o php.o ping.o keywords.o error.o  -L/usr/lib -lnetsnmp -lmysqlclient -lcrypto -lz -ldl -lpthread -lssl
/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: error.o: in function `spine_print_backtrace':
/usr/src/spine-release-1.2.16/error.c:99: undefined reference to `backtrace'
/usr/src/spine-release-1.2.16/error.c:99:(.text+0x29): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `backtrace'
/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: /usr/src/spine-release-1.2.16/error.c:105: undefined reference to `backtrace_symbols'
/usr/src/spine-release-1.2.16/error.c:105:(.text+0x4d): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `backtrace_symbols'
collect2: error: ld returned 1 exit status
make: *** [Makefile:376: spine.exe] Error 1
because apparently my Cygwin environment doesn't seem to have the backtrace() function available for gcc; perhaps there is a Cygwin piece I need to add in order to build? The previous 1.2.15 builds fine as is.

Edit: Ugh, it seems this has been an issue since 2015 ... https://sourceware.org/legacy-ml/cygwin ... 00206.html

Edit 2021/05/28: This was fixed in this commit https://github.com/Cacti/spine/commit/c ... 5ea37c074a, it builds fine now. Thanks to the devs for fixing it!
Last edited by tsimmons on Fri May 28, 2021 10:32 am, edited 1 time in total.
takero
Posts: 2
Joined: Wed May 26, 2021 10:28 am

Re: Windows Installer [Cacti 1.2.17] [Updated 2021-05-18]

Post by takero »

Trying to do a test install today
It seemed to be working until it gets to 73% creating graphs for the default machine
Installing Cacti Server v1.2.17
Your Cacti Server is now installing

Refresh in ProgressLast updated: 10:50:41

73 %
2021-05-26 07:50:41 - INSTALL: always: Creating Graphs for Default Device

Then it just stalls.

Windows 10

Any suggestions?

Thanks for creating the installer
Connie
Posts: 2
Joined: Wed Sep 01, 2010 3:23 am

Re: Windows Installer [Cacti 1.2.17] [Updated 2021-05-18]

Post by Connie »

takero wrote: Wed May 26, 2021 10:33 am Trying to do a test install today
It seemed to be working until it gets to 73% creating graphs for the default machine
Installing Cacti Server v1.2.17
Your Cacti Server is now installing

Refresh in ProgressLast updated: 10:50:41

73 %
2021-05-26 07:50:41 - INSTALL: always: Creating Graphs for Default Device

Then it just stalls.

Windows 10

Any suggestions?

Thanks for creating the installer
I am getting exactly the same issue. Getting to this point:
Installing Cacti Server v1.2.17
Your Cacti Server is now installing

Refresh in ProgressLast updated: 17:56:51

73 %
2021-05-27 08:56:51 - INSTALL: always: Creating Graphs for Default Device
2021-05-27 08:56:27 - INSTALL: always: Device Template for First Cacti Device is 6
2021-05-27 08:56:27 - INSTALL: always: Updating automation network (1), mode "on" => "", subnet "192.168.1.0/24" => 192.168.1.0/24"
2021-05-27 08:56:25 - INSTALL: always: Mapping Automation Template for Device Template 'Cisco Router'
2021-05-27 08:56:24 - INSTALL: always: Mapping Automation Template for Device Template 'Windows Device'
2021-05-27 08:56:24 - INSTALL: always: Mapping Automation Template for Device Template 'Net-SNMP Device'
2021-05-27 08:56:24 - INSTALL: always: Repairing Automation Rules
2021-05-27 08:56:24 - INSTALL: always: Import of Package #6 'Windows_Device.xml.gz' under Profile '1' succeeded
2021-05-27 08:56:12 - INSTALL: always: About to import Package #6 'Windows_Device.xml.gz'.
2021-05-27 08:56:12 - INSTALL: always: Import of Package #5 'NetSNMP_Device.xml.gz' under Profile '1' succeeded
2021-05-27 08:55:23 - INSTALL: always: About to import Package #5 'NetSNMP_Device.xml.gz'.
2021-05-27 08:55:23 - INSTALL: always: Import of Package #4 'Local_Linux_Machine.xml.gz' under Profile '1' succeeded
2021-05-27 08:55:12 - INSTALL: always: About to import Package #4 'Local_Linux_Machine.xml.gz'.
2021-05-27 08:55:12 - INSTALL: always: Import of Package #3 'Generic_SNMP_Device.xml.gz' under Profile '1' succeeded
2021-05-27 08:54:53 - INSTALL: always: About to import Package #3 'Generic_SNMP_Device.xml.gz'.
2021-05-27 08:54:53 - INSTALL: always: Import of Package #2 'Cisco_Router.xml.gz' under Profile '1' succeeded
2021-05-27 08:54:27 - INSTALL: always: About to import Package #2 'Cisco_Router.xml.gz'.
2021-05-27 08:54:27 - INSTALL: always: Import of Package #1 'Cacti_Stats.xml.gz' under Profile '1' succeeded
2021-05-27 08:53:43 - INSTALL: always: About to import Package #1 'Cacti_Stats.xml.gz'.
2021-05-27 08:53:43 - INSTALL: always: Found 6 templates to install

It just stops there. This is a new installation on a brand new Windows machine. Earlier it did try to roll back to step 1, but then it just goes up to 73% and stays there. I did not select initial discovery, and I cleared the subnet value.

Weird.
takero
Posts: 2
Joined: Wed May 26, 2021 10:28 am

Re: Windows Installer [Cacti 1.2.17] [Updated 2021-05-18]

Post by takero »

This is what seems to be the problem
{"Step":"97","Eula":"1"}
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Windows Installer [Cacti 1.2.17] [Updated 2021-05-18]

Post by BSOD2600 »

takero wrote: Wed May 26, 2021 10:33 am 2021-05-26 07:50:41 - INSTALL: always: Creating Graphs for Default Device
Then it just stalls.
It seems the installation wizard has a logic bug, that it'll hang if the device where Cacti is being installed, does not have a snmp agent listening. So... as a work around, you'll need to ensure snmp with public community is listening during the install. Looks like this has been fixed in an upcoming cacti release.
ErnestoCrane
Posts: 1
Joined: Thu Aug 26, 2021 8:41 am

Re: Windows Installer [Cacti 1.2.17] [Updated 2021-05-18]

Post by ErnestoCrane »

Hello, I am getting a 404 file not found on both this windows installer and the one on the main page as well, is this a known issue? Also is there a package for the newest version of 1.2.18 for the Windows Cacti version?

Thank you.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Windows Installer [Cacti 1.2.18] [Updated 2021-09-30]

Post by BSOD2600 »

Posted updated installer for 1.2.18, along with fixing download links.
Scott0309
Posts: 3
Joined: Mon Nov 29, 2021 4:21 pm

Re: Windows Installer [Cacti 1.2.18] [Updated 2021-09-30]

Post by Scott0309 »

Attempting to install BSOD's Cacti 1.2.18 Installer on Windows 10 21H1 on VMWare ESXi server with IIS (not Apache).

When I do the initial setup on http://localhost/cacti, The wizard becomes stuck on the Default Profile and Default Automation Network Page (http://localhost/cacti/install/install. ... la%22:true}) and will not proceed when I press the "Next" button

Any advice on how to see any debug error messages or how to progress past this stage is greatly appreciated.
Screenshot 2021-11-29 163204.png
Screenshot 2021-11-29 163204.png (70.21 KiB) Viewed 2735 times
cigamit
Developer
Posts: 3350
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Windows Installer [Cacti 1.2.18] [Updated 2021-09-30]

Post by cigamit »

Looks like your "Network Range" isn't valid. There should be no spaces in it I believe.
Scott0309
Posts: 3
Joined: Mon Nov 29, 2021 4:21 pm

Re: Windows Installer [Cacti 1.2.18] [Updated 2021-09-30]

Post by Scott0309 »

Wow...
I removed the spaces and it continued to the next page...
172.16.2.0/24

Thanks for your help!
jchambers777
Posts: 3
Joined: Wed Dec 08, 2021 5:52 pm

Re: Windows Installer [Cacti 1.2.18] [Updated 2021-09-30]

Post by jchambers777 »

So this is the current cacti I have installed 1.2.18. Everything has worked great because I used the one that was put together and works like a charm.
However, the only issue I am having now is trying to create graphs. I get this error:

Graph not created for cacti stats - Boost run time due to bad data

I have looked at this to go into line 1728 on template.php since I couldn't find it in lib/function.php I take it I am looking in the wrong place?
I just can't seem to correct the issue and was hoping someone could point me in the right direction.

At least that was what a few people had suggested since it worked for them.

thank you
jchambers777
Posts: 3
Joined: Wed Dec 08, 2021 5:52 pm

Re: Windows Installer [Cacti 1.2.18] [Updated 2021-09-30]

Post by jchambers777 »

ok, so I managed to correct the issue with trying to create a graph. That part now works.

The only problem I am having now is this:
cacti_error.PNG
Error: opening C:/Apache24/htdocs/cacti/rra/cacti_server_boost_peak_memory_4.rdd

System cannot find the file specified.

That is the only issue I am having with the graphs section. Everything else has been running fine.
YoMarK
Cacti User
Posts: 89
Joined: Fri Feb 02, 2007 8:36 am
Location: Eindhoven/The Netherlands

Re: Windows Installer [Cacti 1.2.19] [Updated 2021-12-31]

Post by YoMarK »

BSOD2600, great work! Seems to be working with Windows 2022 as well.
levansang8689
Posts: 7
Joined: Sat Mar 19, 2022 11:00 pm

Re: Windows Installer [Cacti 1.2.19] [Updated 2021-12-31]

Post by levansang8689 »

Dears,
i am newbie with cacti.
currently, i installed the cacti 1.2.19 ( latest version ) into redhat 8. for setup dependancies , it was done i think.
when i check snmpwalk from my cacti server to Windows Server, i can see the response with OID and CPU ...
but i dont know how to create graph to monitor the Windows Server CPU.
i already searched with google but dont have any guideline.
Please help me.
P/s : really, i dont know how to upload the image to describe my problem.So sorry.
YoMarK
Cacti User
Posts: 89
Joined: Fri Feb 02, 2007 8:36 am
Location: Eindhoven/The Netherlands

Re: Windows Installer [Cacti 1.2.19] [Updated 2021-12-31]

Post by YoMarK »

levansang8689 wrote: Sun Mar 20, 2022 4:24 am Dears,
i am newbie with cacti.
currently, i installed the cacti 1.2.19 ( latest version ) into redhat 8. for setup dependancies , it was done i think.
when i check snmpwalk from my cacti server to Windows Server, i can see the response with OID and CPU ...
but i dont know how to create graph to monitor the Windows Server CPU.
i already searched with google but dont have any guideline.
Please help me.
P/s : really, i dont know how to upload the image to describe my problem.So sorry.
This really has nothing to do with this thread.
But monitoring CPU from a Windows device is as simple as on any other OS that supports SNMP.
(you will have to install SNMP agent service on windows).
SNMP - Get Processor Information template is by default included in Cacti.
You add the device in cacti with the correct network and SNMP settings. Select generic "SNMP-enabled device"(or first create a new "Device Templates" called "Windows host" or something like that with "SNMP - Get Processor Information" included) as a "Device Templates" and add "SNMP - Get Processor Information" as a data query.
It should automatically list all CPU cores, and then you could "Create Graphs for this Device" at the top right to "graph" the CPU usage per core or CPUTotal.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests