problems with spine poller

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

Moderators: Developers, Moderators

Post Reply
hatiras
Posts: 25
Joined: Mon Oct 10, 2005 4:55 pm
Location: Mexico, Puebla

problems with spine poller

Post by hatiras »

Hi forum ii have a problem with spine, with cmd.php the poller is good but spine not poll, spine was compiled and installed with out problems the installation is good (well, i think that :o)

The box: debian 5, mysql 5. php 5, snmp5, cacti 0.8.7e, P.A. 2.6, Spine 0.8.7.e
may be i think are permissions on /usr/local/spine/etc/spine.conf there i dont have perms., i was edit my spine.conf like my cacti installation but dont works.

All the installation is good all works fine, just the problem is spine, thnks..

bottom are the images about cacti log file and plugin management thnks again.
Attachments
installed Plugins
installed Plugins
Screenshot.png (122.93 KiB) Viewed 2627 times
log cacti
log cacti
log.png (167.6 KiB) Viewed 2627 times
[b]___________________[/b]
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Open a shell and run spine manually as follows:

Code: Select all

./spine -R -V 5 -S
Let us know what happens.

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?
hatiras
Posts: 25
Joined: Mon Oct 10, 2005 4:55 pm
Location: Mexico, Puebla

Post by hatiras »

Thnks TheWitness

Mmmm ok, this is the command line output:

srv:/usr/local/spine/etc# spine -R -V 5 -s
bash: spine: command not found
srvi:/usr/local/spine/etc# spine.conf -R -V 5 -s
bash: spine.conf: command not found

i don´t have any idea why not run this command, :o

in settings/poller page dont need enable or disable some in "some" place??, how i can test the spine with other command or my spine installation ??, thnks...
[b]___________________[/b]
Sumdzik
Posts: 10
Joined: Sun Nov 08, 2009 1:02 pm
Location: Poland

Post by Sumdzik »

try this:
srv:/usr/local/spine/etc# ./spine -R -V 5 -s
hatiras
Posts: 25
Joined: Mon Oct 10, 2005 4:55 pm
Location: Mexico, Puebla

Post by hatiras »

thnks Sumdzik, this is the ouput:

srv:/usr/local/spine/etc# ./spine -R -V 5 -s
bash: ./spine: No such file or directory


and my spine.conf is in the same path (/usr/local/spine/etc/spine.conf)

thnks.
[b]___________________[/b]
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please find the /path/to/spine at "Settings".
Use this path to call spine
R.
hatiras
Posts: 25
Joined: Mon Oct 10, 2005 4:55 pm
Location: Mexico, Puebla

Post by hatiras »

thnks gandalf

yes, all paths its ok, bottom is the page of paths,

can be that spine compilation is strange??? thnks...
Attachments
paths
paths
paths.png (135.85 KiB) Viewed 2505 times
[b]___________________[/b]
hatiras
Posts: 25
Joined: Mon Oct 10, 2005 4:55 pm
Location: Mexico, Puebla

thnkssss forum

Post by hatiras »

uuhhhh man, thnks, thnks a lot gandalf....

the spine path was the problem, i´m put the spine.conf by //bin/spine ohohoh, i can´t believe that, check this output, its ok:


Log File [Total Lines: 500 - All Items Shown]
11/27/2009 07:15:03 PM - SYSTEM THOLD STATS: Time:0.0011 Tholds:0 Hosts:0
11/27/2009 07:15:03 PM - SYSTEM STATS: Time:1.2273 Method:spine Processes:1 Threads:1 Hosts:2 HostsPerProcess:2 DataSources:6 RRDsProcessed:6
11/27/2009 07:15:02 PM - SPINE: Poller[0] Time: 0.1630 s, Threads: 1, Hosts: 2
11/27/2009 07:15:02 PM - SPINE: Poller[0] Host[1] DS[8] SCRIPT: perl /var/www/cacti/scripts/ping.pl 127.0.0.1, output: 0.019
11/27/2009 07:15:02 PM - SPINE: Poller[0] Host[1] DS[7] SCRIPT: perl /var/www/cacti/scripts/unix_processes.pl, output: 125
11/27/2009 07:15:02 PM - SPINE: Poller[0] Host[1] DS[6] SCRIPT: perl /var/www/cacti/scripts/unix_users.pl , output: 3
11/27/2009 07:15:02 PM - SPINE: Poller[0] Host[1] DS[5] SCRIPT: perl /var/www/cacti/scripts/loadavg_multi.pl, output: 1min:0.30 5min:0.18 10min:0.18
11/27/2009 07:15:02 PM - SPINE: Poller[0] Host[1] DS[4] SCRIPT: perl /var/www/cacti/scripts/linux_memory.pl SwapFree:, output: 2650684
11/27/2009 07:15:02 PM - SPINE: Poller[0] Host[1] DS[3] SCRIPT: perl /var/www/cacti/scripts/linux_memory.pl MemFree:, output: 1254632
11/27/2009 07:15:02 PM - SPINE: Poller[0] Host[1] NOTE: There are '6' Polling Items for this Host
11/27/2009 07:15:02 PM - SPINE: Poller[0] Time: 0.1795 s, Threads: 1, Hosts: 1
11/27/2009 07:15:02 PM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '302', Max Runtime '298', Poller Runs: '1'

Thnks, thanks lol, well, i stay in contact for my other installation plugins like wethermap, etc.... thnks.... :P
[b]___________________[/b]
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest