Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


New Thold and the PIA

 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Threshold)
Author Message
apperrault
Cacti User


Joined: 16 Feb 2007
Posts: 359
Location: Emeryville, CA

PostPosted: Tue Jul 31, 2007 8:55 am    Post subject: New Thold and the PIA Reply with quote

Greetings all,
I understand that in order for the new version of Thold to work, i need to install a portion of the new PIA that was posted in the 0.8.6k Beta Thread. What do i need to install on a 0.8.6j Cacti installation to get Thold to work properly.

I am having some problems, and was told that this new version would correct those issues. Can someone let me know what i need to do to get it to work. When i try to install the 0.3.5.1 version that is available on the Cactiusers website, i get the following:
Code:
 
Fatal error: Call to undefined function settings_version() in E:\cacti\plugins\thold\setup.php on line 64


I have the most recent version of settings installed but i am pretty sure that the reasons have to do with the changes made to the PIA.

Please help

thanks

app
Back to top
Phytius



Joined: 31 Jul 2007
Posts: 3

PostPosted: Wed Aug 01, 2007 4:23 pm    Post subject: Reply with quote

Do you have plugin "settings" installed?
Back to top
apperrault
Cacti User


Joined: 16 Feb 2007
Posts: 359
Location: Emeryville, CA

PostPosted: Wed Aug 01, 2007 4:29 pm    Post subject: Reply with quote

yeah I do. a new version of thold was released on the Cactiusers.org site last week, and then cigamit released a new version of the PIA to go with the Beta of version K that was released last week. There are some fixes in that new PIA that correct problems i am having with Thold, but I need to make sure that the new PIA doesn't break my existing, working plugins.

Apparently Cigamit is busy with work, so I will wait for him to get back and hopefully answer this post (unless someone else knows!!)

Thanks

app
Back to top
Phytius



Joined: 31 Jul 2007
Posts: 3

PostPosted: Wed Aug 01, 2007 4:39 pm    Post subject: Reply with quote

I use setting v0.2
Its setup.php implements function settings_version ()

See in thold/setup.php:

thold_check_dependencies() {
...
$v = settings_version();
if ($v['version'] < 0.2)
return false;

so settings 0.2 is required
Back to top
mcutting
Cacti Guru User


Joined: 16 Oct 2006
Posts: 1007

PostPosted: Mon Sep 10, 2007 1:04 pm    Post subject: Reply with quote

Aaron,

Do your global email alerts work in thold 0.3.5.1 ? Unless I set an email address for each data source thold, I do not get any emails when thresholds are breached.

I see you also mentioned the new version of PA - did you use this, and if so, which files did you replace ?

I don't really want to have to add individual email addresses to each and every thold when the global alerts should take care of this !

Thanks
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Threshold) All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group