New Thold and the PIA

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
apperrault
Cacti User
Posts: 379
Joined: Fri Feb 16, 2007 11:37 am
Location: Emeryville, CA
Contact:

New Thold and the PIA

Post by apperrault »

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: Select all

 
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
[b]Cacti Version[/b] - 0.8.7b
[b]Plugin Architecture[/b] - 2.2 Beta
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.9-78.0.1.ELsmp
[b]Web Server[/b] - Apache/2.0.52 (Red Hat)
[b]PHP[/b] - 4.3.9
[b]MySQL[/b] - 4.1.22
[b]RRDTool[/b] - 1.2.23
[b]SNMP[/b] - 5.1.2
[b]Plugins[/b][list]Global Plugin Settings (settings - v0.5)
SuperLinks (superlinks - v0.72)
Host Info (hostinfo - v0.2)
Report Creator (reports - v0.3)
Update Checker (update - v0.4)
Realtime for Cacti (realtime - v0.35)
Cacti Log View (clog - v1.1)
RRD File Cleaner (rrdclean - v0.36)
Network Discovery (discovery - v0.9)
Uptime (uptime - v0.4)[/list]
Phytius
Posts: 5
Joined: Tue Jul 31, 2007 2:49 am

Post by Phytius »

Do you have plugin "settings" installed?
apperrault
Cacti User
Posts: 379
Joined: Fri Feb 16, 2007 11:37 am
Location: Emeryville, CA
Contact:

Post by apperrault »

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
[b]Cacti Version[/b] - 0.8.7b
[b]Plugin Architecture[/b] - 2.2 Beta
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.9-78.0.1.ELsmp
[b]Web Server[/b] - Apache/2.0.52 (Red Hat)
[b]PHP[/b] - 4.3.9
[b]MySQL[/b] - 4.1.22
[b]RRDTool[/b] - 1.2.23
[b]SNMP[/b] - 5.1.2
[b]Plugins[/b][list]Global Plugin Settings (settings - v0.5)
SuperLinks (superlinks - v0.72)
Host Info (hostinfo - v0.2)
Report Creator (reports - v0.3)
Update Checker (update - v0.4)
Realtime for Cacti (realtime - v0.35)
Cacti Log View (clog - v1.1)
RRD File Cleaner (rrdclean - v0.36)
Network Discovery (discovery - v0.9)
Uptime (uptime - v0.4)[/list]
Phytius
Posts: 5
Joined: Tue Jul 31, 2007 2:49 am

Post by Phytius »

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
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

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
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests