An update: I got it to work. It seem like I forgot something in the SNMP
initialization.
Adding init_snmp( my-snmp-deamon ) ; did the trick.
- Original Message -
Fra: Sverre Moe sve...@spacetec.no
Til: net-snmp-users net-snmp-users@lists.sourceforge.net
Sendt: 25. oktober 2012
When you execute the scripts from command line, are they working as
expected?
On Thu, Oct 25, 2012 at 10:00 PM, Allen Chan allen.c...@five9.com wrote:
Hi all,
We are trying to figure out how to troubleshoot the pass-persist feature
of SNMP.
Our NMS is monitoring a bunch of OIDs that goes
Hello, me again. Have been sending a few messages lately. Hope I am not nagging
to much.
Is there a way I could debug snmp. I have gotten my C++ program to work as an
SNMP AgentX. I have managed to register 3 hard coded test scalars and it works
when I snmpget on those scalars.
Thus
Update:
Checked the value returned from netsnmp_register_scalar_group
The first scalar group I tried to register got value 0(MIB_REGISTERED_OK).
All the others got value -1(MIB_REGISTRATION_FAILED or
MIB_DUPLICATE_REGISTRATION).
I have checked all scalars that was registered and there
On 26 October 2012 12:16, Sverre Moe sve...@spacetec.no wrote:
The first scalar group I tried to register got value 0(MIB_REGISTERED_OK).
All the others got value -1(MIB_REGISTRATION_FAILED or
MIB_DUPLICATE_REGISTRATION).
Do the other groups use the same root OID as the first
On 26 October 2012 13:29, Sverre Moe sve...@spacetec.no wrote:
Full code of my scalar registration. Changed to register all scalars one by
one instead of in group.
The oid_wrapper class is a wrapper around oid that contains an oid pointer
and the length of that oid.
Try printing out the
I have tried to output the scalar name, oid and oid length. On every iteration
it prints out a new unique scalar.
Many scalars, but here is the output of a few:
Scalar: version 1.3.6.1.4.1.40463.2.1
Scalar: primary 1.3.6.1.4.1.40463.2.2
Scalar: available 1.3.6.1.4.1.40463.2.3
Scalar: