[Solved]Camm rule user defined functions not working

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
Moegoe
Posts: 16
Joined: Sun Aug 04, 2019 7:13 am

[Solved]Camm rule user defined functions not working

Post by Moegoe »

The camm user defined functions "camm_user_test1 / 2 and 3" is not being executed when chosen. When i select mail and 'User define function' the mail gets sent with the correct criteria but the file in lib "camm_user_func.php" does not get executed. For example - if i select to trigger on a name eg: Llewellyn - it finds 8 records per below
When i select the User function it halts and the line 'process =[8] but nothing afterwards - can anyone help maybe? Cacti 0.8.8f on Ubuntu16 with PHP7. No errors in mysql.log or syslog or cacti.log

It is like that function is just not beiing called upon. I also have Cacti 1.2 and behaves the same. :-(

##################################################################################################
01/27/2021 04:32:58 PM - camm: Poller[0] Sending Alert email to xxxxxxxxx
01/27/2021 04:32:58 PM - camm: Poller[0] Alert Rule 'Trespass' - Email Action - has been activated
01/27/2021 04:32:58 PM - camm: Poller[0] - Select records to process = [8]
01/27/2021 04:32:52 PM - camm: Poller[0] - SQL where conditions=[message like '%Llewelyn%' AND `cacti`.`plugin_camm_syslog`.`status`=2]
01/27/2021 04:32:52 PM - camm: Poller[0] - Process already processed record (force execute)
01/27/2021 04:32:52 PM - camm: Poller[0] = Start process rule id=[126]
01/27/2021 04:32:49 PM - camm: Poller[0] php camm_save_rule ids=[[{\"is_email\":true,\"sup_mode\":\"\",\"date\":\"2021-01-27T16:11:36\",\"id\":126}]]
01/27/2021 04:32:11 PM - camm: Poller[0] - Select records to process = [8]
#####################################################################################################
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests