Spine Compile Issues Here

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

super-hornet wrote:Hi all

I found out one script:
http://forums.cacti.net/viewtopic.php?t ... nmp+memory

cannot work in this 0.8.7 version due to the above application rely information from config.php. Now the 0.8.7 information is stored in global.php instead.

SH
Please edit the post and supply the fix. The author should be taking care of this.

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?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

YoMarK wrote:"Solved" this error by symlinking libmysqlclient.a to libmysqlclient_r.a
and libmysqlclient.la to libmysqlclient_r.la.

TheWitness: I've configured an installed MySQL just as mentioned here: http://www.cacti.net/spine_install_wincyg.php, but is does not install the thread safe version of MySQL client libraries.
Normaly i use cactid with the native MySQL binary.

Will there be a Windows spine binary out anytime soon?
I don't like compiling/running net-snmp and MySQL-client in cygwin, when i have the native binaries also installed.

Edit, i'm using:

Code: Select all

$ uname -a
CYGWIN_NT-5.2 srvman 1.5.24(0.156/4/2) 2007-01-31 10:57 i686 Cygwin
(Windows 2003 SP1, with cygwin 1.5.24.
This method is not advised. Look in the README-WINDOWS file. You will find a reference to the mysql configure. Something like this. Don't symlink.

Code: Select all

./configure --without-server --enable-thread-safe-client
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?
YoMarK
Cacti User
Posts: 89
Joined: Fri Feb 02, 2007 8:36 am
Location: Eindhoven/The Netherlands

Post by YoMarK »

Allright, I think that you should include this (very useful) information for other users in the http://www.cacti.net/spine_install_wincyg.php howto.

Anyway, will there be a Windows spine binary released anytime soon?

Thanks for this great software!
User avatar
swinn
Posts: 11
Joined: Thu Aug 17, 2006 1:16 pm

Post by swinn »

YoMarK wrote:Allright, I think that you should include this (very useful) information for other users in the http://www.cacti.net/spine_install_wincyg.php howto.

Anyway, will there be a Windows spine binary released anytime soon?

Thanks for this great software!
The README-WINDOWS file that is included with the source has the full set of commands to compile under Windows.

The compiled Spine 0.8.7 can be found in this thread: http://forums.cacti.net/viewtopic.php?t=23934

Edit: Changed to show thread where Win32 binary can be found.
Last edited by swinn on Fri Oct 26, 2007 7:20 pm, edited 1 time in total.
menardk
Posts: 7
Joined: Mon May 21, 2007 10:10 pm

Minor bug in the web frontend

Post by menardk »

It seems that updating the 'Maximum OID's Per Get Request' under the device configuration does not actually update the value. When you open the device's settings page again it remains the same. However if you go up a level and checkmark the device and select 'Change SNMP Options' from the action drop down and change it there for the device then that will update the 'Maximum OID's Per Get Request' option for the device in question.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

super-hornet wrote:Is it ok to intermittently get this error:
ERROR: SQL Assoc Failed!, Error:'1064', SQL:"select snmp_query_graph_rrd.snmp_field_name, data_template_rrd.id as data_template_rrd_id from (snmp_query_graph_rrd,data_template_rrd) where snmp_query_graph_rrd.data_template_rrd_id=data_template_rrd.local_data_template_rrd_id and snmp_query_graph_rrd.snmp_query_graph_id=Get Processor Utilization and snmp_query_graph_rrd.data_template_id=78 and data_template_rrd.local_data_id=50"

SH
Where on the utilities page? What action where you performing.
[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]
Smux
Posts: 40
Joined: Mon Sep 10, 2007 2:47 pm

Post by Smux »

Hi,

How I do to solve this error with spine?

Code: Select all

root@svr03 [/home/sysmon/cacti-spine-0.8.7]# /usr/local/spine/bin/spine --conf /usr/local/spine/etc/spine.conf
SPINE: Using spine config file [/usr/local/spine/etc/spine.conf]
SPINE: Version 0.8.7 starting
10/25/2007 12:50:46 PM - SPINE: Poller[0] ERROR: SNMP Library Version Mismatch (5.4.1 vs 5.3) (Spine parent)
root@svr03 [/home/sysmon/cacti-spine-0.8.7]# snmpget --version
NET-SNMP version: 5.4
Thanks!
super-hornet
Cacti User
Posts: 175
Joined: Sun May 27, 2007 5:42 pm

Post by super-hornet »

TheWitness wrote:
super-hornet wrote:Hi all

I found out one script:
http://forums.cacti.net/viewtopic.php?t ... nmp+memory

cannot work in this 0.8.7 version due to the above application rely information from config.php. Now the 0.8.7 information is stored in global.php instead.

SH
Please edit the post and supply the fix. The author should be taking care of this.

TheWitness

I did a quick modification on the original php files and already uploaded to the original post. :)
Do u want me to upload to this thread also?

SH
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

No, just the original post. This thread is getting ugly fast.
[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]
super-hornet
Cacti User
Posts: 175
Joined: Sun May 27, 2007 5:42 pm

Post by super-hornet »

rony wrote:
super-hornet wrote:Is it ok to intermittently get this error:
ERROR: SQL Assoc Failed!, Error:'1064', SQL:"select snmp_query_graph_rrd.snmp_field_name, data_template_rrd.id as data_template_rrd_id from (snmp_query_graph_rrd,data_template_rrd) where snmp_query_graph_rrd.data_template_rrd_id=data_template_rrd.local_data_template_rrd_id and snmp_query_graph_rrd.snmp_query_graph_id=Get Processor Utilization and snmp_query_graph_rrd.data_template_id=78 and data_template_rrd.local_data_id=50"

SH
Where on the utilities page? What action where you performing.

Hi. That error message I got from the cacti log. So far, I only do a normal SNMP queries. If u want to know more, please tell me where can I dig out more information or what information do u need in order to debug it?

SH
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Really, so it has no correspondence to the Utilities page?

Have you attempted to Rebuild your Poller Cache from the Utilities page?
[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]
super-hornet
Cacti User
Posts: 175
Joined: Sun May 27, 2007 5:42 pm

Post by super-hornet »

Ok. I will try to rebuild it....once I got back to office :)
Will let u know later.

SH
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

super-hornet wrote:
rony wrote:
super-hornet wrote:Is it ok to intermittently get this error:
ERROR: SQL Assoc Failed!, Error:'1064', SQL:"select snmp_query_graph_rrd.snmp_field_name, data_template_rrd.id as data_template_rrd_id from (snmp_query_graph_rrd,data_template_rrd) where snmp_query_graph_rrd.data_template_rrd_id=data_template_rrd.local_data_template_rrd_id and snmp_query_graph_rrd.snmp_query_graph_id=Get Processor Utilization and snmp_query_graph_rrd.data_template_id=78 and data_template_rrd.local_data_id=50"

SH
Where on the utilities page? What action where you performing.

Hi. That error message I got from the cacti log. So far, I only do a normal SNMP queries. If u want to know more, please tell me where can I dig out more information or what information do u need in order to debug it?

SH
Rony and I had a CC this evening. We identified the source. He will be posting a patch soon to address this.

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?
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

This is a bug...

http://bugs.cacti.net/view.php?id=1051

I have submitted it.

Working on it, will have patched files available in the bug reports for testing.
[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]
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

super-hornet wrote:
rony wrote:
super-hornet wrote:Is it ok to intermittently get this error:
ERROR: SQL Assoc Failed!, Error:'1064', SQL:"select snmp_query_graph_rrd.snmp_field_name, data_template_rrd.id as data_template_rrd_id from (snmp_query_graph_rrd,data_template_rrd) where snmp_query_graph_rrd.data_template_rrd_id=data_template_rrd.local_data_template_rrd_id and snmp_query_graph_rrd.snmp_query_graph_id=Get Processor Utilization and snmp_query_graph_rrd.data_template_id=78 and data_template_rrd.local_data_id=50"

SH
Where on the utilities page? What action where you performing.

Hi. That error message I got from the cacti log. So far, I only do a normal SNMP queries. If u want to know more, please tell me where can I dig out more information or what information do u need in order to debug it?

SH
Run the following query and attach to the bug report: http://bugs.cacti.net/view.php?id=1051

Code: Select all

select data_input_data.data_template_data_id, data_input_fields.type_code, data_input_data.value
from (data_input_fields,data_input_data)
where data_input_fields.id=data_input_data.data_input_field_id
and (data_input_fields.type_code='index_type' or data_input_fields.type_code='index_value' or data_input_fields.type_code='output_type');
[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]
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests