mirror of
https://github.com/Cacti/documentation.git
synced 2026-11-09 14:05:23 +09:00
* 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>
43 lines
1.6 KiB
Markdown
43 lines
1.6 KiB
Markdown
# 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.
|
|
|
|

|
|
|
|

|
|
|
|

|
|
|
|
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.
|
|
|
|

|
|
|
|
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.
|
|
|
|

|
|
|
|
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
|
|
|
|
[](https://youtu.be/yxO-CgaeFNc "Video Tutorial")
|
|
|
|
---
|
|
Copyright (c) 2004-2021 The Cacti Group
|