Error on automation: creation of a new tree rule

Beta testing discussion area

Moderators: Developers, Moderators

Post Reply
Rno
Cacti Pro User
Posts: 704
Joined: Wed Dec 07, 2011 9:19 am

Error on automation: creation of a new tree rule

Post by Rno »

When I try to create a new tree rule, as soon as I change the leaf item type to equipment, i got an error, and I can't create my tree rule


Change Leaf Type

WARNING:You are changing the leaf type to "Device" which does not support Graph-based object matching/creation.By changing the leaf type, all invalid rules will be automatically removed and will not be recoverable.

Are you sure you wish to continue?
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Error on automation: creation of a new tree rule

Post by netniV »

Did you click continue? The reason for the message is that there are two types of rules and when you switch, it causes errors if those erroneous items are not removed. However, you may not wish those items to be removed and may have accidentally switched types without realising... so I introduced the dialog to cover both scenario's.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Rno
Cacti Pro User
Posts: 704
Joined: Wed Dec 07, 2011 9:19 am

Re: Error on automation: creation of a new tree rule

Post by Rno »

Yes I did
but then name is cleared and setting is set back as new (no name, default tree and graphics)

To resolve this issue, I have to set a name, save it, then re-open it and change the setting after that
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Error on automation: creation of a new tree rule

Post by netniV »

Oh, so this is with a new blank rule, change the option, it doesn't keep the settings? If so, I would open that as a new issue since I doubt it's been resolved.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest