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

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Locked
proxyo
Posts: 11
Joined: Wed Apr 20, 2005 9:07 am
Location: France

Post by proxyo »

Hi, :D
(I'm french so sorry for the English faults)

I'm under windows XP SP2 use cacti 0.86d, and i would like to create some emails notifications with the Thold 2.1a template, I've modify the php.ini file in the php folder, it looks like that:

Code: Select all

[mail function]
; For Win32 only.
SMTP = x.x.x.x
smtp_port = 25

; For Win32 only.
sendmail_from = user@network.ext
My question:
Do I have to configure anything else? a mail client ?
I have configure the Threshold extension in cacti to send an email if any network equipment falls down, and if another equipment go under a low threshold, so i have to receive 2 mails but i don't receive anything...

Is someone can help me??? :roll:

Thanks for the answers, and thanks to the cacti's developper


ProxyO

Code: Select all

OpenGL isn't dead...   
:lol:

My configuration:
- Cacti 0.86d
- PHP 4.3.11
- Apache 2.0.54
- rrdtool-1.0.49
- Mysql 3.23.58
- NetSnmp 5.2.1-1
- Cactid-0.8.6d
[asm]
Posts: 21
Joined: Sun Apr 03, 2005 5:36 pm

Post by [asm] »

Thold for cacti-0.8.6d:

File includes patches exported from thold2.1a to cacti-0.8.6d

Copy files included in archive into cacti's directory. Then import the thold.sql file with command simmilar to:
mysql -u root -p cacti < thold.sql

P.S.: I will post a correct version of cactid patch when 0.8.6e comes out
Attachments
thold-cacti-0.8.6d.zip
(63.37 KiB) Downloaded 481 times
[asm]
Posts: 21
Joined: Sun Apr 03, 2005 5:36 pm

Post by [asm] »

If you have problems with compilation of cactid with thold patches add this into util.h:

Code: Select all

void mail(const char* address_list, const char* subject, const char* body);
aboyz

thanks for the updated!!!

Post by aboyz »

Hi

just wanted to say thanks for the update for the thold !! with all the patches, so all we have to do is just copy those file to our cacti directory? will it replace any files? and just import the .sql file and thats it?? It shouldn't mess up anything right??
jfauteux
Posts: 49
Joined: Fri Apr 30, 2004 8:56 am

Post by jfauteux »

will Thold run on Linux? - - is anyone out there running this on Linux?
[asm]
Posts: 21
Joined: Sun Apr 03, 2005 5:36 pm

Post by [asm] »

jfauteux wrote:will Thold run on Linux? - - is anyone out there running this on Linux?
Yes of course. No problems here ;)
[asm]
Posts: 21
Joined: Sun Apr 03, 2005 5:36 pm

Re: thanks for the updated!!!

Post by [asm] »

aboyz wrote:Hi

just wanted to say thanks for the update for the thold !! with all the patches, so all we have to do is just copy those file to our cacti directory? will it replace any files? and just import the .sql file and thats it?? It shouldn't mess up anything right??
Yes... files included are base cacti-0.8.6d with pathes for thold... nothing else. If you have some custom patches you may have to reaply them
mgb
Cacti User
Posts: 124
Joined: Mon Jun 21, 2004 4:06 am
Location: North of the Netherlands

Post by mgb »

@cigamit

I'm running cacti 0.8.6d with thold2.1a. Do you have a version of your software against this config already? I'm not using cactid but use rrdtool 1.2

Would like to tryout your patch.

Michael
proxyo
Posts: 11
Joined: Wed Apr 20, 2005 9:07 am
Location: France

Post by proxyo »

proxyo wrote:Hi, :D
(I'm french so sorry for the English faults)

I'm under windows XP SP2 use cacti 0.86d, and i would like to create some emails notifications with the Thold 2.1a template, I've modify the php.ini file in the php folder, it looks like that:

Code: Select all

[mail function]
; For Win32 only.
SMTP = x.x.x.x
smtp_port = 25

; For Win32 only.
sendmail_from = user@network.ext
My question:
Do I have to configure anything else? a mail client ?
I have configure the Threshold extension in cacti to send an email if any network equipment falls down, and if another equipment go under a low threshold, so i have to receive 2 mails but i don't receive anything...

Is someone can help me??? :roll:

Thanks for the answers, and thanks to the cacti's developper


ProxyO

Code: Select all

OpenGL isn't dead...   
:lol:

My configuration:
- Cacti 0.86d
- PHP 4.3.11
- Apache 2.0.54
- rrdtool-1.0.49
- Mysql 3.23.58
- NetSnmp 5.2.1-1
- Cactid-0.8.6d
You're a silly man :lol:
For people who have the same problem, use the " " in your php.ini file for your variable, and think to enable a entry in your firewall rules...
[mail function]
; For Win32 only.
SMTP = "x.x.x.x"
smtp_port = "25"

; For Win32 only.
sendmail_from = "user@network.ext"
Tx for your help guys...

ProxyO
aboyz

ok everything went fine

Post by aboyz »

Hi,

the install went fine... i just unzip all the file to my /cacti directory and replace whatever it needed to replace. I made some auto thold graph and set the high to email me at web server to send me a email when it reache 2K. so i set it to 2K. my average connection now is 1900. so I would guess it reach over 2K. so it should send me a email. but it never did. how do i check up on that??

thanks
john le lardon
Cacti User
Posts: 52
Joined: Fri May 06, 2005 7:39 am
Location: france
Contact:

Post by john le lardon »

HI !!!
I don't know if i have a problem but i don't see where is the @ email of sender ?
and then i send to my email @ but nothing come on my box :'(
if u know where is the problem thanks in advance :)
(all is ok ,only that thing goes wrong )

fedora core 3
cacti 0.8.6d
kingaru
Cacti User
Posts: 54
Joined: Wed Mar 09, 2005 6:35 am

Post by kingaru »

[asm] wrote:Thold for cacti-0.8.6d:

File includes patches exported from thold2.1a to cacti-0.8.6d

Copy files included in archive into cacti's directory. Then import the thold.sql file with command simmilar to:
mysql -u root -p cacti < thold.sql

P.S.: I will post a correct version of cactid patch when 0.8.6e comes out
Does it have fix for broken Export/Import Cacti templates?

I.
aboyz

Hi,

Post by aboyz »

I don't know if threshld is working..

I copy the file over to my cacti and imported the .sql file. I login to my cacti site and see the new threshld. I made some auto create from the graph.

I click on thresold and set some setting on one. Ok my graph average is like 1K. so i set the high threshld to 1000. then enter my email. I mean it should send me a email because its over the 1000 users. Why isn't it sending me email?

Here is what i got setup.
ID Description / Click for graph High Threshold Low Threshold Baselining Current Currently Triggered

8 SLB01 Connections - Current Connection web-clstr01 80 [curr_connect] 1000 n/a on no

Anyone know why? Or am I missing some step.

thanks
JEL
Posts: 1
Joined: Wed May 18, 2005 4:41 pm

Threshold failure

Post by JEL »

Hi all,

I have just created a fresh install, the basic specs are;

RH Linux WS 3.0
cacti-0.8.6d
thold-cacti-0.8.6d
rrdtool-1.2.1
mysql-4.1.11

I am having some issues with the Threshold piece. When I view 'Data Sources'=>'Template Name / Click for THold'

I see this on each and every one.......
Notice: Undefined offset: 0 in /monitor/cacti-0.8.6d/lib/thold-functions.php on line 36

I have seen some discussion of this in the groups but was not previously able to get the problem resolved. Any input on this is much appreciated.

Thanks
john le lardon
Cacti User
Posts: 52
Joined: Fri May 06, 2005 7:39 am
Location: france
Contact:

Post by john le lardon »

JEL: do you have apllie the official patch? it' maybe that .
Locked

Who is online

Users browsing this forum: No registered users and 0 guests