Graph Stop Working After Upgrade
Moderators: Developers, Moderators
Graph Stop Working After Upgrade
Dear all,
I just upgrade my cacti version 0.8.8 to the latest version 1.2.20 and i found my graph doesnt update anymore, if you see the attachment, the 'Current Load: 1.29' is updated, but the blue color on graph stop update since few hours ago, may i know what the cause of that ?
Thank you
I just upgrade my cacti version 0.8.8 to the latest version 1.2.20 and i found my graph doesnt update anymore, if you see the attachment, the 'Current Load: 1.29' is updated, but the blue color on graph stop update since few hours ago, may i know what the cause of that ?
Thank you
- Attachments
-
- cacti_error.png (182.01 KiB) Viewed 1078 times
Re: Graph Stop Working After Upgrade
Hi,
I'm sorry, the 'Current Load: 1.29' is old, its doesnt update too, i test my input string from Linux command line:
/var/www/html/cacti/scripts/loadavgserver.pl <ip>
There no issue, may i know what the cause ? Please help. TQ
I'm sorry, the 'Current Load: 1.29' is old, its doesnt update too, i test my input string from Linux command line:
/var/www/html/cacti/scripts/loadavgserver.pl <ip>
There no issue, may i know what the cause ? Please help. TQ
Re: Graph Stop Working After Upgrade
Hi Macan
Nothing suspicious on cacti.log and poller.log
Nothing suspicious on cacti.log and poller.log
Re: Graph Stop Working After Upgrade
Hi
So far only graph based on SNMP are working, all graph running with scripts/command are stop updating
So far only graph based on SNMP are working, all graph running with scripts/command are stop updating
Re: Graph Stop Working After Upgrade
Hi,
I try to enable DEBUG and i run
/usr/bin/php /var/www/html/cacti/cmd.php
And the result
29/04/2022 13:59:56 - POLLER: Poller[1] PID[29786] Device[0] DS[2228] TT[290.04] SCRIPT: /var/www/html/cacti/scripts/disktemp.pl 'xx.xx.109.22', output: sda:20 sdb:25 sdc:26
29/04/2022 13:59:56 - POLLER: Poller[1] PID[29786] Device[0] DS[2229] TT[294.13] SCRIPT: /var/www/html/cacti/scripts/disktemp.pl 'xx.xx.41.212', output: sda:19 sdb:26 sdc:26
29/04/2022 13:59:57 - POLLER: Poller[1] PID[29786] Device[0] DS[2230] TT[248.24] SCRIPT: /var/www/html/cacti/scripts/disktemp.pl 'xx.xx.41.221', output: sda:20 sdb:26 sdc:27
29/04/2022 13:59:57 - POLLER: Poller[1] PID[29786] Device[0] DS[2231] TT[683.3] SCRIPT: /var/www/html/cacti/scripts/disktemp.pl 'xx.xx.109.36', output: sda:20 sdb:22 sdc:25
I think all is fine, but why with latest version only work with SNMP but not any Scripts/Command ?
Please help. TQ
I try to enable DEBUG and i run
/usr/bin/php /var/www/html/cacti/cmd.php
And the result
29/04/2022 13:59:56 - POLLER: Poller[1] PID[29786] Device[0] DS[2228] TT[290.04] SCRIPT: /var/www/html/cacti/scripts/disktemp.pl 'xx.xx.109.22', output: sda:20 sdb:25 sdc:26
29/04/2022 13:59:56 - POLLER: Poller[1] PID[29786] Device[0] DS[2229] TT[294.13] SCRIPT: /var/www/html/cacti/scripts/disktemp.pl 'xx.xx.41.212', output: sda:19 sdb:26 sdc:26
29/04/2022 13:59:57 - POLLER: Poller[1] PID[29786] Device[0] DS[2230] TT[248.24] SCRIPT: /var/www/html/cacti/scripts/disktemp.pl 'xx.xx.41.221', output: sda:20 sdb:26 sdc:27
29/04/2022 13:59:57 - POLLER: Poller[1] PID[29786] Device[0] DS[2231] TT[683.3] SCRIPT: /var/www/html/cacti/scripts/disktemp.pl 'xx.xx.109.36', output: sda:20 sdb:22 sdc:25
I think all is fine, but why with latest version only work with SNMP but not any Scripts/Command ?
Please help. TQ
- Attachments
-
- disktemp.JPG (58.03 KiB) Viewed 1063 times
Re: Graph Stop Working After Upgrade
Hi
Im very sorry, on my early post, i mention about upgrading from 0.8.8 to 1.2.20, but the correct is, i upgrade from 1.1.38 to 1.2.20
And after few hours test about permission etc, i restore back my ealier cacti 1.1.38 and due to PHP 7.4 compatiblity, i upgrade my cacti 1.1.38 to 1.2.7 and all my scripts its work, so i beleive theres a bug on 1.2.20, so i hope the script contributor will look into this issue
Thank you
Im very sorry, on my early post, i mention about upgrading from 0.8.8 to 1.2.20, but the correct is, i upgrade from 1.1.38 to 1.2.20
And after few hours test about permission etc, i restore back my ealier cacti 1.1.38 and due to PHP 7.4 compatiblity, i upgrade my cacti 1.1.38 to 1.2.7 and all my scripts its work, so i beleive theres a bug on 1.2.20, so i hope the script contributor will look into this issue
Thank you
Re: Graph Stop Working After Upgrade
It could be problem in your script /var/www/html/cacti/scripts/disktemp.pl
When you run it manually, it works. When it's triggered by the poller, it fail? It seems like problem with paths in scripts. Add path variable or full path for every command in your pl script
When you run it manually, it works. When it's triggered by the poller, it fail? It seems like problem with paths in scripts. Add path variable or full path for every command in your pl script
Let the Cacti grow!
Re: Graph Stop Working After Upgrade
Himacan wrote: ↑Wed May 04, 2022 3:16 am It could be problem in your script /var/www/html/cacti/scripts/disktemp.pl
When you run it manually, it works. When it's triggered by the poller, it fail? It seems like problem with paths in scripts. Add path variable or full path for every command in your pl script
I'm sorry for late respond due to long holiday in my country, yes its work when run manually, but you may forgot what i mention ealier, the poller work with cacti 1.1.38 and 1.2.7 but its doesnt work with the latest then that, even i run so many time rebuild poller cache but its doesnt help.
TQ
Re: Graph Stop Working After Upgrade
Hi,
Is it possible because of my Database is Mariadb 5.5 and not Mariadb 10 ?
TQ
Is it possible because of my Database is Mariadb 5.5 and not Mariadb 10 ?
TQ
Re: Graph Stop Working After Upgrade
try to switch to cmd poller. Is it working?
Let the Cacti grow!
Re: Graph Stop Working After Upgrade
Dear All,
After doing some test, upgrade version by version from 1.1.38 until 1.2.17, i'm also upgrade mariadb to 10.3, what i can say the scripts/command only work up to v1.2.16, after that version my scripts/command dorsnt work and the graph is stop updating, i try so many thing such as run rebuild poller cache everytime upgrade version, make a full path such as /usr/bin/perl /var/www/html/cacti/scripts/loadavgserver.pl <ip> etc, but its only work up to 1.2.16 only
Please advice. TQ
After doing some test, upgrade version by version from 1.1.38 until 1.2.17, i'm also upgrade mariadb to 10.3, what i can say the scripts/command only work up to v1.2.16, after that version my scripts/command dorsnt work and the graph is stop updating, i try so many thing such as run rebuild poller cache everytime upgrade version, make a full path such as /usr/bin/perl /var/www/html/cacti/scripts/loadavgserver.pl <ip> etc, but its only work up to 1.2.16 only
Please advice. TQ
Re: Graph Stop Working After Upgrade
Hi
AT LAST all is work when i switch cmd.php to spine, wow, so many days i spend. Now 1.2.20 works too. Conclusion after 1.2.16 cmd.php doesnt work anymore with Scripts/Command but must switch to spine.
Thanks for all.
AT LAST all is work when i switch cmd.php to spine, wow, so many days i spend. Now 1.2.20 works too. Conclusion after 1.2.16 cmd.php doesnt work anymore with Scripts/Command but must switch to spine.
Thanks for all.
Who is online
Users browsing this forum: No registered users and 1 guest