Thold Log Only

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
notanexpert
Posts: 4
Joined: Mon Feb 20, 2017 2:54 pm

Thold Log Only

Post by notanexpert »

Hello

I'm trying to log breaches to thold's log whitout sending e-mails. So far I haven't got any log (plugin_thold_log table on cacti database is empty too) although threshholds have been hit already.

Log Threshold Breaches option is enabled as well as Debug Log option, my thresholds are enabled too.

Am I missing something?

Cacti 1.0.3 thold 1.0 (git cloned yesterday).
User avatar
camerabob
Cacti User
Posts: 386
Joined: Fri Feb 10, 2017 2:45 pm
Location: Long Island, New York, USA
Contact:

Re: Thold Log Only

Post by camerabob »

I see the same symptoms. Also, the thold device page only has the first two devices I added thresholds for. I added a third, but the screen is frozen with the first two. They do change color when an alert is hit, but the values are frozen in time.
Prod: Cacti 1.2.15 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4

Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
notanexpert
Posts: 4
Joined: Mon Feb 20, 2017 2:54 pm

Re: Thold Log Only

Post by notanexpert »

If you are talking about current value being blank or not informed you can try to fix that by changing Data Type to CDEF and Threshhold CDEF to Turn Bytes into Bits.

That worked for me and should work for you if your graphs are the standard cacti graphs in bits. Another thing is how you are setting your thresholds, I'm setting mine in bits. It's working now but not being logged to thold long, only to clog.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests