Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
[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]
The other replacements are not replaced. Did you create the graph correctly through the data query?
[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]
[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]
I have a trouble with Spine 0.8.7h. When I run spine via CLI, the execution is successful, but when I select spine on the poller type, it fails. I have previously used Spine 0.8.7g without problems.
Maximum Concurrent Poller Processes: 1
Maximum Threads per Process: 10
Number of PHP Script Servers: 1
Script and Script Server Timeout Value: 25
The Maximum SNMP OID's Per SNMP Get Request: 10
This is my log in devel level:
09/27/2011 12:40:01 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/sbin/spine, ARGS: 0 92]
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: The path_php variable is /usr/bin/php
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: The availability_method variable is 4
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: The ping_recovery_count variable is 3
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: The ping_failure_count variable is 2
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: The ping_method variable is 1
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: The ping_retries variable is 1
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: The ping_timeout variable is 1000
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: The snmp_retries variable is 3
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: The log_perror variable is 1
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: The log_pwarn variable is 1
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: The boost_redirect variable is 0
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: The log_pstats variable is 1
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: The threads variable is 10
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: The polling interval is 300 seconds
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: The number of concurrent processes is 1
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: The script timeout is 25
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: The number of php script servers to run is 1
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: StartHost='0', EndHost='92', TotalPHPScripts='0'
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: The PHP Script Server is Not Required
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: The Maximum SNMP OID Get Size is 10
09/27/2011 12:40:01 PM - SPINE: Poller[0] Version 0.8.7h starting
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: MySQL is Thread Safe!
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: Spine has cap_net_raw capability.
09/27/2011 12:40:01 PM - SPINE: Poller[0] SPINE: Initializing Net-SNMP API
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: Issues with SNMP Header Version information, assuming old version of Net-SNMP.
09/27/2011 12:40:01 PM - SPINE: Poller[0] SPINE: Initializing PHP Script Server(s)
09/27/2011 12:40:01 PM - SPINE: Poller[0] NOTE: Spine will support multithread device polling.
09/27/2011 12:40:01 PM - SPINE: Poller[0] NOTE: Spine is behaving in a 0.8.7g+ manner
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: Initial Value of Active Threads is 0
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: Valid Thread to be Created
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: In Poller, About to Start Polling of Host
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 1
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: Valid Thread to be Created
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: In Poller, About to Start Polling of Host
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 2
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: Valid Thread to be Created
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: In Poller, About to Start Polling of Host
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 3
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: Valid Thread to be Created
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: In Poller, About to Start Polling of Host
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 4
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: Valid Thread to be Created
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: In Poller, About to Start Polling of Host
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 5
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: Valid Thread to be Created
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: In Poller, About to Start Polling of Host
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 6
09/27/2011 12:40:01 PM - SPINE: Poller[0] Host[0] TH[1] Total Time: 0.001 Seconds
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: Valid Thread to be Created
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: In Poller, About to Start Polling of Host
09/27/2011 12:40:01 PM - SPINE: Poller[0] Host[0] TH[1] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 7
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: In Poller, About to Start Polling of Host
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: Valid Thread to be Created
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 8
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: Valid Thread to be Created
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: In Poller, About to Start Polling of Host
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 9
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: Valid Thread to be Created
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: In Poller, About to Start Polling of Host
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 10
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 9
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: Valid Thread to be Created
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: In Poller, About to Start Polling of Host
09/27/2011 12:40:01 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 10
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
.
.
.
In addition, I have got the following output in cacti.log:
09/28/2011 10:25:00 AM - CMDPHP: Poller[0] DEVEL: SQL Cell: "SELECT count(*) FROM poller_time WHERE poller_id=0 AND end_time>'0000-00-00 00:00:00'"
09/28/2011 10:25:00 AM - CMDPHP: Poller[0] DEVEL: SQL Assoc: "select poller_output.output, poller_output.time, UNIX_TIMESTAMP(poller_output.time) as unix_time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) LIMIT 10000"
09/28/2011 10:25:01 AM - CMDPHP: Poller[0] DEVEL: SQL Exec: "REPLACE INTO settings (name,value) VALUES ('stats_poller','Time:298.9579 Method:spine Processes:1 Threads:10 Hosts:55 HostsPerProcess:55 DataSources:1365 RRDsProcessed:0')"
09/28/2011 10:25:01 AM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '299', Max Runtime '298', Poller Runs: '1'
09/28/2011 10:25:01 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/sbin/spine, ARGS: 0 92]
09/28/2011 10:25:01 AM - SYSTEM STATS: Time:298.9579 Method:spine Processes:1 Threads:10 Hosts:55 HostsPerProcess:55 DataSources:1365 RRDsProcessed:0
I think there is something wrong on CLog setup.php file in the trunk directory, it's not possible to install it, when I click on the red button, nothing is done, I have a blank page, and when I refresh plugins page I cannot activate it (because I see only red button).
make sure that the plugins array in config.php does not include it. also, make sure you do not have backups of that plugin in other directories under the plugins directory.
True understanding begins only when we realize how little we truly understand...
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
.
.
.
In addition, I have got the following output in cacti.log:
09/28/2011 10:25:00 AM - CMDPHP: Poller[0] DEVEL: SQL Cell: "SELECT count(*) FROM poller_time WHERE poller_id=0 AND end_time>'0000-00-00 00:00:00'"
09/28/2011 10:25:00 AM - CMDPHP: Poller[0] DEVEL: SQL Assoc: "select poller_output.output, poller_output.time, UNIX_TIMESTAMP(poller_output.time) as unix_time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) LIMIT 10000"
09/28/2011 10:25:01 AM - CMDPHP: Poller[0] DEVEL: SQL Exec: "REPLACE INTO settings (name,value) VALUES ('stats_poller','Time:298.9579 Method:spine Processes:1 Threads:10 Hosts:55 HostsPerProcess:55 DataSources:1365 RRDsProcessed:0')"
09/28/2011 10:25:01 AM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '299', Max Runtime '298', Poller Runs: '1'
09/28/2011 10:25:01 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/sbin/spine, ARGS: 0 92]
09/28/2011 10:25:01 AM - SYSTEM STATS: Time:298.9579 Method:spine Processes:1 Threads:10 Hosts:55 HostsPerProcess:55 DataSources:1365 RRDsProcessed:0
Thanks for your help!
roll back to the old spine until you figure this out.
True understanding begins only when we realize how little we truly understand...
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
.
.
.
In addition, I have got the following output in cacti.log:
09/28/2011 10:25:00 AM - CMDPHP: Poller[0] DEVEL: SQL Cell: "SELECT count(*) FROM poller_time WHERE poller_id=0 AND end_time>'0000-00-00 00:00:00'"
09/28/2011 10:25:00 AM - CMDPHP: Poller[0] DEVEL: SQL Assoc: "select poller_output.output, poller_output.time, UNIX_TIMESTAMP(poller_output.time) as unix_time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) LIMIT 10000"
09/28/2011 10:25:01 AM - CMDPHP: Poller[0] DEVEL: SQL Exec: "REPLACE INTO settings (name,value) VALUES ('stats_poller','Time:298.9579 Method:spine Processes:1 Threads:10 Hosts:55 HostsPerProcess:55 DataSources:1365 RRDsProcessed:0')"
09/28/2011 10:25:01 AM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '299', Max Runtime '298', Poller Runs: '1'
09/28/2011 10:25:01 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/sbin/spine, ARGS: 0 92]
09/28/2011 10:25:01 AM - SYSTEM STATS: Time:298.9579 Method:spine Processes:1 Threads:10 Hosts:55 HostsPerProcess:55 DataSources:1365 RRDsProcessed:0
Thanks for your help!
roll back to the old spine until you figure this out.
Hi TheWitness!
Sadly, when I tried to rollback the change, it did not work I tried to run manually the poller but nothing appears: