Release of Cacti 0.8.7g

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

Moderators: Developers, Moderators

aaronnicoli
Posts: 33
Joined: Tue May 05, 2009 7:28 pm

Weird Issue with one set of graphs

Post by aaronnicoli »

Hi there,

Yesterday afternoon I upgraded (from F), and well everything is going fine... except:

I have one set of graphs monitoring ports on one of our routers, which is getting data but the data it gets via SNMP get request is roughly 100x what it used to to, with no updates to the template...
So where things used to be 2mbps they are now 200mbps, but the even stranger thing is when I run realtime on the graphs I get the normal 2-3mbps as the output. Yet these high +07 rather than +05 figures continue to be written to the rrd's.

Any ideas???

UPDATE:

I get the following values from the log:

11:01 159233835417
10:56 150431308115
10:51 142154868580

Which is a little disturbing... still cannot work it out.
Last edited by aaronnicoli on Wed Jul 14, 2010 8:20 pm, edited 1 time in total.
User avatar
TheWitness
Developer
Posts: 16997
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Logging in medium for the for a pass or two might help. You need to compare to the real data and make sure your indexes are correct and also look at the graph syntax. There may be a CDEF issue. Not too sure.
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?
sukanta
Cacti User
Posts: 139
Joined: Tue Jan 26, 2010 6:12 am

Post by sukanta »

Getting Following error after installing PIA..

Fatal error: Call to undefined function clean_html_output() in /usr/local/apache2/htdocs/cacti/auth_login.php on line 320
sukanta
Cacti User
Posts: 139
Joined: Tue Jan 26, 2010 6:12 am

Post by sukanta »

Solved after replacing clean_html_output with htmlspecialchars

Pl confirm is ihis the solution?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

sukanta wrote:Getting Following error after installing PIA..

Fatal error: Call to undefined function clean_html_output() in /usr/local/apache2/htdocs/cacti/auth_login.php on line 320
I'm not seeing this issue on my installation.

What are you doing to get that error?
sukanta
Cacti User
Posts: 139
Joined: Tue Jan 26, 2010 6:12 am

Post by sukanta »

It is in Solaris..After installing PA it comes even in login page....
sukanta
Cacti User
Posts: 139
Joined: Tue Jan 26, 2010 6:12 am

Post by sukanta »

Finding Duplicate Tree Item when adding second time:

When placing any host in any tree item it is showing in Graph but when doing the same job once gain there is another host created in tree with same name... It was not here in 7e.....
emerson.fp
Posts: 8
Joined: Mon Jul 19, 2010 3:21 pm
Location: Brasil

Post by emerson.fp »

The default instalation cacti is OK.
But spine 0.8.7g is not ok...
errors:
07/20/2010 05:32:59 PM - SYSTEM STATS: Time:59.1758 Method:spine Processes:1 Threads:1 Hosts:3 HostsPerProcess:3 DataSources:29 RRDsProcessed:0
07/20/2010 05:32:59 PM - POLLER: Poller[0] Maximum runtime of 58 seconds exceeded. Exiting.
aleu
Cacti User
Posts: 216
Joined: Mon Dec 11, 2006 10:17 am

Post by aleu »

sukanta wrote:Finding Duplicate Tree Item when adding second time:

When placing any host in any tree item it is showing in Graph but when doing the same job once gain there is another host created in tree with same name... It was not here in 7e.....
Yeah, I can see that too. A bit annoying, but oh well.
User avatar
TheWitness
Developer
Posts: 16997
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Yea, my bad. I have to correct, but I'm tapped out. By Monday night PST, it will be fixed and in SVN. Patch to follow.

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?
sukanta
Cacti User
Posts: 139
Joined: Tue Jan 26, 2010 6:12 am

Post by sukanta »

Any Update?
sodium
Cacti User
Posts: 115
Joined: Wed Feb 01, 2006 10:29 am

Post by sodium »

sorry for the crosspost...

spine 0.8.7g segfaults (set loglevel to debug) otherwise you'll miss this :)


./spine -R
SPINE: Using spine config file [/opt/cacti/include/spine.conf]
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: The path_php_server variable is /opt/cacti/script_server.php
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: The path_cactilog variable is /opt/cacti/log/cacti.log
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: The log_destination variable is 1 (FILE)
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: The path_php variable is /usr/bin/php
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: The availability_method variable is 2
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: The ping_recovery_count variable is 3
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: The ping_failure_count variable is 2
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: The ping_method variable is 1
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: The ping_retries variable is 1
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: The ping_timeout variable is 400
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: The snmp_retries variable is 3
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: The log_perror variable is 0
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: The log_pwarn variable is 0
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: The boost_redirect variable is 0
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: The log_pstats variable is 0
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: The threads variable is 15
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: The polling interval is 300 seconds
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: The number of concurrent processes is 1
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: The script timeout is 120
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: The number of php script servers to run is 1
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: StartHost='-1', EndHost='-1', TotalPHPScripts='1'
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: The PHP Script Server is Required
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: The Maximum SNMP OID Get Size is 30
07/29/2010 02:39:17 PM - SPINE: Poller[0] Version 0.8.7g starting
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: MySQL is Thread Safe!
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: Spine is running asroot.
07/29/2010 02:39:17 PM - SPINE: Poller[0] SPINE: Initializing Net-SNMP API
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: Issues with SNMP Header Version information, assuming old version of Net-SNMP.
07/29/2010 02:39:17 PM - SPINE: Poller[0] SPINE: Initializing PHP Script Server(s)
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: SS[0] PHP Script Server Routine Starting
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: SS[0] PHP Script Server About to FORK Child Process
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: SS[0] PHP Script Server Child FORK Success
07/29/2010 02:39:18 PM - SPINE: Poller[0] DEBUG: SS[0] Confirmed PHP Script Server running using readfd[7], writefd[6]
07/29/2010 02:39:18 PM - SPINE: Poller[0] NOTE: Spine did not detect multithreaded device polling.
07/29/2010 02:39:18 PM - SPINE: Poller[0] NOTE: Spine is behaving in a 0.8.7g manner
07/29/2010 02:39:18 PM - SPINE: Poller[0] DEBUG: Initial Value of Active Threads is 0
07/29/2010 02:39:18 PM - SPINE: Poller[0] DEBUG: In Poller, About to Start Polling of Host
07/29/2010 02:39:18 PM - SPINE: Poller[0] DEBUG: Valid Thread to be Created
07/29/2010 02:39:18 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 1
07/29/2010 02:39:18 PM - SPINE: Poller[0] DEBUG: In Poller, About to Start Polling of Host
07/29/2010 02:39:18 PM - SPINE: Poller[0] DEBUG: Valid Thread to be Created
07/29/2010 02:39:18 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 2
07/29/2010 02:39:18 PM - SPINE: Poller[0] Host[0] TH[1] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
07/29/2010 02:39:18 PM - SPINE: Poller[0] Host[391] SNMP Result: Host responded to SNMP
07/29/2010 02:39:18 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 1
07/29/2010 02:39:18 PM - SPINE: Poller[0] Host[391] TH[1] RECACHE: Processing 2 items in the auto reindex cache for '127.0.0.1'
07/29/2010 02:39:18 PM - SPINE: Poller[0] Host[391] TH[1] NOTE: There are '21' Polling Items for this Host
07/29/2010 02:39:18 PM - SPINE: Poller[0] Host[391] TH[1] DS[53052] SS[0] SERVER: /opt/cacti/scripts/ss_poller.php ss_poller, output: Time:1.2218 Method:spine Processes:1 Threads:15 Hosts:2 HostsPerProcess:2 DataSources:21 RRDsProcessed:13
07/29/2010 02:39:18 PM - SPINE: Poller[0] Host[391] DEBUG: The NIFTY POPEN returned the following File Descriptor 5
07/29/2010 02:39:18 PM - SPINE: Poller[0] Host[391] TH[1] DS[53053] SCRIPT: /usr/bin/perl /opt/cacti/scripts/loadavg_multi.pl, output: 1min:0.01 5min:0.02 10min:0.00
07/29/2010 02:39:18 PM - SPINE: Poller[0] Host[391] DEBUG: The NIFTY POPEN returned the following File Descriptor 5
07/29/2010 02:39:18 PM - SPINE: Poller[0] Host[391] TH[1] DS[53054] SCRIPT: /usr/bin/perl /opt/cacti/scripts/unix_users.pl , output: 2
07/29/2010 02:39:18 PM - SPINE: Poller[0] Host[391] DEBUG: The NIFTY POPEN returned the following File Descriptor 5
07/29/2010 02:39:18 PM - SPINE: Poller[0] Host[391] TH[1] DS[53055] SCRIPT: /usr/bin/perl /opt/cacti/scripts/ping.pl 127.0.0.1, output: 0.021
07/29/2010 02:39:18 PM - SPINE: Poller[0] Host[391] DEBUG: The NIFTY POPEN returned the following File Descriptor 5
07/29/2010 02:39:18 PM - SPINE: Poller[0] Host[391] TH[1] DS[53056] SCRIPT: /usr/bin/perl /opt/cacti/scripts/unix_processes.pl, output: 152
*** glibc detected *** ./spine: free(): invalid pointer: 0x00007f3428000c01 ***
======= Backtrace: =========
/lib/libc.so.6[0x7f342caec0ea]
/lib/libc.so.6(cfree+0x8c)[0x7f342caefc7c]
./spine[0x409273]
./spine[0x40b2ef]
/lib/libpthread.so.0[0x7f342d0613f7]
/lib/libc.so.6(clone+0x6d)[0x7f342cb4fbbd]
======= Memory map: ========
00400000-00415000 r-xp 00000000 68:11 14672400 /opt/cacti/download/cacti-spine-0.8.7g/spine
00614000-00615000 rw-p 00014000 68:11 14672400 /opt/cacti/download/cacti-spine-0.8.7g/spine
00615000-00764000 rw-p 00615000 00:00 0 [heap]
40eda000-40edb000 ---p 40eda000 00:00 0
40edb000-416db000 rw-p 40edb000 00:00 0
41dd5000-41dd6000 ---p 41dd5000 00:00 0
41dd6000-425d6000 rw-p 41dd6000 00:00 0
7f3428000000-7f3428026000 rw-p 7f3428000000 00:00 0
7f3428026000-7f342c000000 ---p 7f3428026000 00:00 0
7f342c45a000-7f342c464000 r-xp 00000000 68:01 80897 /lib/libnss_files-2.7.so
7f342c464000-7f342c664000 ---p 0000a000 68:01 80897 /lib/libnss_files-2.7.so
7f342c664000-7f342c666000 rw-p 0000a000 68:01 80897 /lib/libnss_files-2.7.so
7f342c666000-7f342c673000 r-xp 00000000 68:01 80884 /lib/libgcc_s.so.1
7f342c673000-7f342c873000 ---p 0000d000 68:01 80884 /lib/libgcc_s.so.1
7f342c873000-7f342c874000 rw-p 0000d000 68:01 80884 /lib/libgcc_s.so.1
7f342c874000-7f342c876000 r-xp 00000000 68:01 80891 /lib/libdl-2.7.so
7f342c876000-7f342ca76000 ---p 00002000 68:01 80891 /lib/libdl-2.7.so
7f342ca76000-7f342ca78000 rw-p 00002000 68:01 80891 /lib/libdl-2.7.so
7f342ca78000-7f342cbd0000 r-xp 00000000 68:01 80888 /lib/libc-2.7.so
7f342cbd0000-7f342cdd0000 ---p 00158000 68:01 80888 /lib/libc-2.7.so
7f342cdd0000-7f342cdd3000 r--p 00158000 68:01 80888 /lib/libc-2.7.so
7f342cdd3000-7f342cdd5000 rw-p 0015b000 68:01 80888 /lib/libc-2.7.so
7f342cdd5000-7f342cdda000 rw-p 7f342cdd5000 00:00 0
7f342cdda000-7f342ce5a000 r-xp 00000000 68:01 80892 /lib/libm-2.7.so
7f342ce5a000-7f342d059000 ---p 00080000 68:01 80892 /lib/libm-2.7.so
7f342d059000-7f342d05b000 rw-p 0007f000 68:01 80892 /lib/libm-2.7.so
7f342d05b000-7f342d071000 r-xp 00000000 68:01 82784 /lib/libpthread-2.7.so
7f342d071000-7f342d271000 ---p 00016000 68:01 82784 /lib/libpthread-2.7.so
7f342d271000-7f342d273000 rw-p 00016000 68:01 82784 /lib/libpthread-2.7.so
7f342d273000-7f342d277000 rw-p 7f342d273000 00:00 0
7f342d277000-7f342d28d000 r-xp 00000000 68:06 106442 /usr/lib/libz.so.1.2.3.3
7f342d28d000-7f342d48d000 ---p 00016000 68:06 106442 /usr/lib/libz.so.1.2.3.3
7f342d48d000-7f342d48e000 rw-p 00016000 68:06 106442 /usr/lib/libz.so.1.2.3.3
7f342d48e000-7f342d5e9000 r-xp 00000000 68:06 106217 /usr/lib/libcrypto.so.0.9.8
7f342d5e9000-7f342d7e8000 ---p 0015b000 68:06 106217 /usr/lib/libcrypto.so.0.9.8
7f342d7e8000-7f342d80b000 rw-p 0015a000 68:06 106217 /usr/lib/libcrypto.so.0.9.8
7f342d80b000-7f342d80e000 rw-p 7f342d80b000 00:00 0
7f342d80e000-7f342d824000 r-xp 00000000 68:01 80894 /lib/libnsl-2.7.so
7f342d824000-7f342da23000 ---p 00016000 68:01 80894 /lib/libnsl-2.7.so
7f342da23000-7f342da25000 rw-p 00015000 68:01 80894 /lib/libnsl-2.7.so
7f342da25000-7f342da27000 rw-p 7f342da25000 00:00 0
7f342da27000-7f342da30000 r-xp 00000000 68:01 80890 /lib/libcrypt-2.7.so
7f342da30000-7f342dc2f000 ---p 00009000 68:01 80890 /lib/libcrypt-2.7.so
7f342dc2f000-7f342dc31000 rw-p 00008000 68:01 80890 /lib/libcrypt-2.7.so
7f342dc31000-7f342dc5f000 rw-p 7f342dc31000 00:00 0
7f342dc5f000-7f342de1b000 r-xp 00000000 68:06 108244 /usr/lib/libmysqlclient_r.so.15.0.0
7f342de1b000-7f342e01a000 ---p 001bc000 68:06 108244 /usr/lib/libmysqlclient_r.so.15.0.0
7f342e01a000-7f342e063000 rw-p 001bb000 68:06 108244 /usr/lib/libmysqlclient_r.so.15.0.0
7f342e063000-7f342e064000 rw-p 7f342e063000 00:00 0
7f342e064000-7f342e0f6000 r-xp 00000000 68:06 108192 /usr/lib/libnetsnmp.so.15.1.0
7f342e0f6000-7f342e2f5000 ---p 00092000 68:06 108192 /usr/lib/libnetsnmp.so.15.1.0
7f342e2f5000-7f342e2f8000 rw-p 00091000 68:06 108192 /usr/lib/libnetsnmp.so.15.1.0
7f342e2f8000-7f342e32c000 rw-p 7f342e2f8000 00:00 0
7f342e32c000-7f342e349000 r-xp 00000000 68:01 80885 /lib/ld-2.7.so
7f342e502000-7f342e538000 r--p 00000000 68:06 114242 /usr/lib/locale/en_US/LC_CTYPE
7f342e538000-7f342e53d000 rw-p 7f342e538000 00:00 0
7f342e544000-7f342e549000 rw-p 7f342e544000 00:00 0
7f342e549000-7f342e54b000 rw-p 0001d000 68:01 80885 /lib/ld-2.7.so
7fffe1da6000-7fffe1dbf000 rw-p 7ffffffe6000 00:00 0 [stack]
7fffe1dfe000-7fffe1e00000 r-xp 7fffe1dfe000 00:00 0 [vdso]
ffffffffff600000Aborted

reverted back to 0.8.7e
sodium
Cacti User
Posts: 115
Joined: Wed Feb 01, 2006 10:29 am

Post by sodium »

yet another problem:

clean 0.8.7g + PA 2.8
added the 5 0.8.7g patches

and the following patch will not apply:

http://www.cacti.net/downloads/patches/ ... tput.patch

that is,... this part:

Code: Select all

@@ -1310,16 +1310,17 @@
 	$i = 0;
 	if (sizeof($data_sources) > 0) {
 		foreach ($data_sources as $data_source) {
-			$data_template_name = ((empty($data_source["data_template_name"])) ? "<em>None</em>" : $data_source["data_template_name"]);
-			$data_input_name    = ((empty($data_source["data_input_name"])) ? "<em>External</em>" : $data_source["data_input_name"]);
+			/* we're escaping strings here, so no need to escape them on form_selectable_cell */
+			$data_template_name = ((empty($data_source["data_template_name"])) ? "<em>None</em>" : htmlspecialchars($data_source["data_template_name"]));
+			$data_input_name    = ((empty($data_source["data_input_name"])) ? "<em>External</em>" : htmlspecialchars($data_source["data_input_name"]));
 			$poller_interval    = ((isset($poller_intervals[$data_source["local_data_id"]])) ? $poller_intervals[$data_source["local_data_id"]] : 0);
 			form_alternate_row_color($colors["alternate"], $colors["light"], $i, 'line' . $data_source["local_data_id"]); $i++;
 			form_selectable_cell("<a class='linkEditMain' href='" . htmlspecialchars("data_sources.php?action=ds_edit&id=" . $data_source["local_data_id"]) . "' title='" . $data_source["name_cache"] . "'>" . ((get_request_var_request("filter") != "") ? eregi_replace("(" . preg_quote(get_request_var_request("filter")) . ")", "<span style='background-color: #F8D93D;'>\\1</span>", title_trim(htmlspecialchars($data_source["name_cache"]), read_config_option("max_title_data_source"))) : title_trim(htmlspecialchars($data_source["name_cache"]), read_config_option("max_title_data_source"))) . "</a>", $data_source["local_data_id"]);
 			form_selectable_cell($data_source['local_data_id'], $data_source['local_data_id']);
-			form_selectable_cell(((get_request_var_request("filter") != "") ? eregi_replace("(" . preg_quote(get_request_var_request("filter")) . ")", "<span style='background-color: #F8D93D;'>\\1</span>", htmlspecialchars($data_input_name)) : htmlspecialchars($data_input_name)), $data_source["local_data_id"]);
+			form_selectable_cell(((get_request_var_request("filter") != "") ? eregi_replace("(" . preg_quote(get_request_var_request("filter")) . ")", "<span style='background-color: #F8D93D;'>\\1</span>", $data_input_name) : $data_input_name), $data_source["local_data_id"]);
 			form_selectable_cell(get_poller_interval($poller_interval), $data_source["local_data_id"]);
 			form_selectable_cell(($data_source['active'] == "on" ? "Yes" : "No"), $data_source["local_data_id"]);
-			form_selectable_cell(((get_request_var_request("filter") != "") ? eregi_replace("(" . preg_quote(get_request_var_request("filter")) . ")", "<span style='background-color: #F8D93D;'>\\1</span>", htmlspecialchars($data_source['data_template_name'])) : htmlspecialchars($data_source['data_template_name'])), $data_source["local_data_id"]);
+			form_selectable_cell(((get_request_var_request("filter") != "") ? eregi_replace("(" . preg_quote(get_request_var_request("filter")) . ")", "<span style='background-color: #F8D93D;'>\\1</span>", $data_template_name) : $data_template_name), $data_source["local_data_id"]);
 			form_checkbox_cell($data_source["name_cache"], $data_source["local_data_id"]);
 			form_end_row();
 		}
fails because of this line: (line 1326)

Code: Select all

$data_source = api_plugin_hook_function('data_sources_table', $data_source)
;

and if we apply this path by hand the thold templates are unselectable url links (see image)

I 'unpatched' the above part to make ik work again...
Attachments
it looks like this
it looks like this
Screen shot 2010-07-29 at 14.51.30 .png (29.37 KiB) Viewed 23073 times
User avatar
TheWitness
Developer
Posts: 16997
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

sodium wrote:sorry for the crosspost...

spine 0.8.7g segfaults (set loglevel to debug) otherwise you'll miss this :)


./spine -R
SPINE: Using spine config file [/opt/cacti/include/spine.conf]
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: The path_php_server variable is /opt/cacti/script_server.php
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: The path_cactilog variable is /opt/cacti/log/cacti.log
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: The log_destination variable is 1 (FILE)
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: The path_php variable is /usr/bin/php
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: The availability_method variable is 2
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: The ping_recovery_count variable is 3
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: The ping_failure_count variable is 2
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: The ping_method variable is 1
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: The ping_retries variable is 1
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: The ping_timeout variable is 400
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: The snmp_retries variable is 3
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: The log_perror variable is 0
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: The log_pwarn variable is 0
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: The boost_redirect variable is 0
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: The log_pstats variable is 0
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: The threads variable is 15
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: The polling interval is 300 seconds
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: The number of concurrent processes is 1
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: The script timeout is 120
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: The number of php script servers to run is 1
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: StartHost='-1', EndHost='-1', TotalPHPScripts='1'
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: The PHP Script Server is Required
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: The Maximum SNMP OID Get Size is 30
07/29/2010 02:39:17 PM - SPINE: Poller[0] Version 0.8.7g starting
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: MySQL is Thread Safe!
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: Spine is running asroot.
07/29/2010 02:39:17 PM - SPINE: Poller[0] SPINE: Initializing Net-SNMP API
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: Issues with SNMP Header Version information, assuming old version of Net-SNMP.
07/29/2010 02:39:17 PM - SPINE: Poller[0] SPINE: Initializing PHP Script Server(s)
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: SS[0] PHP Script Server Routine Starting
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: SS[0] PHP Script Server About to FORK Child Process
07/29/2010 02:39:17 PM - SPINE: Poller[0] DEBUG: SS[0] PHP Script Server Child FORK Success
07/29/2010 02:39:18 PM - SPINE: Poller[0] DEBUG: SS[0] Confirmed PHP Script Server running using readfd[7], writefd[6]
07/29/2010 02:39:18 PM - SPINE: Poller[0] NOTE: Spine did not detect multithreaded device polling.
07/29/2010 02:39:18 PM - SPINE: Poller[0] NOTE: Spine is behaving in a 0.8.7g manner
07/29/2010 02:39:18 PM - SPINE: Poller[0] DEBUG: Initial Value of Active Threads is 0
07/29/2010 02:39:18 PM - SPINE: Poller[0] DEBUG: In Poller, About to Start Polling of Host
07/29/2010 02:39:18 PM - SPINE: Poller[0] DEBUG: Valid Thread to be Created
07/29/2010 02:39:18 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 1
07/29/2010 02:39:18 PM - SPINE: Poller[0] DEBUG: In Poller, About to Start Polling of Host
07/29/2010 02:39:18 PM - SPINE: Poller[0] DEBUG: Valid Thread to be Created
07/29/2010 02:39:18 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 2
07/29/2010 02:39:18 PM - SPINE: Poller[0] Host[0] TH[1] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
07/29/2010 02:39:18 PM - SPINE: Poller[0] Host[391] SNMP Result: Host responded to SNMP
07/29/2010 02:39:18 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 1
07/29/2010 02:39:18 PM - SPINE: Poller[0] Host[391] TH[1] RECACHE: Processing 2 items in the auto reindex cache for '127.0.0.1'
07/29/2010 02:39:18 PM - SPINE: Poller[0] Host[391] TH[1] NOTE: There are '21' Polling Items for this Host
07/29/2010 02:39:18 PM - SPINE: Poller[0] Host[391] TH[1] DS[53052] SS[0] SERVER: /opt/cacti/scripts/ss_poller.php ss_poller, output: Time:1.2218 Method:spine Processes:1 Threads:15 Hosts:2 HostsPerProcess:2 DataSources:21 RRDsProcessed:13
07/29/2010 02:39:18 PM - SPINE: Poller[0] Host[391] DEBUG: The NIFTY POPEN returned the following File Descriptor 5
07/29/2010 02:39:18 PM - SPINE: Poller[0] Host[391] TH[1] DS[53053] SCRIPT: /usr/bin/perl /opt/cacti/scripts/loadavg_multi.pl, output: 1min:0.01 5min:0.02 10min:0.00
07/29/2010 02:39:18 PM - SPINE: Poller[0] Host[391] DEBUG: The NIFTY POPEN returned the following File Descriptor 5
07/29/2010 02:39:18 PM - SPINE: Poller[0] Host[391] TH[1] DS[53054] SCRIPT: /usr/bin/perl /opt/cacti/scripts/unix_users.pl , output: 2
07/29/2010 02:39:18 PM - SPINE: Poller[0] Host[391] DEBUG: The NIFTY POPEN returned the following File Descriptor 5
07/29/2010 02:39:18 PM - SPINE: Poller[0] Host[391] TH[1] DS[53055] SCRIPT: /usr/bin/perl /opt/cacti/scripts/ping.pl 127.0.0.1, output: 0.021
07/29/2010 02:39:18 PM - SPINE: Poller[0] Host[391] DEBUG: The NIFTY POPEN returned the following File Descriptor 5
07/29/2010 02:39:18 PM - SPINE: Poller[0] Host[391] TH[1] DS[53056] SCRIPT: /usr/bin/perl /opt/cacti/scripts/unix_processes.pl, output: 152
*** glibc detected *** ./spine: free(): invalid pointer: 0x00007f3428000c01 ***
======= Backtrace: =========
/lib/libc.so.6[0x7f342caec0ea]
/lib/libc.so.6(cfree+0x8c)[0x7f342caefc7c]
./spine[0x409273]
./spine[0x40b2ef]
/lib/libpthread.so.0[0x7f342d0613f7]
/lib/libc.so.6(clone+0x6d)[0x7f342cb4fbbd]
======= Memory map: ========
00400000-00415000 r-xp 00000000 68:11 14672400 /opt/cacti/download/cacti-spine-0.8.7g/spine
00614000-00615000 rw-p 00014000 68:11 14672400 /opt/cacti/download/cacti-spine-0.8.7g/spine
00615000-00764000 rw-p 00615000 00:00 0 [heap]
40eda000-40edb000 ---p 40eda000 00:00 0
40edb000-416db000 rw-p 40edb000 00:00 0
41dd5000-41dd6000 ---p 41dd5000 00:00 0
41dd6000-425d6000 rw-p 41dd6000 00:00 0
7f3428000000-7f3428026000 rw-p 7f3428000000 00:00 0
7f3428026000-7f342c000000 ---p 7f3428026000 00:00 0
7f342c45a000-7f342c464000 r-xp 00000000 68:01 80897 /lib/libnss_files-2.7.so
7f342c464000-7f342c664000 ---p 0000a000 68:01 80897 /lib/libnss_files-2.7.so
7f342c664000-7f342c666000 rw-p 0000a000 68:01 80897 /lib/libnss_files-2.7.so
7f342c666000-7f342c673000 r-xp 00000000 68:01 80884 /lib/libgcc_s.so.1
7f342c673000-7f342c873000 ---p 0000d000 68:01 80884 /lib/libgcc_s.so.1
7f342c873000-7f342c874000 rw-p 0000d000 68:01 80884 /lib/libgcc_s.so.1
7f342c874000-7f342c876000 r-xp 00000000 68:01 80891 /lib/libdl-2.7.so
7f342c876000-7f342ca76000 ---p 00002000 68:01 80891 /lib/libdl-2.7.so
7f342ca76000-7f342ca78000 rw-p 00002000 68:01 80891 /lib/libdl-2.7.so
7f342ca78000-7f342cbd0000 r-xp 00000000 68:01 80888 /lib/libc-2.7.so
7f342cbd0000-7f342cdd0000 ---p 00158000 68:01 80888 /lib/libc-2.7.so
7f342cdd0000-7f342cdd3000 r--p 00158000 68:01 80888 /lib/libc-2.7.so
7f342cdd3000-7f342cdd5000 rw-p 0015b000 68:01 80888 /lib/libc-2.7.so
7f342cdd5000-7f342cdda000 rw-p 7f342cdd5000 00:00 0
7f342cdda000-7f342ce5a000 r-xp 00000000 68:01 80892 /lib/libm-2.7.so
7f342ce5a000-7f342d059000 ---p 00080000 68:01 80892 /lib/libm-2.7.so
7f342d059000-7f342d05b000 rw-p 0007f000 68:01 80892 /lib/libm-2.7.so
7f342d05b000-7f342d071000 r-xp 00000000 68:01 82784 /lib/libpthread-2.7.so
7f342d071000-7f342d271000 ---p 00016000 68:01 82784 /lib/libpthread-2.7.so
7f342d271000-7f342d273000 rw-p 00016000 68:01 82784 /lib/libpthread-2.7.so
7f342d273000-7f342d277000 rw-p 7f342d273000 00:00 0
7f342d277000-7f342d28d000 r-xp 00000000 68:06 106442 /usr/lib/libz.so.1.2.3.3
7f342d28d000-7f342d48d000 ---p 00016000 68:06 106442 /usr/lib/libz.so.1.2.3.3
7f342d48d000-7f342d48e000 rw-p 00016000 68:06 106442 /usr/lib/libz.so.1.2.3.3
7f342d48e000-7f342d5e9000 r-xp 00000000 68:06 106217 /usr/lib/libcrypto.so.0.9.8
7f342d5e9000-7f342d7e8000 ---p 0015b000 68:06 106217 /usr/lib/libcrypto.so.0.9.8
7f342d7e8000-7f342d80b000 rw-p 0015a000 68:06 106217 /usr/lib/libcrypto.so.0.9.8
7f342d80b000-7f342d80e000 rw-p 7f342d80b000 00:00 0
7f342d80e000-7f342d824000 r-xp 00000000 68:01 80894 /lib/libnsl-2.7.so
7f342d824000-7f342da23000 ---p 00016000 68:01 80894 /lib/libnsl-2.7.so
7f342da23000-7f342da25000 rw-p 00015000 68:01 80894 /lib/libnsl-2.7.so
7f342da25000-7f342da27000 rw-p 7f342da25000 00:00 0
7f342da27000-7f342da30000 r-xp 00000000 68:01 80890 /lib/libcrypt-2.7.so
7f342da30000-7f342dc2f000 ---p 00009000 68:01 80890 /lib/libcrypt-2.7.so
7f342dc2f000-7f342dc31000 rw-p 00008000 68:01 80890 /lib/libcrypt-2.7.so
7f342dc31000-7f342dc5f000 rw-p 7f342dc31000 00:00 0
7f342dc5f000-7f342de1b000 r-xp 00000000 68:06 108244 /usr/lib/libmysqlclient_r.so.15.0.0
7f342de1b000-7f342e01a000 ---p 001bc000 68:06 108244 /usr/lib/libmysqlclient_r.so.15.0.0
7f342e01a000-7f342e063000 rw-p 001bb000 68:06 108244 /usr/lib/libmysqlclient_r.so.15.0.0
7f342e063000-7f342e064000 rw-p 7f342e063000 00:00 0
7f342e064000-7f342e0f6000 r-xp 00000000 68:06 108192 /usr/lib/libnetsnmp.so.15.1.0
7f342e0f6000-7f342e2f5000 ---p 00092000 68:06 108192 /usr/lib/libnetsnmp.so.15.1.0
7f342e2f5000-7f342e2f8000 rw-p 00091000 68:06 108192 /usr/lib/libnetsnmp.so.15.1.0
7f342e2f8000-7f342e32c000 rw-p 7f342e2f8000 00:00 0
7f342e32c000-7f342e349000 r-xp 00000000 68:01 80885 /lib/ld-2.7.so
7f342e502000-7f342e538000 r--p 00000000 68:06 114242 /usr/lib/locale/en_US/LC_CTYPE
7f342e538000-7f342e53d000 rw-p 7f342e538000 00:00 0
7f342e544000-7f342e549000 rw-p 7f342e544000 00:00 0
7f342e549000-7f342e54b000 rw-p 0001d000 68:01 80885 /lib/ld-2.7.so
7fffe1da6000-7fffe1dbf000 rw-p 7ffffffe6000 00:00 0 [stack]
7fffe1dfe000-7fffe1e00000 r-xp 7fffe1dfe000 00:00 0 [vdso]
ffffffffff600000Aborted

reverted back to 0.8.7e
I'm preparing a patch. Can you please test the latest svn? If it crashes, can you run inside of GDB from the source directory and perform a backtrace when it segfaults? Post the backtrace.

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?
sodium
Cacti User
Posts: 115
Joined: Wed Feb 01, 2006 10:29 am

Post by sodium »

TheWitness wrote:...

I'm preparing a patch. Can you please test the latest svn? If it crashes, can you run inside of GDB from the source directory and perform a backtrace when it segfaults?
I did that yesterday (got the svn version - and compiled) and had the same problem... when I reach the next system (I'm in transit...) that has access to my test environment i'll do the gdb backtrace...
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests