Where stores Thold the host status

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
freeman1970
Posts: 5
Joined: Mon May 22, 2017 2:13 am

Where stores Thold the host status

Post by freeman1970 »

Hi all,
I´ve the following problem:
I had some threshold enabled hosts within a "breached" or "triggered" state. The threshold template had a re-alert cycle for every day.
Unfortunaly someone has deleted this hosts while they are still in the "failed state". Now I got every day a ghost (re-alert) message from
this deleted hosts and can´t find them in the threshold configuration or "maybe relevant" database tables.

How can I get rid of these daily messages?

Thanks and bye
Marco
freeman1970
Posts: 5
Joined: Mon May 22, 2017 2:13 am

Re: Where stores Thold the host status

Post by freeman1970 »

No ideas / recommendations ? :-?
Rno
Cacti Pro User
Posts: 696
Joined: Wed Dec 07, 2011 9:19 am

Re: Where stores Thold the host status

Post by Rno »

Did you try the monitor plugin database ?
thold and monitor are very tight together

plugin_monitor_<something>
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
freeman1970
Posts: 5
Joined: Mon May 22, 2017 2:13 am

Re: Where stores thold the host status

Post by freeman1970 »

Hi rno,
thanks for the answer. Thold works very well for me and we use a lot of templates.

The Problem is that there are now daily (!!!) messages from "ghost hosts" like this:

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
A warning has been issued that requires your attention.

Host: xyz (192.168.1.111)
URL: http://cacti.intern/cacti//graph.php?lo ... 4&rra_id=1
Message: WARNING: Cluster Status [CLUSTERSTATE] [AVAILABLE] is still above threshold of 0 with 1
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Following the link "GRAPH DOES NOT EXIST" appears, because the host xyz (and his data) has been
unfortunaly deleted while the threshold was still triggered.


Now I want to figure out, where thold has stored this state and how I can delete this entries to get rid of the daily messages.

Thanks
Marco
Rno
Cacti Pro User
Posts: 696
Joined: Wed Dec 07, 2011 9:19 am

Re: Where stores Thold the host status

Post by Rno »

I understand that, but I tell you to check on the database of plugin_monitor- table!

But I thinnk You should find your host on this table: thold_data

And if the host dosen't exist anymore just delete it
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
freeman1970
Posts: 5
Joined: Mon May 22, 2017 2:13 am

Re: Where stores Thold the host status

Post by freeman1970 »

Hi rno,
thanks again.

I´ve already searched there for the specific entries.
I can´t find the host or related graph_id of the generated message in this database table.

Thanks and bye
Marco
freeman1970
Posts: 5
Joined: Mon May 22, 2017 2:13 am

Re: Where stores Thold the host status

Post by freeman1970 »

:-? unfortunaly the problem is still there ... Any ideas?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests