Dear all,
Our cacti platform has many users.
In the beginning, we only release "Graph View" permission.
Our team centralized control all insert/update operations.
The reason is about we worry user create too many bad graphs.
It's will generates a lot of SNMP operation which is not working.
Now, we want to release insert/update operations to end user.
In order to management, we want to develop a plugin to record
Graph/Threshold manipulation, For example, who creates the CPU
threshold in this week? who creates new UDP traffic graph yesterday?
According to Hook API Reference:
http://docs.cacti.net/plugins:development.hook_api_ref
I found "graph_items_remove" API, but i need some api like
"graph_items_add" or "graph_items_update". In addition, i
don't found any API can be used for record threshold manipulation.
Or, should i modify graphs_new.php or thold_add.php directly
(I think it's not good way)
Sorry for my bad english,
Thanks for any help or suggestion!!!
How to record Graph/Threshold manipulation by Hook API
Moderators: Developers, Moderators
Who is online
Users browsing this forum: No registered users and 0 guests