Thold 2.x - Thresholding/Alerting module for cacti 8.6
Moderators: Developers, Moderators
Thold 2.x - Thresholding/Alerting module for cacti 8.6
Moderators Note
This topic has been locked as it was growing fairly large. This version of Threshold is also currently unsupported or updated for the newer versions of Cacti, look for the new version here.
http://forums.cacti.net/viewtopic.php?t=13829
----------------------------------------------
This is the new version of THold -
I has most of the features that have been requested & more (thanks to the contributions of Ranko)
This version supports any kind of RRD including counter & gauge. It should be platform independent, but has not been tested.
This version is not back-ward compatible with previous versions.
Feature summary:
- static threshold alerting
- host up/down alerting
- alerts via email/syslog
New features:
- baseline/dynamic threshold alerting
- high/low thresholding
- per-thold vs. global settings for alerting, baselineing, and others
- re-alerting cycles
- weekend alerting/polling exemption
- per-device auto-threshold building
& alot more
Any feedback is welcome.
This topic has been locked as it was growing fairly large. This version of Threshold is also currently unsupported or updated for the newer versions of Cacti, look for the new version here.
http://forums.cacti.net/viewtopic.php?t=13829
----------------------------------------------
This is the new version of THold -
I has most of the features that have been requested & more (thanks to the contributions of Ranko)
This version supports any kind of RRD including counter & gauge. It should be platform independent, but has not been tested.
This version is not back-ward compatible with previous versions.
Feature summary:
- static threshold alerting
- host up/down alerting
- alerts via email/syslog
New features:
- baseline/dynamic threshold alerting
- high/low thresholding
- per-thold vs. global settings for alerting, baselineing, and others
- re-alerting cycles
- weekend alerting/polling exemption
- per-device auto-threshold building
& alot more
Any feedback is welcome.
- Attachments
-
- shot1.jpg (90.13 KiB) Viewed 113002 times
-
- thold2.1a.zip
- (66.15 KiB) Downloaded 9535 times
-
- shot2.jpg (105.15 KiB) Viewed 113002 times
rpingar: try this install batch file - orgininally posted by benhanson -
also, see this link for email options for both windows & unix -
http://www.php.net/manual/en/ref.mail.php
starkie: php uses your system's default mailsystem (i.e. sendmail for *nix) - unless you change the php options (see the link above) - here you can specify a mail server. Otherwise, as long as sendmail is functioning, all you need to do is specify an email address under settings - alerts/thold
also, see this link for email options for both windows & unix -
http://www.php.net/manual/en/ref.mail.php
starkie: php uses your system's default mailsystem (i.e. sendmail for *nix) - unless you change the php options (see the link above) - here you can specify a mail server. Otherwise, as long as sendmail is functioning, all you need to do is specify an email address under settings - alerts/thold
- Attachments
-
- install.zip
- (1.49 KiB) Downloaded 3507 times
up/down devices
is the up/down alerting activated by default on all deives?
if yes how to deactivate it on some devies?
if now how to activate it?
thanks
if yes how to deactivate it on some devies?
if now how to activate it?
thanks
rpingar: Currently, if "Dead hosts notifications" are enabled, then alerting is enabled for ALL _enabled_ devices. Currently, there is no way to disable/enable alerts per host.
However if you anticipate that the host will be down for an extended period of time, you should "disable" that host all together. This will also suspend the alerts.
However if you anticipate that the host will be down for an extended period of time, you should "disable" that host all together. This will also suspend the alerts.
Holy Crap! This is awesome.. My manager asked me to start writing something like this.. You just saved us a good deal of dev time!!!!
THANK YOU!
Quick Question: Can I turn on baselining for every graph? Also can you set multiple graphs quickly?? Is this possible?
I'd like to set every CPU graph the same in one quick click?
THANK YOU!
Quick Question: Can I turn on baselining for every graph? Also can you set multiple graphs quickly?? Is this possible?
I'd like to set every CPU graph the same in one quick click?
Also It doesnt seem to be running. I added the new cron.. And the cacti poller shoots off but the last poll date the thold got was like 8 hours ago it says and it wasnt even installed then...
Im running 8.6b.. do i need 8.6c?
EDIT: My thold.log is empty as well and no error messages in messages after a cron run. -- NEVERMIND This.. uprading to 8.6c fixed..
Im running 8.6b.. do i need 8.6c?
EDIT: My thold.log is empty as well and no error messages in messages after a cron run. -- NEVERMIND This.. uprading to 8.6c fixed..
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Hi Aurelio
could you please modify functions.php so that the device name is included in the mail ? By default the mail subject is
and I'd like it to be
Thanks in advance.
Regards,
Frédéric
could you please modify functions.php so that the device name is included in the mail ? By default the mail subject is
Code: Select all
Host[16]: 192.168.1.2 ERROR: HOST EVENT: Host is DOWN Message: Host did not respond to SNMP
Code: Select all
hermes: 192.168.1.2 ERROR: HOST EVENT: Host is DOWN Message: Host did not respond to SNMP
Regards,
Frédéric
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
Okay.. So now everything is working except:
Everytime It tries to send email I get:
sendmail: RCPT TO:<addlema@inidana.edu> (550 5.7.1 <addlema@inidana.edu>... Relaying denied)
But i can send email just fine from everywhere else including other PHP Scripts...
Help???
Everytime It tries to send email I get:
sendmail: RCPT TO:<addlema@inidana.edu> (550 5.7.1 <addlema@inidana.edu>... Relaying denied)
But i can send email just fine from everywhere else including other PHP Scripts...
Help???
fmangeant: Whatever you specify under "Hostname" in the device configuration is what is going to be displayed in the subject of the message. In your case you have specified an IP address in the hostname field and this is what you've got.
ppollet73: I cannot reproduce the problem. On what page do you get that error? What version of cacti do you use?
addlema:
Quick answer: Not automatically for all but "semi-automatically" per host . Under "New Graphs" -> "Auto-create thresholds" will take all data sources for the host and will define baseline thresholds according to your preferences set under "Settings->Alerting/THold"
Note though that CPU, speciffically for the ucd/net snmp hosts is a difficult beast. CPU utilization values are split across multiple data sources, namely cpu_system, cpu_user and cpu_nice. Currently there is no way to correlate multiple data sources. This is something that is in a to-do list.
ppollet73: I cannot reproduce the problem. On what page do you get that error? What version of cacti do you use?
addlema:
Quick answer: Not automatically for all but "semi-automatically" per host . Under "New Graphs" -> "Auto-create thresholds" will take all data sources for the host and will define baseline thresholds according to your preferences set under "Settings->Alerting/THold"
Note though that CPU, speciffically for the ucd/net snmp hosts is a difficult beast. CPU utilization values are split across multiple data sources, namely cpu_system, cpu_user and cpu_nice. Currently there is no way to correlate multiple data sources. This is something that is in a to-do list.
Aparently inidana.edu is not a valid domain... It may have something to do with it...addlema wrote:Okay.. So now everything is working except:
Everytime It tries to send email I get:
sendmail: RCPT TO:<addlema@inidana.edu> (550 5.7.1 <addlema@inidana.edu>... Relaying denied)
But i can send email just fine from everywhere else including other PHP Scripts...
Help???
Last edited by ranko on Mon Feb 21, 2005 10:27 am, edited 1 time in total.
Who is online
Users browsing this forum: No registered users and 1 guest