Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support
It is currently Sat Apr 19, 2014 2:18 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 55 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
 Post subject: Cacti 0.8.6k Beta 2 Available for Testing
PostPosted: Wed Aug 01, 2007 10:34 pm 
Offline
Developer/Forum Admin
User avatar

Joined: Mon Nov 17, 2003 6:35 pm
Posts: 5903
Location: Michigan, USA
Available now, Cacti 0.8.6k Beta 2 for TESTING!

Do not use this in your production environment!

Highlighted changes:
  • 1 Minute Polling interval support
  • Web Basic Authentication
  • Updates to interface for a consistence presentation

Change log:
Quote:
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 existance
-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#0000956: Patch for tree management
-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#0000982: Remove invalid references to the "output_string" column in the "data_input" table
-bug#0000983: Bad SQL: snmp_query_graph_rrd.snmp_query_graph_id=
-bug#0000984: Poller does not correctly flush poller_output table after a memory error
-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
-bug: Correctly assign right and left click actions for Opera
-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
-feature: Let poller.php be more intelligent about poller intervals less than 60 seconds
-feature: Add consistency to Filters by adding nowrap to td items
-feature: Add Graph and Data Source counts to Device page
-feature: Add Poller Interval to Data Sources page
-feature: Keep filters aligned with main page content on window resize
-compat: Add additional checking due to php-snmp changes in Windows


Attachments:
File comment: Cacti 0.8.6k Beta 2
cacti-0.8.6k-beta2.tar.gz [1.7 MiB]
Downloaded 1134 times

_________________
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.


Last edited by rony on Mon Aug 27, 2007 2:29 pm, edited 1 time in total.
Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 01, 2007 11:19 pm 
Offline
Developer

Joined: Thu Apr 07, 2005 3:29 pm
Posts: 1442
Location: B/CS Texas
And here is the Plugin Architecture to go with this version.


Attachments:
File comment: Plugin Architecture v1.2 for Cacti v0.8.6k-beta2
cacti-plugin-0.8.6k-beta2-v1.2.zip [158.14 KiB]
Downloaded 544 times

_________________
CactiEZ CD
Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 02, 2007 2:10 am 
Offline
Cacti Guru User
User avatar

Joined: Fri Sep 19, 2003 8:36 am
Posts: 2326
Location: Sophia-Antipolis, France
Hi Tony

using SVN 4053 (Cacti and cactid), I had some errors every now and then :
Code:
08/02/2007 07:55:07 AM - SYSTEM STATS: Time:5.1843 Method:cactid Processes:1 Threads:1 Hosts:3 HostsPerProcess:3 DataSources:15 RRDsProcessed:12
08/02/2007 08:00:01 AM - POLLER: Poller[0] WARNING: Cron is out of sync with the Poller Interval!  The Poller Interval is '300' seconds, with a maximum of a '300' second Cron, but 299 seconds have passed since the last poll!
08/02/2007 08:00:06 AM - SYSTEM STATS: Time:5.1851 Method:cactid Processes:1 Threads:1 Hosts:3 HostsPerProcess:3 DataSources:15 RRDsProcessed:12

Crontab entry runs every 5 minutes, and poller is set to 5 minutes also in Cacti.

I'm currently testing beta 2 with cmd.php, and will test later with cactid.

_________________

HOWTOs :
Templates :


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 02, 2007 2:45 am 
Offline
Cacti Guru User
User avatar

Joined: Fri Sep 19, 2003 8:36 am
Posts: 2326
Location: Sophia-Antipolis, France
Same error with beta 2 and cmd.php :
Code:
08/02/2007 09:35:02 AM - SYSTEM STATS: Time:1.1589 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:13 RRDsProcessed:11
08/02/2007 09:35:01 AM - POLLER: Poller[0] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Cron, but 299 seconds have passed since the last poll!
08/02/2007 09:30:03 AM - SYSTEM STATS: Time:1.1624 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:13 RRDsProcessed:11
08/02/2007 09:25:02 AM - SYSTEM STATS: Time:1.1554 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:13 RRDsProcessed:11
08/02/2007 09:25:01 AM - POLLER: Poller[0] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Cron, but 296 seconds have passed since the last poll!
08/02/2007 09:20:07 AM - SYSTEM STATS: Time:1.1459 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:13 RRDsProcessed:11

_________________

HOWTOs :
Templates :


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 02, 2007 5:40 am 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14861
Location: MI, USA
FMangeant,

Hmm, you have drift in your time sync. I will slop up the measurements sometime today and well see if the error messages go away.

Larry

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
Gandalfs Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 02, 2007 5:46 am 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14861
Location: MI, USA
FMangent,

Look at Line 112. Change "5" to "7" and see if that does it. If so, let me know. It may simply be that the initialization of the script (that being the time it is forked from cron and the time $seconds is calculated) is high due either to server load of some other issue.

Larry

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
Gandalfs Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 02, 2007 6:34 am 
Offline
Cacti Guru User
User avatar

Joined: Fri Sep 19, 2003 8:36 am
Posts: 2326
Location: Sophia-Antipolis, France
Hi Larry

this server runs a NTP client, its time seems to be OK :
Code:
$ /usr/sbin/ntpdate -q 10.50.80.8
server 10.50.80.8, stratum 4, offset 0.013667, delay 0.02592
2 Aug 13:31:48 ntpdate[11449]: adjust time server 10.50.80.8 offset 0.013667 sec

Load is... rather low :)
Code:
$ uptime
13:33:22 up 179 days, 12:31,  1 user,  load average: 0.00, 0.00, 0.00

I've modified line 112 of poller.php, let's see if that works.

_________________

HOWTOs :
Templates :


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 02, 2007 7:23 am 
Offline
Cacti Guru User
User avatar

Joined: Fri Sep 19, 2003 8:36 am
Posts: 2326
Location: Sophia-Antipolis, France
Same error :
Code:
08/02/2007 02:15:03 PM - SYSTEM STATS: Time:1.1491 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:13 RRDsProcessed:11
08/02/2007 02:20:01 PM - POLLER: Poller[0] WARNING: Cron is out of sync with the Poller Interval!  The Poller Interval is '300' seconds, with a maximum of a '300' second Cron, but 299 seconds have passed since the last poll!
08/02/2007 02:20:02 PM - SYSTEM STATS: Time:1.1489 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:13 RRDsProcessed:11

_________________

HOWTOs :
Templates :


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 02, 2007 2:49 pm 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 22461
Location: Muenster, Germany
Frederic, is this running under VM?
Reinhard

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 02, 2007 10:44 pm 
Offline
Cacti User
User avatar

Joined: Tue Feb 10, 2004 9:28 am
Posts: 106
Location: Frisco, TX
Same problem here with Beta2 (brand new install) - So far it's happened three times in the last hour:

Code:
08/02/2007 10:05:02 PM - SYSTEM STATS: Time:1.1244 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:15 RRDsProcessed:10             
08/02/2007 10:10:00 PM - POLLER: Poller[0] WARNING: Cron is out of sync with the Poller Interval!  The Poller Interval is '300' seconds, with a maximum of a '300' second Cron, but 299 seconds have passed since the last poll!
08/02/2007 10:10:01 PM - SYSTEM STATS: Time:1.1244 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:13 RRDsProcessed:8


- FreeBSD 6.2-STABLE
- PHP 5.2.3
- MySQL 5.0.45
- NetSNMP 5.3.1

Thanks!
Roddie


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 02, 2007 10:52 pm 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14861
Location: MI, USA
Roddie,

Edit the poller.php and change the following lines to this:

Code:
//if (read_config_option('log_verbosity') >= POLLER_VERBOSITY_MEDIUM) {
   cacti_log("DEBUG: Poller Interval: '$poller_interval', Cron Interval: '$cron_interval', Max Runtime; '" . MAX_RUNTIME . "', Poller Runs: '$poller_runs'", TRUE, "POLLER");;
//}


This adds the MAX_RUNTIME to the equation and output's every run. Post your findings.

Larry

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
Gandalfs Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 02, 2007 11:59 pm 
Offline
Cacti User
User avatar

Joined: Tue Feb 10, 2004 9:28 am
Posts: 106
Location: Frisco, TX
Larry,

I'm guessing (hoping!) you meant MAX_POLLER_RUNTIME - Here's the output:

Code:
08/02/2007 11:55:00 PM - POLLER: Poller[0] DEBUG: Poller Interval: '300', Cron Interval: '300', Max Runtime; '298', Poller Runs: '1'             
08/02/2007 11:55:01 PM - SYSTEM STATS: Time:1.1229 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:13 RRDsProcessed:8


I'll post again when I get another one of those messages.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 03, 2007 12:12 am 
Offline
Cacti User
User avatar

Joined: Tue Feb 10, 2004 9:28 am
Posts: 106
Location: Frisco, TX
Didn't take long:

Code:
08/03/2007 12:10:00 AM - POLLER: Poller[0] DEBUG: Poller Interval: '300', Cron Interval: '240', Max Runtime; '238', Poller Runs: '0.8'
08/03/2007 12:10:00 AM - POLLER: Poller[0] WARNING: Cron is out of sync with the Poller Interval!  The Poller Interval is '300' seconds, with a maximum of a '300' second Cron, but 299 seconds have passed since the last poll!
08/03/2007 12:10:01 AM - SYSTEM STATS: Time:1.1492 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:13 RRDsProcessed:8


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 03, 2007 1:45 am 
Offline
Cacti Guru User
User avatar

Joined: Fri Sep 19, 2003 8:36 am
Posts: 2326
Location: Sophia-Antipolis, France
gandalf wrote:
Frederic, is this running under VM?

Hi Reinhard

no, this test system is running on a Dell PowerEdge 750 (P4 2.8 GHz w/ 1 Gb RAM), under Gentoo Linux 32 bits.

_________________

HOWTOs :
Templates :


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 03, 2007 5:37 am 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14861
Location: MI, USA
Roddie,

Are you changing around your poller interval?

Larry

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
Gandalfs Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 55 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