thold 0.41 + PA 2.5 - bug in create template

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
User avatar
tim_hunter
Posts: 3
Joined: Thu Jul 07, 2005 6:15 pm
Contact:

thold 0.41 + PA 2.5 - bug in create template

Post by tim_hunter »

When I make a fresh install of cacti and install plugin architecture and thold and try create a new thold template I get this error:

Template already exists!

I make this changes in mysql tables to make clean this errors

ALTER TABLE `thold_template` ADD `thold_type` BIGINT(100) NOT NULL AFTER `bl_enabled`
ALTER TABLE `thold_template` ADD `time_hi` VARCHAR(100) NOT NULL AFTER `thold_fail_trigger`
ALTER TABLE `thold_template` ADD `time_low` VARCHAR(100) NOT NULL AFTER `time_hi`
ALTER TABLE `thold_template` ADD `time_fail_trigger` VARCHAR(100) NOT NULL AFTER `time_low`
ALTER TABLE `thold_template` ADD `time_fail_length` VARCHAR(100) NOT NULL AFTER `time_fail_trigger`

ALTER TABLE `thold_data` ADD `thold_type` BIGINT(100) NOT NULL AFTER `bl_enabled`
ALTER TABLE `thold_data` ADD `time_hi` VARCHAR(100) NOT NULL AFTER `thold_fail_trigger`
ALTER TABLE `thold_data` ADD `time_low` VARCHAR(100) NOT NULL AFTER `time_hi`
ALTER TABLE `thold_data` ADD `time_fail_trigger` VARCHAR(100) NOT NULL AFTER `time_low`
ALTER TABLE `thold_data` ADD `time_fail_length` VARCHAR(100) NOT NULL AFTER `time_fail_trigger`

Thank you!
Tim Hunter
User avatar
zgamer
Cacti User
Posts: 86
Joined: Sat Sep 23, 2006 7:50 pm
Location: WI, USA

Post by zgamer »

Works great!
Criggie
Posts: 16
Joined: Sat Jul 21, 2007 4:30 am
Location: Christchurch, New Zealand
Contact:

Re: thold 0.41 + PA 2.8 - bug in create template

Post by Criggie »

This fixed my problem as well... I'm using thold 0.41 and PIA 2.8 under cacti 0.8.7g

Well done and thank you.
JudahXIII
Posts: 2
Joined: Sat May 14, 2011 3:22 am

Re: thold 0.41 + PA 2.5 - bug in create template

Post by JudahXIII »

Thank u sooooooo much!!!!!!
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests