Thold 2.x - Thresholding/Alerting module for cacti 8.6
Moderators: Developers, Moderators
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
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
thold send email alerts even though "monitor" is d
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
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
-
- Cacti User
- Posts: 68
- Joined: Tue Apr 22, 2003 5:51 am
-
- Cacti User
- Posts: 367
- Joined: Tue Apr 05, 2005 9:52 am
- Location: Munich, Germany
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
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
-
- Cacti User
- Posts: 52
- Joined: Fri May 06, 2005 7:39 am
- Location: france
- Contact:
-
- Cacti User
- Posts: 367
- Joined: Tue Apr 05, 2005 9:52 am
- Location: Munich, Germany
hmm releasing an update is hard I gess for the Thold teammarkske 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
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 ...)
-
- Cacti User
- Posts: 52
- Joined: Fri May 06, 2005 7:39 am
- Location: france
- Contact:
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 :?
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 :?
-
- Cacti User
- Posts: 52
- Joined: Fri May 06, 2005 7:39 am
- Location: france
- Contact:
Who is online
Users browsing this forum: No registered users and 0 guests