Empty log and Threshold un-triggered not logged

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

Empty log and Threshold un-triggered not logged

Post by Rno »

2 questions:
1 How can I empty the threshold log ? 8without having to go the DB manually)
2: It's look like when a trigger is back to normal I have no event what so ever, neither in the cacti log, or the theshold log. And I do have Log Threshold Changes activated into the settings.

thanks for input.
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
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Re: Empty log and Threshold un-triggered not logged

Post by rony »

Good question....
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Empty log and Threshold un-triggered not logged

Post by cigamit »

This is an old version of the plugin, so its extremely difficult to determine what may be wrong, whether its was a bug or something else.
Rno
Cacti Pro User
Posts: 704
Joined: Wed Dec 07, 2011 9:19 am

Re: Empty log and Threshold un-triggered not logged

Post by Rno »

Hmm so are you suggesting that The best for me is to go and look into the code ?

Should i propose change under this thread or on github ?
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
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Empty log and Threshold un-triggered not logged

Post by cigamit »

What I am suggesting is that this may have already been fixed, since 250+ commits/fixes have been made to the plugin since that older version was released. The newer version is only compatible with Cacti 1.X though, so you would have to upgrade your entire Cacti install (which should be planned out carefully, since not all plugins are compatible).
Rno
Cacti Pro User
Posts: 704
Joined: Wed Dec 07, 2011 9:19 am

Re: Empty log and Threshold un-triggered not logged

Post by Rno »

I agree to that, but my main plugin is not migrated yet (weathermap) and I don't wan't to do the hand work proposed to do the adaptation of the old release to cacti 1.x

Other stuff are working on my test bench, even my own plugin!

So I just have to wait !

thks
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 1 guest