Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Fri Sep 21, 2018 6:49 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Issues with SNMP Header Version information
PostPosted: Sun Dec 10, 2017 9:13 pm 
Offline

Joined: Tue Dec 05, 2017 11:00 pm
Posts: 7
Hi All,
I need you help,
I have Issue below,
SPINE: Poller[1] SPINE: Initializing PHP Script Server(s)
SPINE: Poller[1] DEBUG: Issues with SNMP Header Version information, assuming old version of Net-SNMP.
SPINE: Poller[1] SPINE: Initializing Net-SNMP API

Thanks,


Top
 Profile  
 
 Post subject: Re: Issues with SNMP Header Version information
PostPosted: Fri Dec 15, 2017 10:54 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 1435
This warning appears if spine is compiled on a system where that does not set VERIFY_PACKAGE_VERSION and PACKAGE_VERSION. If both of these are defined then the version that was taken at compile time is compared against the installed system version.

This is to prevent issues with spine not being linked to the correct libraries.

If VERIFY_PACKAGE_VERSION or PACKAGE_VERSION was not defined at the time of compiling, then the system doesn't do the check and issues that debug warning. In reality, it would probably be better to include an extra level that said we are not bothered about the package version and just include the version we were compiled against if we knew it at the time.

Note that Net-SNMP only sets PACKAGE_VERSION if that is not already defined so the headers do undefine the SPINE PACKAGE_VERSION before including the SNMP ones.

To enforce this SNMP Header check, use ./configure --enable-strict-snmp

_________________
Cacti Resources:
Cacti Website
Cacti Issues
Cacti Releases

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: Google [Bot] and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group