super-visions / cacti-plugin-autom8thold Goto Github PK
View Code? Open in Web Editor NEWAutomate threshold creation for data sources
Automate threshold creation for data sources
Currently one needs to re-install the Autom8 plugin in order to have the "Apply Autom8 rules" action on the Data Sources page. This might be a problem when there are already a lot of Autom8 rules defined as there is no easy way to import/export them.
Goal is to have this covered in the setup functions of this plugin.
I'm working on updating one of my Cacti installation to the latest versions, and started with a copy of my current 0.8.7e (!) installation, to test the update procedure.
Upgrade to 0.8.8d worked fine, and I've now also upgraded all the plugins. I wanted to also try autom8thold, since I already use thold and autom8. I've patched autom8, installed autom8thold, and the UI seems to work OK - I can create rules, and the UI behaves as expected.
However, no thresholds are created. I also don't see any mention of AUTOM8 in the logs that isn't for graphs.
How can I troubleshoot this? I originally chose the 'apply autom8 rules' for individual devices in the Hosts page but no thresholds were created (the hosts and DS were listed correctly in the rule-editing page). I already dropped my threshold templates and re-installed that plugin, since the database tables have changed a bit in the last few versions, so that is now a fresh install with only two thold templates. I have also reindexed all hosts, but still no thresholds.
Also, just to confirm - "Apply Thresholds" does create the threshold correctly, so I'm pretty sure that part is OK, too.
(originally here: http://forums.cacti.net/viewtopic.php?f=17&t=54774)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.