Hi,
what is the reason for different byteorder of port configuration with
snmpUDPDomain and transportDomainUdpIpv6 in snmpTargetAddrTable?
with this configuration:
trapsess -v 3 -e 0x80001f88017f01 -u trapuser -l noAuthNoPriv
udp:127.0.0.1:4660
trapsess -v 3 -e 0x80001f88017f01 -u tra
Hello, I'm having troubles in request and save the value of the
ipNetToMediaPhysAddress OID.
My routine get the MAC Adress, but only a half of the value.
What I'm doing wrong? Can you help me?
if (vars->type == ASN_OCTET_STR) {
u_long *sp = malloc(1+id_len);
memcpy(sp, vars
I have the most basic, simple starter sub-agent which simply outputs a
hard-coded string (for now), which works fine when compiled as a C module:
# net-snmp-config --compile-subagent Ctest sinIDENT.c
(compiles cleanly)
# ./Ctest
# snmpget -v 1 -c public localhost sinIDENT.0
# SIN-TOP-LEVEL-0::si
On Thu, 2013-10-03 at 18:14 +, Rafael Ratacheski wrote:
> Hello, I'm having troubles in request and save the value of the
> ipNetToMediaPhysAddress OID.
>
> My routine get the MAC Adress, but only a half of the value.
>
> What I'm doing wrong? Can you help me?
>
> if (vars->type == ASN_OCT
On Thu, 2013-10-03 at 14:42 -0400, Frozen Puck wrote:
>
>
> I have the most basic, simple starter sub-agent which simply outputs a
> hard-coded string (for now), which works fine when compiled as a C
> module:
> # net-snmp-config --compile-subagent Ctest sinIDENT.c
>
> (compiles cleanly)
> # .