Thold 2.x - Thresholding/Alerting module for cacti 8.6

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Locked
BrettS
Posts: 24
Joined: Tue Feb 15, 2005 8:49 pm

Post by BrettS »

Ive been monitoring this thread for a while now. So far the module looks incredible. Im using nagios as well in our environment and would like to set up the thold module to send to the nagios pipe. Can you advise when you said if you want to use remote syslog you have to set up your syslog to do this. This is fime but what daemon/facility is beeing used and what is the current default log file being written to. I set up a *.* /var/log/messages directive in syslog.conf but do not readliy see any alert messages.
This may be due to other problems, I have a suspission that I may be suffering from some of the other problelms discussed in this thread. So as well as the logging info is it possible to roll up all patches etc and do a re-release of thold 2.1a????

Thanks again for a great module

Brett Stevens
mlist
Cacti User
Posts: 50
Joined: Thu May 26, 2005 3:12 pm

thold send email alerts even though "monitor" is d

Post by mlist »

I'm running Cacti 0.8.6d+official patches+thold 2.1a+monitor plugin on a Fedora C3

I only needed to change thold_hi int(50) to thold_hi varchar(100)
All work fine (email alert, hdd usage throshold etc...) except that I still need solve 1 problem before put this installation in a production environment.

1)
If I disable "monitor" for a specified host, emails alerts still arrive when host is down; the only solution is "disable host" or delete it from devices.
Did someone have this problem? Or.....did someone already tried to disable monitor for a host in order to test if email stops???
I think it could be a bug.
Please help me!

I have also 2 others questions that, I hope, some user on this forum will help me to solve.

a) At page 16 of this thread I wrote that, following cigamit trick, I needed to change thold_hi int(50) to thold_hi varchar(100) in order to use threshold hdd usage. But I have still a little problem:
In current column the value is always 2147483647. I suppose I shoud change another value in the table.
Can you tell me exactely what I need to change?

b) Question about how to configure threshold with hd %
cigamit told me:
I have rewritten the templates and script to also return the HD% as a data source (and to not return floppies, cd-roms, ect...), which allows me to set a threshold on the % of used space. So whenever we hit 90%, it alerts me no matter what size the drive is.
If some user on this forum has already tried this solutionCan explain step by step the procedure?
Unfortunateli I'm not a guru and I didn't understand how to modify template and script.


I think this could be usefu for lot of people...

Thanks
Marco :-?
Bruno Prigent
Cacti User
Posts: 68
Joined: Tue Apr 22, 2003 5:51 am

Post by Bruno Prigent »

I can't remove the threshold I just configured to test thold. When I delete the high threshold value I have the following error :

"You must specify either "High Threshold" or "Low Threshold" or both!
RECORD NOT UPDATED!"
torstentfk
Cacti User
Posts: 367
Joined: Tue Apr 05, 2005 9:52 am
Location: Munich, Germany

Post by torstentfk »

Hi,

just installed the script - and - really great thing. Now I make all interswitchlinks with threshold.

After working some time with thold I have some points to change in next release:
- Checkbox for choice if auto-make-tholds are baseline or static.
(Now I changed the script itself)
- Sorting in the main threshhold tap: hosts on the left hand side should be sorted alphabeticly.
- Sorting of the hosts in the main tap to find the desired switch faster.
- The current traffic on the right side should be right-aligned and nummeric formated: 1.456.697 Bytes; or change the number to display M,K,T prefixes.
- Sorting of any column should be possible by clicking the description on the desired column.
- Clicking on any item in the "baselining" column should access the config page to change the setting for this item.

Waiting for the next release and hoping this script is getting in the official cacti release.

Torsten
User avatar
TFC
Cacti Pro User
Posts: 739
Joined: Wed Apr 09, 2003 2:17 am
Location: Izmir/Turkey

Post by TFC »

does not run with cactid?
damn :(
john le lardon
Cacti User
Posts: 52
Joined: Fri May 06, 2005 7:39 am
Location: france
Contact:

Post by john le lardon »

i have a litle problem when i get mail from thold i have a http@ to see thold alert but somthing goes wrong because it say http@ on localhost , where can i change that?
torstentfk
Cacti User
Posts: 367
Joined: Tue Apr 05, 2005 9:52 am
Location: Munich, Germany

Post by torstentfk »

TFC wrote:does not run with cactid?
damn :(
??? Inour instalation cactid polls 3500 snmp MIBs in 17 secs und after it, thold runs. Now Problems

Torsten
markske
Posts: 6
Joined: Fri Mar 18, 2005 2:41 am

Post by markske »

markske wrote:I have not enough knowledge but I changed the following in the mysql table
thay have default int(50)

I now it is not correct but it works for now in my env

thold_hi varchar(100) default NULL,
thold_low varchar(100) default NULL,
lastread varchar(100) default NULL,




ps, the login for guest is also not working for the threshld page
hmm releasing an update is hard I gess for the Thold team
why dont they release 2.1b or somthing else

I just installed cacti again with thold on a new server
I need to edit the table, doing allot of patches (like current vallue=0, max value=2147483647 ...)
User avatar
TFC
Cacti Pro User
Posts: 739
Joined: Wed Apr 09, 2003 2:17 am
Location: Izmir/Turkey

Post by TFC »

What do I do that when an alert exist, thols sends me an e-mail.
Which deamon smust be installed in FC3 and where do I add SMTP server?
john le lardon
Cacti User
Posts: 52
Joined: Fri May 06, 2005 7:39 am
Location: france
Contact:

Post by john le lardon »

TFC : on FC3 i think you have sendmail or mini_sendmail installed on your FC3 and to get email you don't need SMTP server you can get email in LAN else you need SMTP but i don't know how to do?

up my question : where can change the message of the email sending for thold alerte , because http://localhost... on another workstation it doesn't work at all :?
User avatar
Pumpi
Cacti User
Posts: 259
Joined: Wed Jan 14, 2004 3:23 am
Location: Germany

Post by Pumpi »

John le lardon,

you can change this settings/thold:

Base URL
Cacti base URL
User avatar
Pumpi
Cacti User
Posts: 259
Joined: Wed Jan 14, 2004 3:23 am
Location: Germany

Post by Pumpi »

TFC,

I'm using sendmail (Sendmail version 8.13.1) on my FC3 box commin with the basic FC3 installation.

Pumpi
User avatar
TFC
Cacti Pro User
Posts: 739
Joined: Wed Apr 09, 2003 2:17 am
Location: Izmir/Turkey

Post by TFC »

Actually i use cactid. And mostly I follow interface traffics. So thold not suitable for me with this ability :(
john le lardon
Cacti User
Posts: 52
Joined: Fri May 06, 2005 7:39 am
Location: france
Contact:

Post by john le lardon »

it's work fine thanks and i use cactid version rc19 without any problems ;)
User avatar
TFC
Cacti Pro User
Posts: 739
Joined: Wed Apr 09, 2003 2:17 am
Location: Izmir/Turkey

Post by TFC »

how??
Locked

Who is online

Users browsing this forum: No registered users and 2 guests