Is there a way to script Autom8 Tree Rules?

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
wulfhere2
Posts: 5
Joined: Mon Jul 16, 2012 11:42 am

Is there a way to script Autom8 Tree Rules?

Post by wulfhere2 »

I've been successfully installed the Autom8 plugin (my thanks to Reinhard for his hard work). It works great, but I find that I need to create almost 80 tree rules, all almost identical with the exception of the Name, Sub-Tree, and Matching Rule. Is there a way to create Tree Rules via CLI, similar to the way you can script host creation? I know you can duplicate rules, but that's still a lot of clicking page-loading...
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Is there a way to script Autom8 Tree Rules?

Post by gandalf »

No chance to substitute the "specific" parts by some REGEXP results?
If not, you can try to fill the rule tables manually ... but there's no hint apart from existing entries and the code itself
R:
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests