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

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Locked
Mika
Cacti User
Posts: 64
Joined: Tue Mar 23, 2004 3:01 am

Post by Mika »

If anybody of you are using remote mailserver to send e-mails on linux?
Please, help me.
I set some parameters on php.ini (php5) but nothing:

Code: Select all

SMTP = 10.0.0.1 (this is my remote mailserver)
smtp_port = 25
I also tried with

Code: Select all

sendmail_from = my.email@remote.host
Anyone can help me here?
Is sendmail necesary here?
benhanson
Posts: 43
Joined: Tue Feb 08, 2005 8:59 pm

thold.php freezes IIS

Post by benhanson »

adesimone:

CPU doesn't spike and memory usage looks stable. I'll see if I can turn on any additional IIS logging/debugging today
User avatar
thewall
Posts: 24
Joined: Thu Mar 03, 2005 9:13 am
Location: Brasil

Error in Database

Post by thewall »

Hi,

I have found this error after installing threshold module. Anybody Knows how to correct it?

tks
Attachments
erro-thold.GIF
erro-thold.GIF (5.63 KiB) Viewed 10024 times
benhanson
Posts: 43
Joined: Tue Feb 08, 2005 8:59 pm

error in database

Post by benhanson »

Probably either an authentication issue, or the MySQL import didn't happen on install. If this is a windows box I would guess the import failed.

Check to see if the table exists:
Win32
open a command prompt(start:run:cmd.exe)
cd c:\mysql\bin (or where ever it is)

mysql cacti --username=??? --password=???

this should get you to a mysql prompt (mysql>)
then execute show tables;

mysql>show tables;

See if thold_data exists, if it does it's likely an authentication issue. If it doesn't, you may need to rerun the sql import

mysql %cactidbname% --user=%database_username% --password=%database_password% < thold.sql
rik
Posts: 38
Joined: Mon Nov 22, 2004 5:15 am
Location: Zuerich; Switzerland
Contact:

Post by rik »

Mika:
Code:

SMTP = 10.0.0.1 (this is my remote mailserver)
smtp_port = 25
this parameters are only for windows users.

Is sendmail necesary here?
you need something which can do the same as sendmail.

see my post before you can use mini_sendmail for this job, there you can give in the server with -s10.0.0.1.

if you don't need to authentificate there is no problem with it.

rik
Mika
Cacti User
Posts: 64
Joined: Tue Mar 23, 2004 3:01 am

Post by Mika »

Finaly I managed to launch it to remote mail server.
I didn't have sendmail on my linux machine, but configured exim to forward messages to remote mailserver.

Everything works fine right now. :D

Really great feature. Huge Thanks for developers.
User avatar
thewall
Posts: 24
Joined: Thu Mar 03, 2005 9:13 am
Location: Brasil

Re: error in database

Post by thewall »

[quote="benhanson"]I have installed in a debian server. So I have to run these commands in Unix, and I don't know much about Mysql.

:o
User avatar
thewall
Posts: 24
Joined: Thu Mar 03, 2005 9:13 am
Location: Brasil

Finally!!!

Post by thewall »

Hi,

I finally made it. Thanks to all tha tryied to help and I have a special thanks to guy here in company, who knows everything someone has to know about this things.

Thanks

Thanks to the developers!!!! :lol:
sini
Cacti User
Posts: 91
Joined: Mon Nov 24, 2003 10:22 am
Location: Hungary

Post by sini »

ppollet73 wrote:Hello,
I have just installer the script, and the error is:
Cannot redeclare rrd_last() in /var/www/html/cacti/lib/thold-functions.php on line 19

any idea ?

Thankls

Pipol
Hi,

I have the same problem! How can I fix it?

THX! Great addon!
Sini
ppollet73
Posts: 32
Joined: Tue Feb 01, 2005 2:31 am
Location: Grenoble - France

Post by ppollet73 »

I rename the functions and all fail working :-)
sini
Cacti User
Posts: 91
Joined: Mon Nov 24, 2003 10:22 am
Location: Hungary

Post by sini »

OK, thx now it`s working! :)
Sini
kazam
Posts: 1
Joined: Wed Mar 09, 2005 12:14 pm

Enhancement Request, Host and Data Source Filtering

Post by kazam »

Hi all,

First of all, Threshold is a great (and needed for many of us) addon for Cacti. My only concern is that when 'view threshold' is activated for a user, the hosts and data sources are not filtered according to what is defined in users rights.

Thus, on a multi end-user installation, no access to threshold can be granted to a user, unless, he can see all the hosts and threshold configured on the server.

Thanks in advance,
Kazam
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

FreeBSD install issue and solution

Post by Howie »

Hi,

Just in case anyone else comes across the same problem... the install.sh script fails on FreeBSD 4-STABLE with 'if: Expression Syntax.' - very helpful, no line number :-)

So, at a guess, I installed bash2 and tried:
bash2 ./install.sh /usr/local/www/data/cacti

which works fine, so it's maybe worth pointing out that the script assumes that /bin/sh is really bashish and not /bin/sh - this is true on many linux systems, but not on BSD, nor on Solaris (I think).

Anyway, looking forward to having a play with this thing now! The dynamic thresholding thing sounds very interesting.
mait
Posts: 16
Joined: Wed Feb 23, 2005 2:14 am

Post by mait »

hey,

super work from you.

but a minor comment still: why cannot i set the high and the low threshold the same value?
i have a case where a value must be fixed - not lower or giher ...
any workaround accomplish that?

keep up the good work,
mait
iBROX
Posts: 4
Joined: Tue Sep 28, 2004 2:06 am
Contact:

Post by iBROX »

Having a problem here, once the system emails me of the particular graph that has gone over the thereshold, the graph isn't displayed properly in the body of the email.

Even though the url in the email works, when i copy and paste it, the link loads the graph up fine, yet it doesn't show the embedded image in the email body.

Any ideas?
Locked

Who is online

Users browsing this forum: No registered users and 1 guest