Hi all,
I understood that the SNMP message format is different from SNMP version 1.0
and version 3.0. And net-snmp supports both.
While creating a SNMP session using
snmp_sess_init( &session );
We mention the SNMP version like
session.peername = strdup("16.138.37.21"); //give the agent IP
session.version = SNMP_VERSION_1; //specify the SNMP version
My question here is this version is of the agent or the SNMP manager who is
running this code?
One more question is how can we get to know the version of SNMP on local
PC/remote PC.
Thanks
Harish
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders