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

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Locked
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Threshold design choice (floating point math?)

Post by cigamit »

DanielG wrote:I was wondering what was the design choice for having the tresholds only in rounded integer.

I'm working on errors on telecom links, where 10 errors by 300 seconds are important values.
For now I've made an ugly patch in the code to multiply value readed from rrd by 301.(':oops:')
It fullfill this niche, but thats not very confortable.

What about to have all the thold plugin working in floating point. Any idea about it?
This is in the works, I didn't originally design it to use integers, the original author did, its just taking a bit of work to undo it all.
sesquipedalian_id
Posts: 9
Joined: Thu Jan 05, 2006 10:35 am
Location: Boise, ID
Contact:

Thold Configuration Issue

Post by sesquipedalian_id »

I'm running the thold plugin 2.8 in the following environment:

Windows 2003/IIS
Cacti 0.8.6.g w/ Plugin Architecture
mactrack Plugin (working fine!)
monitor Plugin (working fine)

Install went fine, and thold is sending mail if a host goes down. However, I cannot configure any host thold parameters. I can configure a template, go through the "auto create for host" procedure sucessfully, but when I click on the template to edit, it just hangs.

Any thoughts here?

Thanks!
User avatar
proohu01
Posts: 45
Joined: Mon Dec 20, 2004 3:13 am
Location: The Netherlands

Re: Thold Configuration Issue

Post by proohu01 »

sesquipedalian_id wrote:I'm running the thold plugin 2.8 in the following environment:
Now where did you find version v0.2.8 ?? I am running v0.2.7

I 'm getting high and low threshold emails. The test e-mail funtion also works. But what does not seem to work is the "Dead Hosts notifications"

Does anyone have this same problem? Does anyone know why only the Dead Hosts notifications are failing?
torstentfk
Cacti User
Posts: 367
Joined: Tue Apr 05, 2005 9:52 am
Location: Munich, Germany

Re: Thold Configuration Issue

Post by torstentfk »

proohu01 wrote:
sesquipedalian_id wrote:I'm running the thold plugin 2.8 in the following environment:
Now where did you find version v0.2.8 ?? I am running v0.2.7

I 'm getting high and low threshold emails. The test e-mail funtion also works. But what does not seem to work is the "Dead Hosts notifications"

Does anyone have this same problem? Does anyone know why only the Dead Hosts notifications are failing?
I have same problems, but I mixed two versions and it works (wich version? I dont know)

Torsten
User avatar
proohu01
Posts: 45
Joined: Mon Dec 20, 2004 3:13 am
Location: The Netherlands

Post by proohu01 »

If found this: http://www.cactiusers.org/forums/viewto ... 02&start=0

Not that it helps me very much, but at least I know a lot of people have /had the same problem. From what I 've read, they used 0.2.6 with the same problems.
knobdy
Cacti User
Posts: 495
Joined: Wed Sep 28, 2005 1:39 pm

Post by knobdy »

<removed to post in unix help>
FreRange
Posts: 23
Joined: Wed Mar 30, 2005 2:13 pm
Location: Irvine, CA

No debug log

Post by FreRange »

Not sure what I'm doing wrong here but I'm not getting any debug logs from the check-thold.php while running it from the command prompt for testing. I have updated the php and set debug to 1 from 0.

Also, while trying to create any tholds via the auto create, device states no tholds created.

Tried updating a data template, using Templates/Threshold/start wizard/select - (any data template)/go --- Error: A template with that Data Source already exists.


If could be that I didn't really find any great documentation on configuring this plug-in after install. Could also be that I wacked the install up somethin' harsh. Not too sure. I did follow the install doc to a t.

Any help would be great. Thanks guyz for a fab plugin! Can't wait to get it working!

Mysql 5.1
Thold 2.1a
Cacti 8.6h
Win2003
IIS6
FreRange
Posts: 23
Joined: Wed Mar 30, 2005 2:13 pm
Location: Irvine, CA

Re: No debug log

Post by FreRange »

FreRange wrote:Not sure what I'm doing wrong here but I'm not getting any debug logs from the check-thold.php while running it from the command prompt for testing. I have updated the php and set debug to 1 from 0.

Also, while trying to create any tholds via the auto create, device states no tholds created.

Tried updating a data template, using Templates/Threshold/start wizard/select - (any data template)/go --- Error: A template with that Data Source already exists.


If could be that I didn't really find any great documentation on configuring this plug-in after install. Could also be that I wacked the install up somethin' harsh. Not too sure. I did follow the install doc to a t.

Any help would be great. Thanks guyz for a fab plugin! Can't wait to get it working!

Mysql 5.1
Thold 2.1a
Cacti 8.6h
Win2003
IIS6
(>.<) I'm not logged in to the system as guest!?!?!

02/03/2006 01:40:36 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
nexus
Posts: 14
Joined: Fri Feb 03, 2006 6:59 pm

Post by nexus »

Installed this per instructions. Cacti only gives me a blank browser page. Can't even login. I run the uninstall script and cacti comes back to life.

Any ideas?

Would also be nice if the install/uninstall scripts worked with databases running on other servers.
tobes
Posts: 8
Joined: Thu Jan 26, 2006 4:48 am

Problem after installing on Windows 2003 SVR

Post by tobes »

I have Cacti running no problem, but after installing Thold wehn I try to browse to the homepage it says "web site found waiting for reply" and no page is ever displayed.

2.1a Thold
cacti 8.6h

I thought it maybe permissions at first but I temporarily made the IUSR and IWG have modify permissions through the whole tree, still no joy.

I used the install.bat file to install and I have checked all the files have moved etc.

Anyone with any ideas?

Cheers

Tobes
tobes
Posts: 8
Joined: Thu Jan 26, 2006 4:48 am

Post by tobes »

I have built another box on win2k. I have the same problem so I am sure someone must have encoutered it.

I replaced the old function.php and I noticed that the thold-funtions was being copied over using the batch file so I did this manually.

I can now get to the site and I just get errors referencing the function.php file which I expected.

Has anyone figured out what the fix for this is?

Tobes
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Problem after installing on Windows 2003 SVR

Post by cigamit »

tobes wrote:I have Cacti running no problem, but after installing Thold wehn I try to browse to the homepage it says "web site found waiting for reply" and no page is ever displayed.

2.1a Thold
cacti 8.6h

I thought it maybe permissions at first but I temporarily made the IUSR and IWG have modify permissions through the whole tree, still no joy.

I used the install.bat file to install and I have checked all the files have moved etc.

Anyone with any ideas?

Cheers

Tobes
The author of v2.1a of thold hasn't updated or fixed any of the issues in quite a while. You might have better luck using the Plugin Architecture version which fixes most of the bugs, and adds a few needed features.
User avatar
Diggit2001
Cacti User
Posts: 195
Joined: Tue May 03, 2005 4:29 pm
Location: MD, US

Post by Diggit2001 »

I just installed thold 2.1a on my cacti box that is a Windows 2003 server. I then went to my device list, picked a device, hit "Create graphs for this host" and then "auto-create thresholds". I then received this:

Created threshold for data_id 79 and rrd_id 286
Created threshold for data_id 80 and rrd_id 287
Created threshold for data_id 86 and rrd_id 299
Created threshold for data_id 86 and rrd_id 298
Created threshold for data_id 83 and rrd_id 294
Created threshold for data_id 84 and rrd_id 295
Created threshold for data_id 85 and rrd_id 296
Created threshold for data_id 85 and rrd_id 297
Created threshold for data_id 87 and rrd_id 300
Created threshold for data_id 87 and rrd_id 301
Created threshold for data_id 88 and rrd_id 302
Created threshold for data_id 88 and rrd_id 303
Update failed:

INSERT INTO thold (element, rra) VALUES (, 924)
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 924)' at line 1

Does anyone know what’s causing this? Here's my cacti info:

cacti 0.8.6g
mysql 4.1.11
rrdtool 1.2.12
Perl 5.8.7.813
php 5.1.1
net-snmp 5.2.1.2


Thanks in advance
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

Diggit2001 wrote:I just installed thold 2.1a on my cacti box
[snip]
INSERT INTO thold (element, rra) VALUES (, 924)
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 924)' at line 1
You are using an old version of the add-on (unsupported by the original author). This particular error has been fixed a long while back in the Plugin version of Thold. You can out all about it in the link in my sig.
User avatar
Diggit2001
Cacti User
Posts: 195
Joined: Tue May 03, 2005 4:29 pm
Location: MD, US

Post by Diggit2001 »

Hmmm. This looks interesting. I wish I would have found this earlier. :P

Can I install this architecture overtop of my existing (old) thold or should I attempt to remove thold first?

Thanks!
Locked

Who is online

Users browsing this forum: No registered users and 0 guests