Re: snmp unknown object identifier

Liste des GroupesRevenir à c misc 
Sujet : Re: snmp unknown object identifier
De : bulleid (at) *nospam* ku.gro.lioff (Adrian)
Groupes : comp.misc
Date : 18. Feb 2025, 16:10:40
Autres entêtes
Organisation : Occasionally
Message-ID : <oUh$T0IwLKtnFwL4@ku.gro.lloiff>
References : 1 2 3
User-Agent : Turnpike/6.07-M (<Df+zPFav$wDhXGseGVxaF2DOuX>)
In message <jUb9z+GYiJtnFwbQ@ku.gro.lloiff>, Adrian <bulleid@ku.gro.lioff> writes
I'm after both. Uptime on a daily basis, and octets in (and out, ideally on both Ethernet and WiFi) on a more regular basis.
>
The Uptime is easy to identify when doing a snmpwalk (so I can get the id number), but there are a number of lines that come back that could be the dataflow values.
>
I've just tried using snmpget on 1.3.6.1.2.1.2.2.1.10 to get ifInOctets, and I get :
>
No such Object available in this agent at this OID
>
Looking at that with snmpwalk, there are 10 sub-values (1.3.6.1.2.1.2.2.1.10.x), of which 6 are zero, and the other 4 (x = 1, 6, 7, 8) have differing values.  The first seems to be constant at 480.
>
Following on from Andy Burn's I installed a MIB GUI, and looking through it, it comes up with various interface names for the differing x values. It looks as though 6, 7 and 8 are respectively the eth0, bridge and wlan0 equivalents.  Turning off the only WiFi device connected to the access point saw the values for 6 and 7 increase, but not 8, so I'm making a guess at them being in that order.
It looks as though I can now get the info I want, albeit using the long number rather than a MIB identifier.
Adrian
--
To Reply :
replace "bulleid" with "adrian" - all mail to bulleid is rejected
Sorry for the rigmarole, If I want spam, I'll go to the shops
Every time someone says "I don't believe in trolls", another one dies.

Date Sujet#  Auteur
17 Feb 25 * snmp unknown object identifier13Adrian
17 Feb 25 +* Re: snmp unknown object identifier4Jim Jackson
18 Feb 25 i`* Re: snmp unknown object identifier3Adrian
20 Feb 25 i `* Re: snmp unknown object identifier2Jim Jackson
20 Feb 25 i  `- Re: snmp unknown object identifier1Adrian
17 Feb 25 +* Re: snmp unknown object identifier2Andy Burns
18 Feb 25 i`- Re: snmp unknown object identifier1Adrian
18 Feb 25 `* Re: snmp unknown object identifier6Grant Taylor
18 Feb 25  `* Re: snmp unknown object identifier5Adrian
18 Feb 25   `* Re: snmp unknown object identifier4Adrian
19 Feb 25    `* Re: snmp unknown object identifier3Grant Taylor
19 Feb 25     +- Re: snmp unknown object identifier1Adrian
20 Feb 25     `- Re: snmp unknown object identifier1Jim Jackson

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal