Cacti 0.8.6k Beta 1 Available for Testing

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:

Cacti 0.8.6k Beta 1 Available for Testing

Post by rony »

Available now, Cacti 0.8.6k Beta 1 for TESTING!

Do not use this in your production environment!

Change log:
0.8.6k
-bug#0000480: error when making a change to graphs displayed per page
-bug#0000833: favicon.ico support
-bug#0000850: Select All for list view
-bug#0000873: Poller hangs in certain situations
-bug#0000876: Ability to search for host with a not UP status
-bug#0000898: Selecting a CUSTOM timespan and then CLEARing yields "LAST HALF HOUR" preset
-bug#0000899: Settings checks paths for existence
-bug#0000902: cmd.php doesn't work with PHP 4.4.1 under windows
-bug#0000903: snmpgetnext function does not exist in PHP less than 5.0
-bug#0000904: Data Source creation fails without php-snmp
-bug#0000906: Every tenth host does not show on tree during console edit
-bug#0000907: Sorting of data sources when interface numbers are used without leading zeros are incorrectly sorted
-bug#0000908: Graphs created by SNMP data queries are losing their specific names if the template is modified
-bug#0000910: Cacti complains when trying to set the data source "maximum value" to any number with a decimal point
-bug#0000912: Nth Percentile thumbnail graphs fail with RRDtool 1.2.15, 1.2.18
-bug#0000913: Allow direct linking to specific graph pages
-bug#0000919: Problem with ping_tcp function in 8.6j and possible fix.
-bug#0000920: Improved handling of rrdtool --font parameter
-bug#0000921: Improvement to ping.pl script
-bug#0000925: Support for host_* variables in the legend
-bug#0000927: Classic export does not recognize thumbnail columns properly
-bug#0000931: New rrdtool fails on empty comment
-bug#0000934: Column 'status_last_error' in table 'host' too short.
-bug#0000937: System output in hosts.php poor for Alcatel
-bug#0000946: Timetick of zero returns down for device
-bug#0000953: SNMP Passphrase displayed in cleartext
-bug#0000955: Fixed possible denial of service attack by modifying graph image url
-bug#0000957: Script server output's beginning/trailing data during "Include" causing a synchronization issue
-bug#0000958: Slope Mode is now selectable
-bug#0000959: Alarming added when poller output table is not empty
-bug#0000963: TCP/UDP capitalization
-bug#0000965: When setting filters under utilities, pressing enter takes you back to the main page
-bug#0000966: Log file viewing utility has no ability to filter
-bug#0000969: In some versions of PHP, the graph tree will not view properly
-bug#0000970: Incorrect debug messages in lib/ping.php for failed UDP ping
-bug: ss_sql.php causes the script server to crash
-bug: Timeshifter added to base code.
-bug: Allow query_ and host_ substitution in COMMENT and CDEF's.
-bug: Command line interface scripts to add devices, graphs, tree's and permissions.
-bug: Correct index error when creating graphs when you have no hosts on your system.
-bug: More recent versions of net-snmp broke SNMP walk functions.
-bug: Adjust for problematic responses from some SNMP agents (IBM AIX).
-bug: Improve logging in cmd.php and poller.php when parameters are not specified correctly.
-bug: Reduce the total number of SQL queries called
-bug: Replace inefficient strip function in process_poller_output
-bug: Some php_snmp implementations return strings as "Hex-STRING:". In these cases properly resolve the string
-feature: Paginate the Graph Creation Page
-feature: Add rra_path as a global.php config variable
-feature: Add drop down actions to data queries
-feature: Add drop down actions to data input methods
-feature: Add filtering and pagination to data queries
-feature: Add filtering and pagination to data input methods
-feature: Add filtering and pagination to host templates
-feature: Add filtering and pagination to user administration
-feature: Add Web Basic authentication
-feature: Add authentication realm to modifiable user parameters
-feature: Add multiple polling intervals
-feature: Moved command line scripts to cli sub directory
-feature: include/config.php now only includes database configuration
-feature: include/config_* have been renamed to include/global_*. Note: Script servers need to be updated.
-feature: Allow VRULE's in Cacti to specify an absolute timestamp in addition to [+/-]HH:MM
-feature: Add 1 minute RRA and graph templates
-feature: Add item select highlighting to main pages
-compat: Add additional checking due to php-snmp changes in Windows
Attachments
cacti-0.8.6k-beta1.tar.gz
Cacti 0.8.6k Beta 1
(1.7 MiB) Downloaded 3414 times
Last edited by rony on Mon Aug 27, 2007 2:30 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]
melvinshaw
Posts: 6
Joined: Tue Feb 13, 2007 5:14 pm
Location: Columbus, OH

WOW!

Post by melvinshaw »

That's a lot of fixes. Great work guys!
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

All,

Please note that there have been significant changes in the way scripts are delivered and in several components in the "include" directory. In the past, you could simply copy the new files over your existing installation update one line in your config.php and call it a day.

However, that has changed with this version. Please pay particular attention to the files that have been removed from <path_cacti> and obsoleted in <path_cacti>/include. We now have a CLI directory that houses many of the command level scripts. In addition, the format of the config.php file has changed dramatically.

Please make sure you are very careful with this upgrade. Also, please note, that if you are using the Plugin In Architecture, you will need to await a compatible version of it prior to testing. Cigamit should post when and where that will be available.

Regards,

TheWitness
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?
Cacti Jack
Posts: 36
Joined: Wed Mar 21, 2007 11:14 am

Re: Cacti 0.8.6k Beta 1 Available for Testing

Post by Cacti Jack »

Do not use this in your production environment!

There you go again with your silly 'best practices' .. pfft. :P

In all seriousness, good work guys, thats an impressive bugfix and feature list for this release.
Last edited by Cacti Jack on Thu Jul 26, 2007 11:48 am, edited 1 time in total.
|Server: Cacti 0.8.7 |Win 2003 MySQL 5.0.37| PHP 5.2.2 | RRDtool 1.2.19 | Spine 0.8.7a|
apperrault
Cacti User
Posts: 379
Joined: Fri Feb 16, 2007 11:37 am
Location: Emeryville, CA
Contact:

Post by apperrault »

Question for you Wonderful developers. When the new version K goes final, what will the upgrade path be? do you think it will be basically a clean install, and then migrate the graphs, or will there be some way to upgrade the current version.

I can't wait!!!

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]
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

I always suggest creating a new directory with Cacti installed and ready and just moving everything around with the poller isn't running.
[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
rcaston
Cacti User
Posts: 204
Joined: Tue Jan 06, 2004 7:47 pm
Location: US-Dallas, TX
Contact:

Post by rcaston »

TheWitness wrote:All,
Please make sure you are very careful with this upgrade. Also, please note, that if you are using the Plugin In Architecture, you will need to await a compatible version of it prior to testing. Cigamit should post when and where that will be available.
So until then, we won't be able to test any of the plugins with this release (such as boost) ?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Rodnie,

Right, but Jimmy's been keeping things upto date. So, it won't be long.

Larry
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
rcaston
Cacti User
Posts: 204
Joined: Tue Jan 06, 2004 7:47 pm
Location: US-Dallas, TX
Contact:

Post by rcaston »

Some feedback,

I went to test the paginated graphs first, the interface looks, and works - some minor formatting issues showed up in how the data is presented; but I don't imagine anyone would consider that a big issue since it only impacts the way the boxes line up (in a minor way) on the create graphs screen; I think most of us only care that it works; which it does. (Attached is a screencap.)

My only question is - was javascript removed? While we can add interfaces using the new gui (which works great btw); we would still lack the ability to tell which ones have already been added, and the safeguard of not being able to add a interface twice.
Attachments
Formatting.PNG
Formatting.PNG (72.82 KiB) Viewed 29688 times
Last edited by rcaston on Thu Jul 26, 2007 1:04 pm, edited 1 time in total.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

apperrault,

What typically works well for me is the following:

0) If you are using the PIA, install those files into your installation directory.
1) In your install directory, modify the config.php file per your site specifications
2) Add plugins etc to the installation directories plugin directory as required.
3) Backup your production environment with the exception of the RRA folder
4) Copy all "Non-Standard" scripts from <production_path>/cacti/scripts to <install_path>/cacti/scripts. Do not overwrite any "standard" scripts.
5) Alter all PHP scripts and change "include("../include/config.php')" to "include('../include/global.php')".
6) Change ownership on the installation directory to what your web server requires
7) Then, finally "cp -rp <installation_path>/cacti <production_path>/cacti"

This will work for 0.8.6k. However, you will have some cleanup to do. Essentially, all the files now in <production_path>/cacti/cli should be removed from <production_path>/cacti, and all the files labeled <production_path>/include/config_*.php should be removed.

NOTE: However, please note, due to the change in the way Cacti loads, you need to modify all of your scripts and script server scripts to include the "new" method for initializing Cacti. AKA change "include('../include/config.php')" to what it should now be "include('../include/global.php')". Don't forget that...
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?
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

Plugin Architecture v1.2 for Cacti v0.8.6k-beta1

It includes both the patch, and the pre-patched files. Just to note, thold needs a minor update to work with the changes to the data_sources.php changes. I will push out a new version with these changes v0.3.5.1 in a bit for everyone to test.
Last edited by cigamit on Thu Jul 26, 2007 1:22 pm, edited 2 times in total.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Rodnie,

That function should still work. If not, it's a bug. The Javascript still exists, you just can not turn it off now... Please advise.

Larry
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
rcaston
Cacti User
Posts: 204
Joined: Tue Jan 06, 2004 7:47 pm
Location: US-Dallas, TX
Contact:

Post by rcaston »

TheWitness wrote:Rodnie,

That function should still work. If not, it's a bug. The Javascript still exists, you just can not turn it off now... Please advise.

Larry

You are right, it does work for all other graph types, including one of my own custom data queries..

However, for some reason "SNMP - Interface Statistics" is not working right.
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

TheWitness wrote:NOTE: However, please note, due to the change in the way Cacti loads, you need to modify all of your scripts and script server scripts to include the "new" method for initializing Cacti. AKA change "include('../include/config.php')" to what it should now be "include('../include/global.php')". Don't forget that...
Also, since some plugins also include "config.php" instead of "global.php" you can get them working by modifying "config.php" and placing this at the bottom (before the ?> ) until the plugins are updated.

include_once(dirname(__FILE__) . '/global.php');
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

rcaston wrote:You are right, it does work for all other graph types, including one of my own custom data queries..

However, for some reason "SNMP - Interface Statistics" is not working right.
"SNMP - Interface Statistics" seems to work fine on my install for me.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests