Autom8 - Dynamic Tree selection

Discussions on developing plugins for the Cacti Plugin Architecture

Moderators: Moderators, Developers

Post Reply
Posts: 20
Joined: Tue Jan 15, 2008 11:13 am

Autom8 - Dynamic Tree selection

#1 Post by jdc1898 » Thu Mar 12, 2015 11:46 pm

Is there a way to dynamically check for and ultimately select a subtree based on a HOST field?

Example: Existing Tree Structure:

Customers -
{123456} - Example Customer
Routers -
Host: blah
Switches -

A new device is added with the following description and notes:
Host Description: 123456-2950S-1

I would like to be able to check if the NODE 123456 is present and if so, add the new host under the appropriate SUB. Putting it in the right place isn't too bad but I haven't seen where it is possible to check for the existence of a sub-tree item.


Post Reply