Threshold not triggering Alerts

Support questions about the Threshold plugin

Moderators: Moderators, Developers

Post Reply
Author
Message
mountfa
Posts: 1
Joined: Thu Sep 14, 2017 9:57 am

Threshold not triggering Alerts

#1 Post by mountfa » Thu Sep 14, 2017 10:06 am

Hi,

I have recently noticed that Threshold is not generating alerts as the trigger values are reached.
I believe this could related to upgrading to Cacti 1.1.7 which involved upgrading Threshold from 0.5.0 to 1.0.3.

I can still create thresholds OK and they track the values OK but just don't trigger when it hits the warn or alert hi values set.

Example - I have a threshold to monitor disk space usages that triggers warning at 80% and Alert at 90% ... threshold value is showing at 81% but not warning has been triggered.

Has anyone come across this issue and know how to resolve?
Attachments
cac-thold-issue.jpg
cac-thold-issue.jpg (23.02 KiB) Viewed 1967 times

markgiusti
Posts: 12
Joined: Fri Aug 25, 2017 7:39 am

Re: Threshold not triggering Alerts

#2 Post by markgiusti » Tue Oct 17, 2017 8:24 am

Hi,

I have the exact same issue. Can create thresholds but nothing is triggering !! Been trying to solve this issue for 2 weeks now !
Any help would be greatly appreciated.

Thanks,
Mark

razahnaqvi
Posts: 1
Joined: Thu Dec 21, 2017 12:59 am

Re: Threshold not triggering Alerts

#3 Post by razahnaqvi » Thu Dec 21, 2017 1:05 am

I am also facing the same issue. THOLD pugin is not triggering any alerts. The time since its triggering stopped, I am seeing some php error logs as under;

[20-Dec-2017 12:18:33 Asia/Karachi] PHP Notice: Undefined offset: 1 in C:\xampp\htdocs\cacti\lib\snmp.php on line 421
[20-Dec-2017 12:18:33 Asia/Karachi] PHP Notice: Undefined offset: 1 in C:\xampp\htdocs\cacti\lib\snmp.php on line 421

Can anyone please help in this ?

netniV
Cacti Guru User
Posts: 3130
Joined: Sun Aug 27, 2017 12:05 am

Re: Threshold not triggering Alerts

#4 Post by netniV » Thu Dec 21, 2017 2:23 am

If you have upgraded to the latest thold plugin from the repository, you should also update to the latest cacti source or release to ensure that you have everything running at the same level.

Please note, that it would appear that if you use the downloads in the release part of thold, that is outdated so I would use the master branch of the source for both repos when downloading.

When creating a threshold, ensure that the ENABLE THRESHOLD is definitely ticked (if it came from a template this and template propagation is on, this will be done at the template) and that you have a notification list set for warning / error, or some manual users added under other settings.

To see those thresholds that have been breached or triggered, change the status on the THold tab under Thresholds to either Breached or Triggered to see if those thresholds are showing as breached/triggered.

Post Reply