Autom8 - Dynamic Tree selection

Discussions on developing plugins for the Cacti Plugin Architecture

Moderators: Developers, Moderators

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

Autom8 - Dynamic Tree selection

Post by jdc1898 »

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.

Thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests