Calling thold from inside a plugin

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
Rno
Cacti Pro User
Posts: 704
Joined: Wed Dec 07, 2011 9:19 am

Calling thold from inside a plugin

Post by Rno »

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,
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests