Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Thu Mar 30, 2017 4:00 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 49 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
 Post subject: Cacti 0.8.7h Beta Release Discussion
PostPosted: Sun Mar 06, 2011 10:18 pm 
Offline
Developer/Forum Admin
User avatar

Joined: Mon Nov 17, 2003 6:35 pm
Posts: 5939
Location: Michigan, USA
Please discuss any issues with the Cacti 0.8.7h beta release here! This includes PIA and Spine issues as well!

For those that missed it, you can download the beta here:
Cacti 0.8.7h Beta Release

_________________
Tony Roman
Experience is what causes a person to make new mistakes instead of old ones.
There are only 3 way to complete a project: Good, Fast or Cheap, pick two.
With age comes wisdom, what you choose to do with it determines whether or not you are wise.


Top
 Profile  
 
 Post subject: Re: Cacti 0.8.7h Beta Release Discussion
PostPosted: Mon Mar 07, 2011 12:29 am 
Offline
Cacti Guru User

Joined: Thu Aug 05, 2010 2:04 am
Posts: 1573
Location: Japan
When newly apply cacti-plugin-arch-v3.0-beta1 to fresh installed cacti-0.8.7h-beta1,
add '$url_path' to include/config.php manually.

Otherwise, modify diff file before applying as follows:
(at line 660-707)
Code:
diff -Naur cacti-0.8.7h/include/config.php cacti-0.8.7h-pia/include/config.php
--- cacti-0.8.7h/include/config.php     1969-12-31 19:00:00.000000000 -0500
+++ cacti-0.8.7h-pia/include/config.php 2011-03-06 18:39:47.827003327 -0500
@@ -31,6 +31,13 @@
$database_port = "3306";
$database_ssl = false;

+/*
+   Edit this to point to the default URL of your Cacti install
+   ex: if your cacti install as at http://serverip/cacti/ this
+   would be set to /cacti/
+*/
+$url_path = "/";
+
/* Default session name - Session name must contain alpha characters */
#$cacti_session_name = "Cacti";



// Sorry my English


Top
 Profile  
 
 Post subject: Re: Cacti 0.8.7h Beta Release Discussion
PostPosted: Mon Mar 07, 2011 5:02 am 
Offline
Cacti User

Joined: Mon Jan 17, 2011 12:15 pm
Posts: 155
Hi,

Is it available only on svn ?

Thanks for your ansver


Top
 Profile  
 
 Post subject: Re: Cacti 0.8.7h Beta Release Discussion
PostPosted: Mon Mar 07, 2011 6:53 am 
Offline

Joined: Mon Oct 27, 2003 9:13 am
Posts: 37
Location: Germany, Potsdam
Hi,

problems with script_server:



php /diskb/ext4/cacti-0.8.7h/script_server.php
PHP Script Server has Started - Parent is cmd
/diskb/ext4/cacti-0.8.7h/scripts/ss_poller.php ss_poller
PHP Notice: Undefined variable: function in /diskb/ext4/cacti-0.8.7h/script_server.php on line 194
PHP Stack trace:
PHP 1. {main}() /diskb/ext4/cacti-0.8.7h/script_server.php:0
PHP Notice: Undefined variable: function in /diskb/ext4/cacti-0.8.7h/script_server.php on line 215
PHP Stack trace:
PHP 1. {main}() /diskb/ext4/cacti-0.8.7h/script_server.php:0
PHP Notice: Undefined variable: function in /diskb/ext4/cacti-0.8.7h/script_server.php on line 231
PHP Stack trace:
PHP 1. {main}() /diskb/ext4/cacti-0.8.7h/script_server.php:0
PHP Deprecated: Function define_syslog_variables() is deprecated in /diskb/ext4/cacti-0.8.7h/lib/functions.php on line 520
PHP Stack trace:
PHP 1. {main}() /diskb/ext4/cacti-0.8.7h/script_server.php:0
PHP 2. cacti_log() /diskb/ext4/cacti-0.8.7h/script_server.php:231
U

PHP Deprecated: Function define_syslog_variables() is deprecated in /diskb/ext4/cacti-0.8.7h/lib/functions.php on line 520
PHP Stack trace:
PHP 1. {main}() /diskb/ext4/cacti-0.8.7h/script_server.php:0
PHP 2. sig_handler() /diskb/ext4/cacti-0.8.7h/script_server.php:0
PHP 3. cacti_log() /diskb/ext4/cacti-0.8.7h/script_server.php:44


by


Top
 Profile  
 
 Post subject: Re: Cacti 0.8.7h Beta Release Discussion
PostPosted: Mon Mar 07, 2011 9:28 am 
Offline
Developer/Forum Admin
User avatar

Joined: Mon Nov 17, 2003 6:35 pm
Posts: 5939
Location: Michigan, USA
c3226026 wrote:
Hi,

Is it available only on svn ?

Thanks for your ansver


Look in the Beta Announcements forum!

_________________
Tony Roman
Experience is what causes a person to make new mistakes instead of old ones.
There are only 3 way to complete a project: Good, Fast or Cheap, pick two.
With age comes wisdom, what you choose to do with it determines whether or not you are wise.


Top
 Profile  
 
 Post subject: Re: Cacti 0.8.7h Beta Release Discussion
PostPosted: Mon Mar 07, 2011 9:29 am 
Offline
Developer/Forum Admin
User avatar

Joined: Mon Nov 17, 2003 6:35 pm
Posts: 5939
Location: Michigan, USA
noname wrote:
When newly apply cacti-plugin-arch-v3.0-beta1 to fresh installed cacti-0.8.7h-beta1,
add '$url_path' to include/config.php manually.

Otherwise, modify diff file before applying as follows:
(at line 660-707)
Code:
diff -Naur cacti-0.8.7h/include/config.php cacti-0.8.7h-pia/include/config.php
--- cacti-0.8.7h/include/config.php     1969-12-31 19:00:00.000000000 -0500
+++ cacti-0.8.7h-pia/include/config.php 2011-03-06 18:39:47.827003327 -0500
@@ -31,6 +31,13 @@
$database_port = "3306";
$database_ssl = false;

+/*
+   Edit this to point to the default URL of your Cacti install
+   ex: if your cacti install as at http://serverip/cacti/ this
+   would be set to /cacti/
+*/
+$url_path = "/";
+
/* Default session name - Session name must contain alpha characters */
#$cacti_session_name = "Cacti";




I missed this when I create the build, it will be fixed in the final release.

_________________
Tony Roman
Experience is what causes a person to make new mistakes instead of old ones.
There are only 3 way to complete a project: Good, Fast or Cheap, pick two.
With age comes wisdom, what you choose to do with it determines whether or not you are wise.


Top
 Profile  
 
 Post subject: Re: Cacti 0.8.7h Beta Release Discussion
PostPosted: Mon Mar 07, 2011 9:29 am 
Offline
Developer/Forum Admin
User avatar

Joined: Mon Nov 17, 2003 6:35 pm
Posts: 5939
Location: Michigan, USA
bfek-18 wrote:
Hi,

problems with script_server:



php /diskb/ext4/cacti-0.8.7h/script_server.php
PHP Script Server has Started - Parent is cmd
/diskb/ext4/cacti-0.8.7h/scripts/ss_poller.php ss_poller
PHP Notice: Undefined variable: function in /diskb/ext4/cacti-0.8.7h/script_server.php on line 194
PHP Stack trace:
PHP 1. {main}() /diskb/ext4/cacti-0.8.7h/script_server.php:0
PHP Notice: Undefined variable: function in /diskb/ext4/cacti-0.8.7h/script_server.php on line 215
PHP Stack trace:
PHP 1. {main}() /diskb/ext4/cacti-0.8.7h/script_server.php:0
PHP Notice: Undefined variable: function in /diskb/ext4/cacti-0.8.7h/script_server.php on line 231
PHP Stack trace:
PHP 1. {main}() /diskb/ext4/cacti-0.8.7h/script_server.php:0
PHP Deprecated: Function define_syslog_variables() is deprecated in /diskb/ext4/cacti-0.8.7h/lib/functions.php on line 520
PHP Stack trace:
PHP 1. {main}() /diskb/ext4/cacti-0.8.7h/script_server.php:0
PHP 2. cacti_log() /diskb/ext4/cacti-0.8.7h/script_server.php:231
U

PHP Deprecated: Function define_syslog_variables() is deprecated in /diskb/ext4/cacti-0.8.7h/lib/functions.php on line 520
PHP Stack trace:
PHP 1. {main}() /diskb/ext4/cacti-0.8.7h/script_server.php:0
PHP 2. sig_handler() /diskb/ext4/cacti-0.8.7h/script_server.php:0
PHP 3. cacti_log() /diskb/ext4/cacti-0.8.7h/script_server.php:44


by


Please submit a bug and target the version to 0.8.7h-Beta.

http://www.cacti.net/bugs.php

_________________
Tony Roman
Experience is what causes a person to make new mistakes instead of old ones.
There are only 3 way to complete a project: Good, Fast or Cheap, pick two.
With age comes wisdom, what you choose to do with it determines whether or not you are wise.


Top
 Profile  
 
 Post subject: Re: Cacti 0.8.7h Beta Release Discussion
PostPosted: Sun Mar 27, 2011 7:22 am 
Offline
Cacti User

Joined: Mon Jan 17, 2011 12:15 pm
Posts: 155
Hi rony,

I test the 0.8.7h beta1 version with spine on debian squeeze, and I have an error each time I add a host in the tree :

03/27/2011 03:11:18 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1064', SQL:"LOCK TABLES graph_tree_items'

but the host in fact is well add in the tree

Best Regards


Top
 Profile  
 
 Post subject: Re: Cacti 0.8.7h Beta Release Discussion
PostPosted: Sun Mar 27, 2011 9:17 am 
Offline
Developer/Forum Admin
User avatar

Joined: Mon Nov 17, 2003 6:35 pm
Posts: 5939
Location: Michigan, USA
c3226026 wrote:
Hi rony,

I test the 0.8.7h beta1 version with spine on debian squeeze, and I have an error each time I add a host in the tree :

03/27/2011 03:11:18 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1064', SQL:"LOCK TABLES graph_tree_items'

but the host in fact is well add in the tree

Best Regards


What version of mysql are you running?

_________________
Tony Roman
Experience is what causes a person to make new mistakes instead of old ones.
There are only 3 way to complete a project: Good, Fast or Cheap, pick two.
With age comes wisdom, what you choose to do with it determines whether or not you are wise.


Top
 Profile  
 
 Post subject: Re: Cacti 0.8.7h Beta Release Discussion
PostPosted: Sun Mar 27, 2011 11:23 am 
Offline
Cacti User

Joined: Mon Jan 17, 2011 12:15 pm
Posts: 155
rony wrote:

What version of mysql are you running?


Sorry :

NET-SNMP version: 5.4.3
RRDTool 1.4.x
Apache/2.2.16 (Debian)
PHP Version 5.3.3-7+squeeze1
MySQL 5.1.49 (last version available on debian)

I can done some tests if you want.


Top
 Profile  
 
 Post subject: Re: Cacti 0.8.7h Beta Release Discussion
PostPosted: Mon Mar 28, 2011 8:37 am 
Offline
Developer/Forum Admin
User avatar

Joined: Mon Nov 17, 2003 6:35 pm
Posts: 5939
Location: Michigan, USA
Please do a "show create table version" on the Cacti database and post the results.

Thanks

_________________
Tony Roman
Experience is what causes a person to make new mistakes instead of old ones.
There are only 3 way to complete a project: Good, Fast or Cheap, pick two.
With age comes wisdom, what you choose to do with it determines whether or not you are wise.


Top
 Profile  
 
 Post subject: Re: Cacti 0.8.7h Beta Release Discussion
PostPosted: Mon Mar 28, 2011 12:38 pm 
Offline
Cacti User

Joined: Mon Jan 17, 2011 12:15 pm
Posts: 155
of course :

+---------+-------------------------------------------------------------------------------------------------+
| Table | Create Table |
+---------+-------------------------------------------------------------------------------------------------+
| version | CREATE TABLE `version` (
`cacti` char(20) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 |
+---------+-------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)

PS : for information, I've same thing when I delete a host :

03/28/2011 08:56:17 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1064', SQL:"LOCK TABLES graph_tree_items'



[Edit] I've done a new fresh install (server + cacti) and all seems OK, strange, but good news [/Edit]


Top
 Profile  
 
 Post subject: Re: Cacti 0.8.7h Beta Release Discussion
PostPosted: Mon Mar 28, 2011 6:14 pm 
Offline
Developer/Forum Admin
User avatar

Joined: Mon Nov 17, 2003 6:35 pm
Posts: 5939
Location: Michigan, USA
This isn't happening on a new install?

Maybe the user doesn't have permissions to lock tables?

_________________
Tony Roman
Experience is what causes a person to make new mistakes instead of old ones.
There are only 3 way to complete a project: Good, Fast or Cheap, pick two.
With age comes wisdom, what you choose to do with it determines whether or not you are wise.


Top
 Profile  
 
 Post subject: Re: Cacti 0.8.7h Beta Release Discussion
PostPosted: Tue Mar 29, 2011 12:22 am 
Offline
Cacti User

Joined: Mon Jan 17, 2011 12:15 pm
Posts: 155
rony wrote:
This isn't happening on a new install?

Maybe the user doesn't have permissions to lock tables?


Yes it is, no error on this new install, I've an other server to install, I take you my return about this other server.

For permissions, I don't think because I've use the same commande line to install it, but ...

Thanks, I take my return ASAP


Top
 Profile  
 
 Post subject: Re: Cacti 0.8.7h Beta Release Discussion
PostPosted: Fri Apr 01, 2011 3:31 pm 
Offline
Cacti User

Joined: Mon Jan 17, 2011 12:15 pm
Posts: 155
Hi rony,

Sorry for the later, but I've tested several installs.
All works fine and better than with 0.8.7g, except for network interface traffic => NaN

How can I debug it ?

Thanks in advanced for your help


PS : when beta2 or stable version available ?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 49 posts ]  Go to page 1, 2, 3, 4  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group