Issues with SNMP Header Version information

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
Trungnguyen
Posts: 7
Joined: Tue Dec 05, 2017 11:00 pm

Issues with SNMP Header Version information

Post by Trungnguyen »

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,
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Issues with SNMP Header Version information

Post by netniV »

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 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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest