Plenty of events on Logs after migration to 1.2.23

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

Moderators: Developers, Moderators

User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Plenty of events on Logs after migration to 1.2.23

Post by TheWitness »

Very odd, what PHP version did you upgrade to?
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?
jackouille
Cacti User
Posts: 71
Joined: Thu Apr 26, 2012 7:41 am

Re: Plenty of events on Logs after migration to 1.2.23

Post by jackouille »

[root@cacti3 cacti]# php -v
PHP 8.1.15 (cli) (built: Jan 31 2023 15:13:17) (NTS gcc x86_64)
Copyright (c) The PHP Group
Zend Engine v4.1.15, Copyright (c) Zend Technologies

[root@cacti3 cacti]# yum list installed | grep cacti
cacti.noarch 1.2.23-1.el7 @epel
cacti-spine.x86_64 1.2.23-1.el7 @epel
jackouille
Cacti User
Posts: 71
Joined: Thu Apr 26, 2012 7:41 am

Re: Plenty of events on Logs after migration to 1.2.23

Post by jackouille »

And the strange thing is that it seems to only affect 11 devices / 81.

Is there a way to disable the recache temporary ? If yes how should I proceed ?

Either tried to disable/enable a device, no change.

Poller cache and resource cache were rebuild, no changes
If you want to perform a remote session with TeamViewer, send me a PM
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Plenty of events on Logs after migration to 1.2.23

Post by TheWitness »

You better update spine to the latest 1.2.x branch. Initial release had a nasty bug. As far as the rest, you'll have to keep digging. Seems very odd to me.
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?
jackouille
Cacti User
Posts: 71
Joined: Thu Apr 26, 2012 7:41 am

Re: Plenty of events on Logs after migration to 1.2.23

Post by jackouille »

I already run spine 1.2.23-1

Do you think that deleting the device and recreate it could solve this issue?
jackouille
Cacti User
Posts: 71
Joined: Thu Apr 26, 2012 7:41 am

Re: Plenty of events on Logs after migration to 1.2.23

Post by jackouille »

If you don't have a solution I will save the RRD then jump back to version 1.2.21 and reimport them...
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Plenty of events on Logs after migration to 1.2.23

Post by TheWitness »

I don't maintain that repo, but are you sure that that rpm reflects the latest spine? Just go withe the 1.2.x branch.
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?
jackouille
Cacti User
Posts: 71
Joined: Thu Apr 26, 2012 7:41 am

Re: Plenty of events on Logs after migration to 1.2.23

Post by jackouille »

I think so:
[root@cacti3 ~]# spine -v
SPINE 1.2.23 Copyright 2004-2021 by The Cacti Group


But if you have a closer look you will see that copyright is from 2021, error on compiling ot wrong version?

I will try to recompile spine...
jackouille
Cacti User
Posts: 71
Joined: Thu Apr 26, 2012 7:41 am

Re: Plenty of events on Logs after migration to 1.2.23

Post by jackouille »

I did a git clone https://github.com/Cacti/spine.git

but configure isn't within spine folder, normal ?
jackouille
Cacti User
Posts: 71
Joined: Thu Apr 26, 2012 7:41 am

Re: Plenty of events on Logs after migration to 1.2.23

Post by jackouille »

Ok, compil complete, it only miss on the page that we shall first perform the following commands:
chmod 744 bootstrap
./bootstrap

then follow the procedure with ./compile

And now the errors have disappeared, congrats !

The only remaining error I have are:
2023/02/05 19:02:39 - CMDPHP REGEX FAILURE Backtrace: (/graphs_new.php[25]:include(), /include/auth.php[27]:require_once(), /include/global.php[533]:include_once(), /include/global_form.php[2362]:api_plugin_hook(), /lib/plugins.php[83]:api_plugin_run_plugin_hook(), /lib/plugins.php[225]:monitor_config_form(), /plugins/monitor/setup.php[641]:form_input_validate(), /lib/functions.php[851]:cacti_debug_backtrace())
2023/02/05 19:02:39 - CMDPHP Form Validation Failed: Variable 'id' with Value '1' Failed REGEX '0'
2023/02/05 19:02:34 - CMDPHP REGEX FAILURE Backtrace: (/graphs_new.php[25]:include(), /include/auth.php[27]:require_once(), /include/global.php[533]:include_once(), /include/global_form.php[2362]:api_plugin_hook(), /lib/plugins.php[83]:api_plugin_run_plugin_hook(), /lib/plugins.php[225]:monitor_config_form(), /plugins/monitor/setup.php[641]:form_input_validate(), /lib/functions.php[851]:cacti_debug_backtrace())
2023/02/05 19:02:34 - CMDPHP Form Validation Failed: Variable 'id' with Value '8' Failed REGEX '0'

Any idea for that ?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Plenty of events on Logs after migration to 1.2.23

Post by TheWitness »

Did you clone it this way?

git clone -b 1.2.x https://github.com/cacti/spine.git
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?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Plenty of events on Logs after migration to 1.2.23

Post by TheWitness »

It looks more like the Cacti develop branch than the 1.2.x branch. Note my comments on the last post.
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?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Plenty of events on Logs after migration to 1.2.23

Post by TheWitness »

Is your monitor plugin the latest develop too?
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?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Plenty of events on Logs after migration to 1.2.23

Post by TheWitness »

Yea, just did a check against the develop version of Monitor. You've got a dated version. Not sure how old.
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