Files
Cactidocumentation/Tree-Rules.md
T
Sean ManciniandTheWitness 95ecff345f System Utilities update (#102)
* Update System-Utilities.md

user login history

* Update System-Utilities.md

* Delete system-utilities-main2.png

No longer needed

* Delete system-utilities-main3.png

No longer needed

* Delete system-utilities-main4.png

No longer needed

* Delete system-utilities-main1.png

No longer needed

* Update System-Utilities.md

Add boost details in system utilities

* Update System-Utilities.md

* Update System-Utilities.md

* Update System-Utilities.md

* Update Tree-Rules.md

* Update Tree-Rules.md

Spelling fix

* Update Tree-Rules.md

* Update Tree-Rules.md

* Update Tree-Rules.md

Add youtube video

* Update Tree-Rules.md

fix youtube video

* Update Plugins.md

Add video walkthrough for Plugin update

* Delete data-input-methods-edit2.png

* Delete data-input-methods-edit3.png

* Delete data-input-methods-edit1.png

* Add files via upload

* Update Data-Sources.md

Add more meat to the doc still more updates to come

* Minor updates

* Update System-Utilities.md

* Update Tree-Rules.md

Co-authored-by: TheWitness <thewitness@cacti.net>
2021-01-17 09:24:29 -05:00

1.6 KiB

Automation Tree Rules

This section will describe Tree Rules in Cacti.

Tree rules allow Automation to bunch up devices based on matches on rules we come up with you can say bunch all Cisco devices on to a Cisco tree. Or if you have a site where all of the hostnames start with siteb you can have a site b tree etc see below for some examples.

To get started you will need to create a Tree rule on the top right click the + to start a new rule you are also able to duplicate rules to make it easier as well.

Tree Rules

Tree Rules Edit

Tree Rules Item Edit

We need a way to tell automation what device we are looking for in the example above we are looking for a device with the hostname Linux this is done via a REGEX any perl based REGEX can be used.

To test this REGEX on existing devices you can click the show eligible Objects this will check the Devices currently in cacti for a match.

Tree Rules Preview

Once a device is a match it will be placed on the default tree. To change which tree the device will be placed on simply select the tree name from the dropdown list.

Tree Rules Item Edit

We also have the option to auto create a tree based on our rule in this case a new tree Named Linux will be created if it does not already exist.

Video Walkthrough

Video Tutorial


Copyright (c) 2004-2021 The Cacti Group