help remote poller install

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
kouzaka
Posts: 7
Joined: Fri Sep 27, 2024 12:11 am

help remote poller install

Post by kouzaka »

The main Cacti is running on version 1.2.16.
Since the number of registered devices has increased and the load has become high, I want to add a remote poller.
The version I plan to use is 1.2.27.

When I set up the new server and click "Confirm Installation" from the installation wizard for the remote poller, the browser refreshes and returns to the initial screen of the installation wizard.
I wondered if there was a configuration issue, so I tried installing the Primary Server on this new server, and it completed without any problems.
Since there are no error messages, could you please help me?
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: help remote poller install

Post by macan »

try to use code from https://github.com/Cacti/cacti/tree/1.2.x
It will be released as version 1.2.28 in few days

If I remember correctly, there were few fixes for remote poller and installation
Let the Cacti grow!
kouzaka
Posts: 7
Joined: Fri Sep 27, 2024 12:11 am

Re: help remote poller install

Post by kouzaka »

Thank you very much.
I tried with version 1.2.28, but the same issue occurred.
I can install without any problems if I set it as the new Primary.
However, when I set it as the new remote, the installation wizard reloads to the initial screen during the installation process.
Is there something wrong with my steps?
If you have any insights, please let me know.
kouzaka
Posts: 7
Joined: Fri Sep 27, 2024 12:11 am

Re: help remote poller install

Post by kouzaka »

The following is the cacti.log when the installation was performed.

====================
2024-09-27 15:55:42 - INSTALL-TEMPLATE: always: setDefaultTemplate(): Device default template is ''
2024-09-27 15:55:42 - INSTALL: always: Starting INSTALL Process for v1.2.28
2024-09-27 15:55:42 - INSTALL: always: No tables where found or selected for conversion
2024-09-27 15:55:42 - INSTALL: always: Updating remote configuration file
2024-09-27 15:55:42 - DBCALL ERROR: SQL Save on table 'poller': Column 'dbretries' does not exist, unable to save!
2024-09-27 15:55:42 - CMDPHP SQL Backtrace: (/install/background.php[70]:Installer::beginInstall(), /lib/installer.php[3538]:Installer->install(), /lib/installer.php[3025]:Installer->installPoller(), /lib/installer.php[3149]:remote_update_config_file(), /install/functions.php[840]:sql_save())
2024-09-27 15:55:42 - INSTALL: always: Finished INSTALL Process for v1.2.28
2024-09-27 15:55:42 - INSTALL: always: Unable to obtain poller id for this server
2024-09-27 15:55:42 - INSTALL: always: Installation was started at 2024-09-27 06:55:41, completed at 2024-09-27 06:55:42
kouzaka
Posts: 7
Joined: Fri Sep 27, 2024 12:11 am

Re: help remote poller install

Post by kouzaka »

Note that the columns exist in the target table.


==================================
mysql> select * from poller \G;
*************************** 1. row ***************************
id: 1
disabled:
name: Main Poller
notes:
status: 0
timezone:
hostname: localhost
dbdefault:
dbhost:
dbuser:
dbpass:
dbport: 3306
dbretries: 2
dbssl:
dbsslkey: NULL
dbsslcert: NULL
dbsslca: NULL
total_time: 0
max_time: NULL
min_time: NULL
avg_time: NULL
total_polls: 0
processes: 1
threads: 1
sync_interval: 7200
snmp: 0
script: 0
server: 0
last_update: 0000-00-00 00:00:00
last_status: 0000-00-00 00:00:00
last_sync: 0000-00-00 00:00:00
requires_sync:
1 row in set (0.00 sec)

ERROR:
No query specified
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: help remote poller install

Post by macan »

UPS ... I overlooked that you have primary cacti version 1.2.16. Try to install remote poller with the same version.
Let the Cacti grow!
kouzaka
Posts: 7
Joined: Fri Sep 27, 2024 12:11 am

Re: help remote poller install

Post by kouzaka »

thank you.
I see that the different versions are not executable.
I matched the version with PRIMARY and it proceeded fine.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest