Cacti doen't execute spine

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
litviak
Posts: 3
Joined: Wed Aug 07, 2013 4:28 am

Cacti doen't execute spine

Post by litviak »

Hi All!

Version: 0.8.8a
System: gentoo

With cmd.php all works fine. But if i switch to spine it doen't. Logging level is debug, but there aren't log about working spine. All i see in logs is:

08/07/2013 01:45:01 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/sbin/spine, ARGS: 83 85]
08/07/2013 01:45:01 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/sbin/spine, ARGS: 79 82]
08/07/2013 01:45:01 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/sbin/spine, ARGS: 0 78]
08/07/2013 01:45:01 PM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '300', Max Runtime '298', Poller Runs: '1'
08/07/2013 01:45:00 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/localhost/htdocs/cacti/plugins/discovery/findhosts.php]
08/07/2013 01:45:00 PM - SYSTEM STATS: Time:298.4930 Method:spine Processes:4 Threads:15 Hosts:12 HostsPerProcess:3 DataSources:1509 RRDsProcessed:0
08/07/2013 01:45:00 PM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting

If i exec spine from shell, it works correctly. And it isn't mode ploblem:

Code: Select all

-rwxr-xr-x 1 root root 91928 Jul 26 01:39 spine
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Cacti doen't execute spine

Post by gandalf »

The log reports, that is starts the spine binary from the given location. The user will be as defined by the respective crontab. You might increase logging level and redirect output of poller.php to some poller.log file (see e.g. 2nd link of my sig)
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests