SNMP 2c with 64 bit works on one host, and not in another
Moderators: Developers, Moderators
SNMP 2c with 64 bit works on one host, and not in another
Hello there,
i'm having this issue, i configured a host as a mirror for the other machines i will poll.
now that i get it configured, i can poll 64 bits as well 32:
[root@darkstar ~]# snmpget -c mycomm -v 2c localhost .1.3.6.1.2.1.31.1.1.1.6.3
IF-MIB::ifHCInOctets.3 = Counter64: 1289148815
[root@darkstar ~]# snmpget -c mycomm -v 2c localhost .1.3.6.1.2.1.2.2.1.16.3
IF-MIB::ifOutOctets.3 = Counter32: 1139264416
but on another host, i JUST COPIED THE CONF FILE (any problem doing that? i don't think so)
and here's what i got:
[root@darkstar user]# snmpget -c mycomm -v 2c localhost .1.3.6.1.2.1.2.2.1.16.3
IF-MIB::ifOutOctets.3 = Counter32: 3810332526
[root@darkstar user]# snmpget -c mycomm -v 2c localhost .1.3.6.1.2.1.31.1.1.1.6.3
IF-MIB::ifHCInOctets.3 = No Such Object available on this agent at this OID
The only thing i can suppose is that the OID's of SNMP are bound with the hardware in a way that is unknown to me.
is that true? the only difference between the 2 hosts is it's hardware.
they have the same version of the same distribution installed.
i'm having this issue, i configured a host as a mirror for the other machines i will poll.
now that i get it configured, i can poll 64 bits as well 32:
[root@darkstar ~]# snmpget -c mycomm -v 2c localhost .1.3.6.1.2.1.31.1.1.1.6.3
IF-MIB::ifHCInOctets.3 = Counter64: 1289148815
[root@darkstar ~]# snmpget -c mycomm -v 2c localhost .1.3.6.1.2.1.2.2.1.16.3
IF-MIB::ifOutOctets.3 = Counter32: 1139264416
but on another host, i JUST COPIED THE CONF FILE (any problem doing that? i don't think so)
and here's what i got:
[root@darkstar user]# snmpget -c mycomm -v 2c localhost .1.3.6.1.2.1.2.2.1.16.3
IF-MIB::ifOutOctets.3 = Counter32: 3810332526
[root@darkstar user]# snmpget -c mycomm -v 2c localhost .1.3.6.1.2.1.31.1.1.1.6.3
IF-MIB::ifHCInOctets.3 = No Such Object available on this agent at this OID
The only thing i can suppose is that the OID's of SNMP are bound with the hardware in a way that is unknown to me.
is that true? the only difference between the 2 hosts is it's hardware.
they have the same version of the same distribution installed.
The asnwer changes from this
IF-MIB::ifHCInOctets.3 = No Such Object available on this agent at this OID
to this
IF-MIB::ifHCInOctets = No Such Object available on this agent at this OID
ok, but i got one thing:
the host that works is Fedora 7 and have net-snmp-5.4
the one that not works is CentOS 4.4 and have net-snmp-5.1
could be this??
IF-MIB::ifHCInOctets.3 = No Such Object available on this agent at this OID
to this
IF-MIB::ifHCInOctets = No Such Object available on this agent at this OID
ok, but i got one thing:
the host that works is Fedora 7 and have net-snmp-5.4
the one that not works is CentOS 4.4 and have net-snmp-5.1
could be this??
so, the problem is my hardware? or i can solve this by software?
remember, the host that works (with the very same query) is fedora 7 with NET-SNMP 5.4
and the one that doesn't works is CentOS 4 with NET-SNMP 5.1
by the way, what means HC ??
and what you means with target? the interface or the host?
thanks
remember, the host that works (with the very same query) is fedora 7 with NET-SNMP 5.4
and the one that doesn't works is CentOS 4 with NET-SNMP 5.1
by the way, what means HC ??
and what you means with target? the interface or the host?
thanks
Who is online
Users browsing this forum: No registered users and 0 guests