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,
Issues with SNMP Header Version information
Moderators: Developers, Moderators
-
- Posts: 7
- Joined: Tue Dec 05, 2017 11:00 pm
Re: Issues with SNMP Header Version information
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
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 Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Who is online
Users browsing this forum: No registered users and 1 guest