Release of Cacti 0.8.7g BETA 1

Important information about Cacti developments that all users should be interested in.

Moderators: Developers, Moderators

User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Release of Cacti 0.8.7g BETA 1

Post by rony »

Release of Cacti 0.8.7g BETA 1

We the Cacti Group are proud to release the following:
  • Cacti 0.8.7g Beta 1
  • Spine 0.8.7g Beta 1
  • Cacti Plugin Architecture 2.8 for Cacti 0.8.7g Beta 1
Cacti 0.8.7g Change Log
  • bug: Warning in lib/snmp.php caused by misspelled variable
  • bug: Use windows-aware shell escaping
  • bug#0001747: oid_suffix do not work correctly for data queries input direction
  • bug#0001756: Alternate font styles do not work correctly
  • bug#0001763: Adding permissions doesn't work
  • bug#0001757: LDAP realm authentication outputs warning for undefined index
  • bug#0001765: Tech support does not work correctly with RRDTool 1.4.x
  • bug#0001766: Page refresh setting not being honored
  • bug#0001771: "index count changed" not implemented for query_unix_partitions.pl, query_host_partitions.pl, query_cpu_partitions.pl, ss_host_cpu.php and ss_host_disk.php
  • bug#0001773: Character encoding problem after upgrade to 0.8.7f
  • bug#0001775: Tech support page does account for no memory limit set for PHP
  • bug#0001776: Simultaneous database connections are not supported
Cacti Plugin Architecture Upgrade Information

Change to global.php and config.php
  • For legacy plugins, those that must be installed in global.php, we have moved the plugins array out of global.php and into config.php. This was done to insure that global.php remains pristine. It is a file that is not intended to be modified, so with the PIA installed, you should not have to.
  • The variable "URL_PATH" has also been moved from global.php to config.php for the same reason as the plugins array. For those of you upgrading from very old Plugin Architectures you should know that in the past, we attempted to "detect" this path. However, the process was not reliable. Therefore, you have to specify that path in config.php.
Visual Changes in Cacti

Visual changes will not impact the functionality of existing plugins. However, due to some poor practices, some of the page rendering may be a bit off.

To address this issue, The Cacti Group has prepared releases of approximately 17 existing plugins in our stable of addon's to maintain a consistent look and feel. Those plugins will be released during the Beta cycle.

There has been quite a bit of work put into these updated plugins. If you find that there is a feature that you want or need that did not make it into an updated plugin, please open a feature request at http://www.cacti.net/bugs.php .

Changes to Cacti's Core

There are two changes in the Core of Cacti that will affect some plugins. The first change is that we have provided RRDtool segfault detection and correction in Cacti 0.8.7g. What this means to plugins that leverage our rrdtool_function_* functions is that for graphing and certain other functions, those plugins will require a minor change. To date, the plugins that we know of, are THold, Boost, and Realtime. We have not performed a comprehensive audit off all plugins, if you experience problems you should seek out your Plugins' developers to determine the impact.

The other core change in Cacti 0.8.7g, is Cacti's ability to detect SNMP time-outs in the core SNMP functions. So, if you are using cmd.php or you are using things like MacTrack, that leverage the SNMP API in Cacti, you will have much more capabilities to detect problems in the behaviour of Cacti by simply going to the Cacti log file.

Functional Changes in the PIA

When you go to the Plugin Management page, you will notice a fairly significant change. In this release, we tuned up the Plugin Management interface to make it a bit easier to understand how your plugins are loaded and controlled. There is now the concept of a System plugin and a General plugin. You can also define the load order of your PIA 2.x plugins. This is important in that some plugins require other plugins be loaded first in order to work properly. We still do not have an API to control this. That will be delivered in the next release of Cacti. However, for those of your who have been locked down to having your plugins in PIA 1.x due to the load ordering issue, that barrier will be removed in this release.

Reporting Bugs

It's important that you use the forums to have a discussion with amongst the members of the Cacti Community. However, when you find a bug, you need to make sure that you use the appropriate forum to open and bring those bugs to a close. That forum is the Cacti bug tracker ( http://www.cacti.net/bugs.php ). All the developers use this tool religiously. So, we need you to do that as well.

Release of 0.8.7g as Non-Beta

We understand that people where expecting a release of 0.8.7g yesterday June 7th. But after much discussions, we came to the conclusion that we wanted a short Beta period to make sure everything was up to snuff. If all looks good over the course of the next 2 weeks, we will be making an official release of Cacti 0.8.7g, Spine 0.8.7g and Plugin Arch 2.8.

Download Beta

http://www.cacti.net/downloads/beta/

Thanks!
The Cacti Group
Last edited by rony on Fri Jul 09, 2010 6:08 pm, edited 1 time in total.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
mturczan
Posts: 6
Joined: Tue Jan 08, 2008 12:10 pm

Rock

Post by mturczan »

You folks rock.
heybigben
Posts: 9
Joined: Tue Nov 24, 2009 12:16 am

Re: Release of Cacti 0.8.7g BETA 1

Post by heybigben »

awsome work everyone.
User avatar
_raindrop18
Cacti User
Posts: 194
Joined: Thu Jan 29, 2009 5:52 pm
Location: US

Thanks!

Post by _raindrop18 »

thanks all for your hard work! appreciated your time and effort :D
User avatar
zoemu
Cacti User
Posts: 287
Joined: Fri Jul 10, 2009 1:38 pm
Location: Toronto, Canada

Post by zoemu »

Brand new installation, worked fine...until a try to do the PIA (pre patched) and I started getting this errrors in the cati log

Code: Select all

06/09/2010 10:11:53 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"SELECT 1 AS id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory=ph.name WHERE ph.status = 1 AND hook = 'draw_navigation_text' AND ph.name IN ('settings', 'boost', 'dsstats') UNION SELECT pc.id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory=ph.name WHERE ph.status = 1 AND hook = 'draw_navigation_text' AND ph.name NOT IN ('settings', 'boost', 'dsstats') ORDER BY id ASC"  
06/09/2010 10:11:53 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"SELECT 1 AS id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory=ph.name WHERE ph.status = 1 AND hook = 'top_header_tabs' AND ph.name IN ('settings', 'boost', 'dsstats') UNION SELECT pc.id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory=ph.name WHERE ph.status = 1 AND hook = 'top_header_tabs' AND ph.name NOT IN ('settings', 'boost', 'dsstats') ORDER BY id ASC"  
06/09/2010 10:11:53 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"SELECT 1 AS id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory=ph.name WHERE ph.status = 1 AND hook = 'body_style' AND ph.name IN ('settings', 'boost', 'dsstats') UNION SELECT pc.id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory=ph.name WHERE ph.status = 1 AND hook = 'body_style' AND ph.name NOT IN ('settings', 'boost', 'dsstats') ORDER BY id ASC"  
it seems to be looking for settings, boost and dsstats which I do not have installed

thanks
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

zoemu wrote:Brand new installation, worked fine...until a try to do the PIA (pre patched) and I started getting this errrors in the cati log

Code: Select all

06/09/2010 10:11:53 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"SELECT 1 AS id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory=ph.name WHERE ph.status = 1 AND hook = 'draw_navigation_text' AND ph.name IN ('settings', 'boost', 'dsstats') UNION SELECT pc.id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory=ph.name WHERE ph.status = 1 AND hook = 'draw_navigation_text' AND ph.name NOT IN ('settings', 'boost', 'dsstats') ORDER BY id ASC"  
06/09/2010 10:11:53 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"SELECT 1 AS id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory=ph.name WHERE ph.status = 1 AND hook = 'top_header_tabs' AND ph.name IN ('settings', 'boost', 'dsstats') UNION SELECT pc.id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory=ph.name WHERE ph.status = 1 AND hook = 'top_header_tabs' AND ph.name NOT IN ('settings', 'boost', 'dsstats') ORDER BY id ASC"  
06/09/2010 10:11:53 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"SELECT 1 AS id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory=ph.name WHERE ph.status = 1 AND hook = 'body_style' AND ph.name IN ('settings', 'boost', 'dsstats') UNION SELECT pc.id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory=ph.name WHERE ph.status = 1 AND hook = 'body_style' AND ph.name NOT IN ('settings', 'boost', 'dsstats') ORDER BY id ASC"  
it seems to be looking for settings, boost and dsstats which I do not have installed

thanks
Did you import the pa.sql file located in the plugin arch installation?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
User avatar
zoemu
Cacti User
Posts: 287
Joined: Fri Jul 10, 2009 1:38 pm
Location: Toronto, Canada

Post by zoemu »

Please disregard, it was my fault.......like an idiot forgot to install the PIA tables .....Duh!


Thank u

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

Post by Howie »

What's a System plugin?
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
User avatar
zoemu
Cacti User
Posts: 287
Joined: Fri Jul 10, 2009 1:38 pm
Location: Toronto, Canada

Post by zoemu »

no, I had not istalled any plugins by them. As soon as I install PIA.sql it went away

thanks
dathho
Posts: 2
Joined: Mon Jun 07, 2010 8:49 am

Contribution warranted...

Post by dathho »

Great Job. Looks good here on Fedora 12 w/PA working.
User avatar
TheWitness
Developer
Posts: 17059
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Howie wrote:What's a System plugin?
Its only important ones like superlinks :wink:

Seriously. Things like settings. dsstats and boost. One step away from core.

Larry

There is this array though......
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

TheWitness wrote:
Howie wrote:What's a System plugin?
Its only important ones like superlinks :wink:

Seriously. Things like settings. dsstats and boost. One step away from core.

Larry

There is this array though......
But what does it *do*? How are they treated differently?
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
User avatar
TheWitness
Developer
Posts: 17059
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Loaded first in the order in the array. This may change once the api is finished.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
rprimrose
Posts: 5
Joined: Mon Jun 07, 2010 12:21 pm

Post by rprimrose »

Cacti Version - 0.8.7g
Plugin Architecture - 2.8
Poller Type - CMD.php
Server Info - Linux 2.6.25-14.fc9.i686
Web Server - Apache/2.2.9 (Fedora)
PHP - 5.2.9
PHP Extensions - libxml, xml, wddx, tokenizer, sysvshm, sysvsem, sysvmsg, session, pcre, SimpleXML, sockets, SPL, shmop, standard, Reflection, posix, iconv, hash, gmp, gettext, ftp, filter, exif, date, curl, ctype, calendar, bz2, zlib, openssl, apache2handler, dbase, dom, gd, json, ldap, mbstring, mysql, mysqli, PDO, pdo_mysql, pdo_sqlite, snmp, xmlreader, xmlwriter, xsl, zip
MySQL - 5.0.77
RRDTool - 1.3.8
SNMP - 5.4.1
Plugins
  • Nagios plugin for Cacti (npc - v2.0.4)
    Global Plugin Settings (settings - v0.5)
    Host Info (hostinfo - v0.2)
    Thresholds (thold - v0.4.1)
    Device Tracking (mactrack - v1.1)
Installed, and up and running, but the plugins management page doesn't seem to let you do anything except change the order of plugins. How do you install, activate etc. plugins with the new management page?
User avatar
Linegod
Developer
Posts: 1626
Joined: Thu Feb 20, 2003 10:16 am
Location: Canada
Contact:

Post by Linegod »

Installed, and up and running, but the plugins management page doesn't seem to let you do anything except change the order of plugins. How do you install, activate etc. plugins with the new management page?
There should be images under 'actions'. They should have been copied under your root images folder during patching.
Attachments
plugin_management.png
plugin_management.png (17.21 KiB) Viewed 29708 times
--
Live fast, die young
You're sucking up my bandwidth.

J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Locked

Who is online

Users browsing this forum: No registered users and 0 guests