• snmp unknown object identifier

    From Adrian@21:1/5 to All on Mon Feb 17 17:16:24 2025
    I'm trying to access a TP link access point to get some basic data from
    it.

    According to TP Link, I need the rfc1213 mib, which I've downloaded and
    put in my ~/.snmp/mibs directory

    However :

    $ snmpget -v 1 -Cf -c public $IPADDRESS rfc1213.mib::ifInOctets rfc1213.mib::ifInOctets: Unknown Object Identifier

    greping on the file shows that I do have entries for ifInOctets.

    Changing ifInOctets to something else (e.g. Time ticks) gives me the
    same result, but using the long number (1.3.6.1.2.1.1.3.0) works. As
    I'm not sure what ifInOctets translates to, I can't readily use the
    number instead.

    Having spent half the afternoon rummaging around on the 'net with no
    clear (to me) answer, I'm here.

    Suggestions on where to continue welcomed.

    Thanks

    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jim Jackson@21:1/5 to Adrian on Mon Feb 17 18:38:40 2025
    On 2025-02-17, Adrian <bulleid@ku.gro.lioff> wrote:
    I'm trying to access a TP link access point to get some basic data from
    it.

    According to TP Link, I need the rfc1213 mib, which I've downloaded and
    put in my ~/.snmp/mibs directory

    However :

    $ snmpget -v 1 -Cf -c public $IPADDRESS rfc1213.mib::ifInOctets rfc1213.mib::ifInOctets: Unknown Object Identifier

    greping on the file shows that I do have entries for ifInOctets.

    Changing ifInOctets to something else (e.g. Time ticks) gives me the
    same result, but using the long number (1.3.6.1.2.1.1.3.0) works. As
    I'm not sure what ifInOctets translates to, I can't readily use the
    number instead.

    Having spent half the afternoon rummaging around on the 'net with no
    clear (to me) answer, I'm here.

    Suggestions on where to continue welcomed.


    Yes SNMP can be a pain. The info in that mib often is a table of values,
    one per interface, and you need to know the interface table index to get
    one value.

    However you can get all the table in one go by doing an snmpwalk. It a
    long time since I did snmp monitoring - I have written C-code to gather
    and display interface data stats, but the numbers are not at my finger
    tips any more. However I googled and got the number string

    1.3.6.1.2.1.2.2.1.10

    so try

    snmpwalk -v1 -c public $IPadd 1.3.6.1.2.1.2.2.1.10

    Here's what my VDSL router gave back ...

    IF-MIB::ifInOctets.49 = Counter32: 0
    IF-MIB::ifInOctets.50 = Counter32: 1622068159
    IF-MIB::ifInOctets.51 = Counter32: 0
    IF-MIB::ifInOctets.52 = Counter32: 1989775457
    IF-MIB::ifInOctets.53 = Counter32: 3244444578
    IF-MIB::ifInOctets.54 = Counter32: 3582643404
    IF-MIB::ifInOctets.55 = Counter32: 46130557
    IF-MIB::ifInOctets.56 = Counter32: 3610089600
    IF-MIB::ifInOctets.1000 = Counter32: 0
    IF-MIB::ifInOctets.1001 = Counter32: 0
    IF-MIB::ifInOctets.1002 = Counter32: 0
    IF-MIB::ifInOctets.1003 = Counter32: 0

    and if you want the mib numbers ...

    snmpwalk -On -v1 -c public $IPadd 1.3.6.1.2.1.2.2.1.10 .1.3.6.1.2.1.2.2.1.10.49 = Counter32: 0
    .1.3.6.1.2.1.2.2.1.10.50 = Counter32: 1622073446
    .1.3.6.1.2.1.2.2.1.10.51 = Counter32: 0
    .1.3.6.1.2.1.2.2.1.10.52 = Counter32: 1989775457
    .1.3.6.1.2.1.2.2.1.10.53 = Counter32: 3244454443
    .1.3.6.1.2.1.2.2.1.10.54 = Counter32: 3582665247
    .1.3.6.1.2.1.2.2.1.10.55 = Counter32: 46131353
    .1.3.6.1.2.1.2.2.1.10.56 = Counter32: 3610126193
    .1.3.6.1.2.1.2.2.1.10.1000 = Counter32: 0
    .1.3.6.1.2.1.2.2.1.10.1001 = Counter32: 0
    .1.3.6.1.2.1.2.2.1.10.1002 = Counter32: 0
    .1.3.6.1.2.1.2.2.1.10.1003 = Counter32: 0


    And to dump all the interface numbers is all the gory details try ...

    snmpwalk -v1 -c public O 1.3.6.1.2.1.2.2.1

    or add -On for the number numbers.

    Happy playing it can be quite fun and often very frustrating!

    Jim

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andy Burns@21:1/5 to Adrian on Mon Feb 17 18:44:27 2025
    Adrian wrote:

    Having spent half the afternoon rummaging around on the 'net with no
    clear (to me) answer, I'm here.

    I'd get a GUI MIB browser and poke around, not sure if there are any
    good Linux ones, I've use Windows ones ...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Adrian@21:1/5 to jj@franjam.org.uk on Tue Feb 18 00:19:17 2025
    In message <slrnvr70hg.3ku.jj@iridium.wf32df>, Jim Jackson
    <jj@franjam.org.uk> writes
    On 2025-02-17, Adrian <bulleid@ku.gro.lioff> wrote:
    I'm trying to access a TP link access point to get some basic data from
    it.

    According to TP Link, I need the rfc1213 mib, which I've downloaded and
    put in my ~/.snmp/mibs directory

    However :

    $ snmpget -v 1 -Cf -c public $IPADDRESS rfc1213.mib::ifInOctets
    rfc1213.mib::ifInOctets: Unknown Object Identifier

    greping on the file shows that I do have entries for ifInOctets.

    Changing ifInOctets to something else (e.g. Time ticks) gives me the
    same result, but using the long number (1.3.6.1.2.1.1.3.0) works. As
    I'm not sure what ifInOctets translates to, I can't readily use the
    number instead.

    Having spent half the afternoon rummaging around on the 'net with no
    clear (to me) answer, I'm here.

    Suggestions on where to continue welcomed.


    Yes SNMP can be a pain. The info in that mib often is a table of values,
    one per interface, and you need to know the interface table index to get
    one value.

    However you can get all the table in one go by doing an snmpwalk. It a
    long time since I did snmp monitoring - I have written C-code to gather
    and display interface data stats, but the numbers are not at my finger
    tips any more. However I googled and got the number string

    1.3.6.1.2.1.2.2.1.10

    so try

    snmpwalk -v1 -c public $IPadd 1.3.6.1.2.1.2.2.1.10

    Here's what my VDSL router gave back ...

    IF-MIB::ifInOctets.49 = Counter32: 0
    IF-MIB::ifInOctets.50 = Counter32: 1622068159
    IF-MIB::ifInOctets.51 = Counter32: 0
    IF-MIB::ifInOctets.52 = Counter32: 1989775457
    IF-MIB::ifInOctets.53 = Counter32: 3244444578
    IF-MIB::ifInOctets.54 = Counter32: 3582643404
    IF-MIB::ifInOctets.55 = Counter32: 46130557
    IF-MIB::ifInOctets.56 = Counter32: 3610089600
    IF-MIB::ifInOctets.1000 = Counter32: 0
    IF-MIB::ifInOctets.1001 = Counter32: 0
    IF-MIB::ifInOctets.1002 = Counter32: 0
    IF-MIB::ifInOctets.1003 = Counter32: 0

    and if you want the mib numbers ...

    snmpwalk -On -v1 -c public $IPadd 1.3.6.1.2.1.2.2.1.10
    .1.3.6.1.2.1.2.2.1.10.49 = Counter32: 0
    .1.3.6.1.2.1.2.2.1.10.50 = Counter32: 1622073446
    .1.3.6.1.2.1.2.2.1.10.51 = Counter32: 0
    .1.3.6.1.2.1.2.2.1.10.52 = Counter32: 1989775457
    .1.3.6.1.2.1.2.2.1.10.53 = Counter32: 3244454443
    .1.3.6.1.2.1.2.2.1.10.54 = Counter32: 3582665247
    .1.3.6.1.2.1.2.2.1.10.55 = Counter32: 46131353
    .1.3.6.1.2.1.2.2.1.10.56 = Counter32: 3610126193
    .1.3.6.1.2.1.2.2.1.10.1000 = Counter32: 0
    .1.3.6.1.2.1.2.2.1.10.1001 = Counter32: 0
    .1.3.6.1.2.1.2.2.1.10.1002 = Counter32: 0
    .1.3.6.1.2.1.2.2.1.10.1003 = Counter32: 0


    And to dump all the interface numbers is all the gory details try ...

    snmpwalk -v1 -c public O 1.3.6.1.2.1.2.2.1

    or add -On for the number numbers.

    Happy playing it can be quite fun and often very frustrating!

    Jim


    Thanks for the reply.

    Trying that I get :

    snmpwalk -v1 -c public $IPadd 1.3.6.1.2.1.2.2.1.10
    iso.3.6.1.2.1.2.2.1.10.1 = Counter32: 480
    iso.3.6.1.2.1.2.2.1.10.2 = Counter32: 0
    iso.3.6.1.2.1.2.2.1.10.3 = Counter32: 0
    iso.3.6.1.2.1.2.2.1.10.4 = Counter32: 0
    iso.3.6.1.2.1.2.2.1.10.5 = Counter32: 0
    iso.3.6.1.2.1.2.2.1.10.6 = Counter32: 47834339
    iso.3.6.1.2.1.2.2.1.10.7 = Counter32: 28162230
    iso.3.6.1.2.1.2.2.1.10.8 = Counter32: 21747742
    iso.3.6.1.2.1.2.2.1.10.9 = Counter32: 0
    iso.3.6.1.2.1.2.2.1.10.10 = Counter32: 0

    and

    snmpwalk -On -v1 -c public $IPadd 1.3.6.1.2.1.2.2.1.10
    .1.3.6.1.2.1.2.2.1.10.1 = Counter32: 480
    .1.3.6.1.2.1.2.2.1.10.2 = Counter32: 0
    .1.3.6.1.2.1.2.2.1.10.3 = Counter32: 0
    .1.3.6.1.2.1.2.2.1.10.4 = Counter32: 0
    .1.3.6.1.2.1.2.2.1.10.5 = Counter32: 0
    .1.3.6.1.2.1.2.2.1.10.6 = Counter32: 47855251
    .1.3.6.1.2.1.2.2.1.10.7 = Counter32: 28168496
    .1.3.6.1.2.1.2.2.1.10.8 = Counter32: 21766531
    .1.3.6.1.2.1.2.2.1.10.9 = Counter32: 0
    .1.3.6.1.2.1.2.2.1.10.10 = Counter32: 0


    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to Adrian on Mon Feb 17 22:25:39 2025
    On 2/17/25 11:16, Adrian wrote:
    Changing ifInOctets to something else (e.g. Time ticks) gives me the
    same result, but using the long number (1.3.6.1.2.1.1.3.0) works.

    According to the OID repository, 1.3.6.1.2.1.1.3.0 is sysUpTimeInstance
    and doesn't seem to have anything to do with -- what I assume to be -- interface inbound octets.

    Link - OID repository - 1.3.6.1.2.1.1.3.0 = {iso(1)
    identified-organization(3) dod(6) internet(1) mgmt(2) mib-2(1) system(1) sysUpTime(3) sysUpTimeInstance(0)}
    - https://oid-base.com/get/1.3.6.1.2.1.1.3.0

    It seems as if ifInOctets is 1.3.6.1.2.1.2.2.1.10

    Link - OID repository - 1.3.6.1.2.1.2.2.1.10 = {iso(1) identified-organization(3) dod(6) internet(1) mgmt(2) mib-2(1)
    interfaces(2) ifTable(2) ifEntry(1) ifInOctets(10)}
    - https://oid-base.com/get/1.3.6.1.2.1.2.2.1.10

    As I'm not sure what ifInOctets translates to, I can't readily use
    the number instead.

    Are you looking for the system's up time or the number of octets
    received on interfaces?

    Having spent half the afternoon rummaging around on the 'net with no
    clear (to me) answer, I'm here.

    ;-)

    Suggestions on where to continue welcomed.

    :-)



    --
    Grant. . . .

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Adrian@21:1/5 to gtaylor@tnetconsulting.net on Tue Feb 18 14:26:32 2025
    In message <vp1243$fou$1@tncsrv09.home.tnetconsulting.net>, Grant Taylor <gtaylor@tnetconsulting.net> writes
    On 2/17/25 11:16, Adrian wrote:
    Changing ifInOctets to something else (e.g. Time ticks) gives me the
    same result, but using the long number (1.3.6.1.2.1.1.3.0) works.

    According to the OID repository, 1.3.6.1.2.1.1.3.0 is sysUpTimeInstance
    and doesn't seem to have anything to do with -- what I assume to be -- >interface inbound octets.

    Link - OID repository - 1.3.6.1.2.1.1.3.0 = {iso(1) >identified-organization(3) dod(6) internet(1) mgmt(2) mib-2(1)
    system(1) sysUpTime(3) sysUpTimeInstance(0)}
    - https://oid-base.com/get/1.3.6.1.2.1.1.3.0

    It seems as if ifInOctets is 1.3.6.1.2.1.2.2.1.10

    Link - OID repository - 1.3.6.1.2.1.2.2.1.10 = {iso(1) >identified-organization(3) dod(6) internet(1) mgmt(2) mib-2(1)
    interfaces(2) ifTable(2) ifEntry(1) ifInOctets(10)}
    - https://oid-base.com/get/1.3.6.1.2.1.2.2.1.10

    As I'm not sure what ifInOctets translates to, I can't readily use
    the number instead.

    Are you looking for the system's up time or the number of octets
    received on interfaces?


    Thanks Grant.

    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.

    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Adrian@21:1/5 to usenet@andyburns.uk on Tue Feb 18 15:02:24 2025
    In message <m1heceFhvccU1@mid.individual.net>, Andy Burns
    <usenet@andyburns.uk> writes
    Adrian wrote:

    Having spent half the afternoon rummaging around on the 'net with no
    clear (to me) answer, I'm here.

    I'd get a GUI MIB browser and poke around, not sure if there are any
    good Linux ones, I've use Windows ones ...

    Thanks Andy.

    I've had a rummage on line "linux mib gui" and found one from
    ireasoning, which has a free home licensed version. I've downloaded and installed that, and it's been useful.

    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Adrian@21:1/5 to bulleid@ku.gro.lioff on Tue Feb 18 15:10:40 2025
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to Adrian on Tue Feb 18 21:16:05 2025
    On 2/18/25 09:10, Adrian wrote:
    It looks as though I can now get the info I want, albeit using the long number rather than a MIB identifier.

    I'm glad that you got it working.

    I wonder if you could modify the MIB or add your own MIB to the
    collection. -- I thought you said that you needed to use the name, not
    the OID.

    My understanding -- could easily be wrong -- is that not all
    manufacturers follow well known / published standards. So maybe you ran
    into a not quite as standard as desired edge case.



    --
    Grant. . . .

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Adrian@21:1/5 to gtaylor@tnetconsulting.net on Wed Feb 19 14:21:45 2025
    In message <vp3idl$dkr$1@tncsrv09.home.tnetconsulting.net>, Grant Taylor <gtaylor@tnetconsulting.net> writes
    On 2/18/25 09:10, Adrian wrote:
    It looks as though I can now get the info I want, albeit using the
    long number rather than a MIB identifier.

    I'm glad that you got it working.

    I wonder if you could modify the MIB or add your own MIB to the
    collection. -- I thought you said that you needed to use the name,
    not the OID.


    I thought that I did need the name to properly identify what I was
    after, but after I installed the MIB GUI (see elsewhere in the thread),
    I was able to identify the OIDs that I want, so I now don't need the
    MIB.

    My understanding -- could easily be wrong -- is that not all
    manufacturers follow well known / published standards. So maybe you
    ran into a not quite as standard as desired edge case.


    That might be the case, but I'm a very long way from qualified to
    comment on that.

    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jim Jackson@21:1/5 to Adrian on Thu Feb 20 12:37:11 2025
    Sorry for late response ....

    On 2025-02-18, Adrian <bulleid@ku.gro.lioff> wrote:
    In message <slrnvr70hg.3ku.jj@iridium.wf32df>, Jim Jackson
    <jj@franjam.org.uk> writes
    On 2025-02-17, Adrian <bulleid@ku.gro.lioff> wrote:
    I'm trying to access a TP link access point to get some basic data from
    it.

    According to TP Link, I need the rfc1213 mib, which I've downloaded and
    put in my ~/.snmp/mibs directory

    However :

    $ snmpget -v 1 -Cf -c public $IPADDRESS rfc1213.mib::ifInOctets
    rfc1213.mib::ifInOctets: Unknown Object Identifier

    greping on the file shows that I do have entries for ifInOctets.

    Changing ifInOctets to something else (e.g. Time ticks) gives me the
    same result, but using the long number (1.3.6.1.2.1.1.3.0) works. As
    I'm not sure what ifInOctets translates to, I can't readily use the
    number instead.

    Having spent half the afternoon rummaging around on the 'net with no
    clear (to me) answer, I'm here.

    Suggestions on where to continue welcomed.


    Yes SNMP can be a pain. The info in that mib often is a table of values, >>one per interface, and you need to know the interface table index to get >>one value.

    However you can get all the table in one go by doing an snmpwalk. It a
    long time since I did snmp monitoring - I have written C-code to gather
    and display interface data stats, but the numbers are not at my finger
    tips any more. However I googled and got the number string

    1.3.6.1.2.1.2.2.1.10

    so try

    snmpwalk -v1 -c public $IPadd 1.3.6.1.2.1.2.2.1.10

    Here's what my VDSL router gave back ...

    IF-MIB::ifInOctets.49 = Counter32: 0
    IF-MIB::ifInOctets.50 = Counter32: 1622068159
    IF-MIB::ifInOctets.51 = Counter32: 0
    IF-MIB::ifInOctets.52 = Counter32: 1989775457
    IF-MIB::ifInOctets.53 = Counter32: 3244444578
    IF-MIB::ifInOctets.54 = Counter32: 3582643404
    IF-MIB::ifInOctets.55 = Counter32: 46130557
    IF-MIB::ifInOctets.56 = Counter32: 3610089600
    IF-MIB::ifInOctets.1000 = Counter32: 0
    IF-MIB::ifInOctets.1001 = Counter32: 0
    IF-MIB::ifInOctets.1002 = Counter32: 0
    IF-MIB::ifInOctets.1003 = Counter32: 0

    and if you want the mib numbers ...

    snmpwalk -On -v1 -c public $IPadd 1.3.6.1.2.1.2.2.1.10 >>.1.3.6.1.2.1.2.2.1.10.49 = Counter32: 0
    .1.3.6.1.2.1.2.2.1.10.50 = Counter32: 1622073446
    .1.3.6.1.2.1.2.2.1.10.51 = Counter32: 0
    .1.3.6.1.2.1.2.2.1.10.52 = Counter32: 1989775457
    .1.3.6.1.2.1.2.2.1.10.53 = Counter32: 3244454443
    .1.3.6.1.2.1.2.2.1.10.54 = Counter32: 3582665247
    .1.3.6.1.2.1.2.2.1.10.55 = Counter32: 46131353
    .1.3.6.1.2.1.2.2.1.10.56 = Counter32: 3610126193
    .1.3.6.1.2.1.2.2.1.10.1000 = Counter32: 0
    .1.3.6.1.2.1.2.2.1.10.1001 = Counter32: 0
    .1.3.6.1.2.1.2.2.1.10.1002 = Counter32: 0
    .1.3.6.1.2.1.2.2.1.10.1003 = Counter32: 0


    And to dump all the interface numbers is all the gory details try ...

    snmpwalk -v1 -c public O 1.3.6.1.2.1.2.2.1

    or add -On for the number numbers.

    Happy playing it can be quite fun and often very frustrating!

    Jim


    Thanks for the reply.

    Trying that I get :

    snmpwalk -v1 -c public $IPadd 1.3.6.1.2.1.2.2.1.10
    iso.3.6.1.2.1.2.2.1.10.1 = Counter32: 480
    iso.3.6.1.2.1.2.2.1.10.2 = Counter32: 0
    iso.3.6.1.2.1.2.2.1.10.3 = Counter32: 0
    iso.3.6.1.2.1.2.2.1.10.4 = Counter32: 0
    iso.3.6.1.2.1.2.2.1.10.5 = Counter32: 0
    iso.3.6.1.2.1.2.2.1.10.6 = Counter32: 47834339
    iso.3.6.1.2.1.2.2.1.10.7 = Counter32: 28162230
    iso.3.6.1.2.1.2.2.1.10.8 = Counter32: 21747742
    iso.3.6.1.2.1.2.2.1.10.9 = Counter32: 0
    iso.3.6.1.2.1.2.2.1.10.10 = Counter32: 0

    and

    snmpwalk -On -v1 -c public $IPadd 1.3.6.1.2.1.2.2.1.10 .1.3.6.1.2.1.2.2.1.10.1 = Counter32: 480
    .1.3.6.1.2.1.2.2.1.10.2 = Counter32: 0
    .1.3.6.1.2.1.2.2.1.10.3 = Counter32: 0
    .1.3.6.1.2.1.2.2.1.10.4 = Counter32: 0
    .1.3.6.1.2.1.2.2.1.10.5 = Counter32: 0
    .1.3.6.1.2.1.2.2.1.10.6 = Counter32: 47855251
    .1.3.6.1.2.1.2.2.1.10.7 = Counter32: 28168496
    .1.3.6.1.2.1.2.2.1.10.8 = Counter32: 21766531
    .1.3.6.1.2.1.2.2.1.10.9 = Counter32: 0
    .1.3.6.1.2.1.2.2.1.10.10 = Counter32: 0



    If you smnpwalk these strings can get more information ...

    1.3.6.1.2.1.2.2.1.1
    ifIndex tells you the valid indexes - last numbers of the "tables".

    1.3.6.1.2.1.2.2.1.2
    ifDescr gives descriptions of the interfaces

    1.3.6.1.2.1.2.2.1.3
    ifType gives the types of interfaces

    1.3.6.1.2.1.2.2.1.5
    ifSpeed gives the interfaces speed

    1.3.6.1.2.1.2.2.1.8 ifOperStatus status of interface
    1.3.6.1.2.1.2.2.1.10 ifInOctets
    1.3.6.1.2.1.2.2.1.16 if OutOctets

    There are others. Hope you are getting results.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Adrian@21:1/5 to jj@franjam.org.uk on Thu Feb 20 12:53:32 2025
    In message <slrnvre8fn.6l0.jj@iridium.wf32df>, Jim Jackson
    <jj@franjam.org.uk> writes
    Sorry for late response ....


    <snip for brevity>

    There are others. Hope you are getting results.


    Indeed I am thanks,

    As I mentioned elsewhere in the thread, I installed a GUI that allows me
    to read the MIB info (and gives a brief overview of what each field is),
    so I was able to work out which codes to use.

    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jim Jackson@21:1/5 to Grant Taylor on Thu Feb 20 12:48:29 2025
    On 2025-02-19, Grant Taylor <gtaylor@tnetconsulting.net> wrote:
    On 2/18/25 09:10, Adrian wrote:
    It looks as though I can now get the info I want, albeit using the long
    number rather than a MIB identifier.

    I'm glad that you got it working.

    I wonder if you could modify the MIB or add your own MIB to the
    collection. -- I thought you said that you needed to use the name, not
    the OID.

    My understanding -- could easily be wrong -- is that not all
    manufacturers follow well known / published standards. So maybe you ran
    into a not quite as standard as desired edge case.

    That used to be very true, but nowadays they usually quote which MIBs they support, if you can get a tech. spec. for the device that is!

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)