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

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Locked
adesimone
Posts: 32
Joined: Mon Jan 24, 2005 12:46 am
Contact:

Post by adesimone »

addlema: the problem may be with the source email address; what email address do your other scripts use? This will default to the local user that is running the cron job, along with the local domain. If this is not valid, your mailserver may not be allowing you to relay out (or there are other restrictions on your relay server).

ppollet73: What version of PHP are you using?
ppollet73
Posts: 32
Joined: Tue Feb 01, 2005 2:31 am
Location: Grenoble - France

Post by ppollet73 »

I use php 4.3.8

the problem also appear with check-thold.php....

Pipol

if i only change the name of rrd_last --> my problem disappear but a new one appear :evil:
error: Notice: Undefined offset: 0 in /var/www/html/cacti/lib/thold-functions.php on line 36 (seems to be linked to an empty graph wen trying to create threshold)
Last edited by ppollet73 on Mon Feb 21, 2005 11:22 am, edited 2 times in total.
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

ranko wrote: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.
Thanks for your answer. In fact I'd like to see the device description in the mail subject, instead of the device ID.
[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]
addlema
Cacti User
Posts: 81
Joined: Wed Aug 18, 2004 8:26 am
Location: Bloomington, IN
Contact:

Post by addlema »

ranko wrote:
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???
Aparently inidana.edu is not a valid domain... It may have something to do with it... :wink:
AHAHAHH! Wow... Im not to bright... :) I was trying everything! Simple typ-o. Need more Mountain Dew.. thanks!
addlema
Cacti User
Posts: 81
Joined: Wed Aug 18, 2004 8:26 am
Location: Bloomington, IN
Contact:

Re: Thold 2.1a - Thresholding/Alerting module for cacti 8.6

Post by addlema »

adesimone wrote: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.
I gotta ask.. What more do you guys plan on developing for this? I hope Ian decides to intergrate this as it is a great addition!

I quick addon would be to allow us to change a From field. so instead of Root we could make it say Cacti Mon.. I have done this with my install.
ranko
Posts: 9
Joined: Tue Feb 04, 2003 7:07 pm
Location: Nicosia, Cyprus

Re: Thold 2.1a - Thresholding/Alerting module for cacti 8.6

Post by ranko »

addlema wrote: I hope Ian decides to intergrate this as it is a great addition!
We hope so too :D
addlema wrote:I quick addon would be to allow us to change a From field. so instead of Root we could make it say Cacti Mon.. I have done this with my install.


Keep in mind that this is closed source addition to cacti and you are not allowed to use and not allowed to contribute to!!! :wink:
User avatar
Pumpi
Cacti User
Posts: 259
Joined: Wed Jan 14, 2004 3:23 am
Location: Germany

Post by Pumpi »

1st Thold 2.1a is a great addon ! :D

Thanks for good work & sharing !

Is Thold 2.1a also supported with cactid as poller ?


Pumpi
ranko
Posts: 9
Joined: Tue Feb 04, 2003 7:07 pm
Location: Nicosia, Cyprus

Post by ranko »

Pumpi wrote: Is Thold 2.1a also supported with cactid as poller ?
Thresholds monitoring - yes.
Dead hosts notifications - no (at least from what it looks from the code - not tested)
addlema
Cacti User
Posts: 81
Joined: Wed Aug 18, 2004 8:26 am
Location: Bloomington, IN
Contact:

Re: Thold 2.1a - Thresholding/Alerting module for cacti 8.6

Post by addlema »

ranko wrote:
addlema wrote: I hope Ian decides to intergrate this as it is a great addition!
We hope so too :D
addlema wrote:I quick addon would be to allow us to change a From field. so instead of Root we could make it say Cacti Mon.. I have done this with my install.


Keep in mind that this is closed source addition to cacti and you are not allowed to use and not allowed to contribute to!!! :wink:
Can I use it for a girl scout cookie?? please?
I just did a search on mail and added a from field.. I didnt do all the snazzy interface stuff. :)
royce
Cacti User
Posts: 79
Joined: Wed Dec 29, 2004 7:37 am
Location: Sweden

Post by royce »

It seems that I have a problem with listthold.php.

Cant really tell why.

Debian 3.1
php 4.3.10
apache 1.3.33
mysql 4.0.23
cacti 0.8.6c
Attachments
bug.jpg
bug.jpg (118.49 KiB) Viewed 16625 times
royce
Cacti User
Posts: 79
Joined: Wed Dec 29, 2004 7:37 am
Location: Sweden

Post by royce »

Nevermind above. Fixed it.

Debian have a defaultsetting of

php_flag short_open_tag Off

... for cacti.

Thanks anyway :) Nice product.

Christofer
vluce
Posts: 6
Joined: Wed Feb 23, 2005 9:51 am

decimal threshold

Post by vluce »

Congratulation for this module. It is very usefull.

I did not manage to enter decimal thershold :

I'd like to receive an alert when the load average is above 0.8 but 0.8 is replace by 0 as soon as I press save button in threshold management window.

Is it a known limitation of this add on ?
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

royce wrote:Nevermind above. Fixed it.

Debian have a defaultsetting of

php_flag short_open_tag Off

... for cacti.

Thanks anyway :) Nice product.

Christofer
FYI, cacti only uses long tags... Example:

Code: Select all

<?php ?>
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
adesimone
Posts: 32
Joined: Mon Jan 24, 2005 12:46 am
Contact:

Post by adesimone »

vluce: you are better off rounding up / down your thresholds because check-thold.php will do so when extracting the values from the rrd files.
Mika
Cacti User
Posts: 64
Joined: Tue Mar 23, 2004 3:01 am

Post by Mika »

royce, how did you fix it?
My php also uses

Code: Select all

php_flag short_open_tag Off 
but I can't switch it on because of my other applications.
I tried to edit file graph_thold.php including in some places full tags, but nothing changed.

Anybody else succeeded in it?
Locked

Who is online

Users browsing this forum: No registered users and 0 guests