I've been trying to update my MIB to support the correct value
of some of my pass_persist perl scripts, but I can't seem to get
it to work..

I had to restort to using Integer32 and was hoping for the best, but now
a user have created a ticket about this, so I figured I try again.


Looking at http://sourceforge.net/p/net-snmp/mailman/message/26930463/,
I took that shell script but modified the integer64/counter64 to actually
print a 64bit signed value ("9223372036854775806", which is one below
the max value) but I get some errors in the log:

----- s n i p -----
Connection from UDP: [127.0.0.1]:51594->[127.0.0.1]:161
Internal error in type switching
snmp_build: unknown failuresend response: Error building ASN.1 representation 
(wrong type in snmp_realloc_rbuild_var_op: 74)
    -- iso.3.6.1.4.1.22222.42.2.0
[repeated six times]
----- s n i p -----

The Counter64 value works just fine though (with the same value).


SNMPd is at version 5.7.2.1+dfsg-1. On a older system, with version
5.4.3~dfsg-2.8+deb7u1, it doesn't work at all. Both values gets
truncated to a 32bit int…

Tried 5.7.3+dfsg-1, but that failed as well :(.
-- 
System administrators motto:
You're either invisible or in trouble.
- Unknown


------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to