loop of reinstallation

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

ataha
Posts: 28
Joined: Mon Dec 04, 2023 8:48 am

Re: loop of reinstallation

Post by ataha »

cd /path/to/cacti/plugins
rm -rf reportit
cd /path/to/cacti
php artisan cache:clear

that from chatGPT
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: loop of reinstallation

Post by macan »

oh, sorry. reportit isn't your main problem. You have problem to update 1.0.4->1.0.5
check this
https://forums.cacti.net/viewtopic.php? ... id#p294356
Let the Cacti grow!
ataha
Posts: 28
Joined: Mon Dec 04, 2023 8:48 am

Re: loop of reinstallation

Post by ataha »

many thanks , the installation complete and upgraded to1.2.7 :)
the graph work in real time but not in rra files , the permission correct
can you help me
ataha
Posts: 28
Joined: Mon Dec 04, 2023 8:48 am

Re: loop of reinstallation

Post by ataha »

POLLER: Poller[Main Poller] PID[170648] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Cron, but 61,438.2 seconds have passed since the last poll
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: loop of reinstallation

Post by macan »

is your poller enabled in cron?
Let the Cacti grow!
ataha
Posts: 28
Joined: Mon Dec 04, 2023 8:48 am

Re: loop of reinstallation

Post by ataha »

cat /etc/cron.d/cacti
*/5 * * * * www-data php /var/www/html/cacti/poller.php > /dev/null 2>&1
ataha
Posts: 28
Joined: Mon Dec 04, 2023 8:48 am

Re: loop of reinstallation

Post by ataha »

its enabled
SNMP-walk sample also work,
the permission corrects
real time graph work
spine installed also
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: loop of reinstallation

Post by macan »

disable selinux or apparmor
check cacti log
Let the Cacti grow!
ataha
Posts: 28
Joined: Mon Dec 04, 2023 8:48 am

Re: loop of reinstallation

Post by ataha »

its working fine now and graphed
but I don't know the reason

does this command solve the issue

php /var/www/html/cacti/poller.php
php /var/www/html/cacti/poller.php --force
php -q /var/www/html/cacti/poller_maintenance.php
php -q /var/www/html/cacti/cli/rebuild_poller_cache.php

or the system need only more time to graph
because I have 5000 graph files
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: loop of reinstallation

Post by TheWitness »

Run poller.php as the root account and report back. Use the --force --debug options.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests