Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sun Jul 23, 2017 7:33 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: How to record Graph/Threshold manipulation by Hook API
PostPosted: Wed Aug 27, 2014 1:51 am 
Offline

Joined: Thu May 22, 2014 4:36 am
Posts: 3
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!!!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group