Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sun Jun 25, 2017 5:33 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Calling thold from inside a plugin
PostPosted: Wed Feb 01, 2017 12:42 am 
Offline
Cacti User

Joined: Wed Dec 07, 2011 9:19 am
Posts: 191
For my new plugin I need to be able to create a threshold, based on one the user selected on the setting page (of my plugin).
Anyone have an Idea how I can call it and which function I can call ?
I saw the autocreate, but it's apply on every object for which a template exist, and i'd like to create only for some selected object.

I'd like to avoid to duplicate the 'thold_graphs_action_execute' that exist into the thold setup file.

thanks,

_________________
CentOS
Cacti 0.8.8h
Spine 0.8.8h
PIA 3.1
Aggregate 0.75
Monitor 1.3
Settings 0.71
Weathermap 0.98
Thold 0.5
rrdclean 0.41

Own plugin: LinkDiscovery 0.3


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 4 guests


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