what kstat counts does a network driver need to provide to SNMP mibiisa

what kstat counts does a network driver need to provide to SNMP mibiisa

Post by Weimin Tch » Wed, 08 Aug 2001 00:28:15



My network driver provides kstat counters which appear to be read
every second by the SNMP MIB-II daemon. However I don't know how to
provide the MIB-II counts marked w/ "?" below. The other counters have
been identified by experimentation and info from man 1M: System Admin
Commands: mibiisa and man gld(7D) and "strings /usr/lib/snmp/mibiisa".

Also I don't know how to provide info for "netstat -i" field "Queue"

Do you have any advice? Thanks. Weimin Tchen

                       ifInOctets = rbytes (also for mcast & bcast)
                       ifInUcastPkts = ipackets
                       ifInNUcastPkts = brdcstrcv + multircv
                       ifInDiscards = ?
                       ifInErrors = ierrors
                       ifInUnknownProtos = ?
                       ifOutOctets = obytes (also for mcast & bcast)
                       ifOutUcastPkts = opackets
                       ifOutNUcastPkts = brdcstxmt + multixmt
                       ifOutDiscards = ?
                       ifOutErrors = collisions + ?
                       ifOutQLen = queue

 
 
 

1. what kstat counts does a network driver need to provide to SNMP mibiisa daemon?

My network driver provides kstat counters which are read every second
by the SNMP MIB-II daemon. However I don'know how to provide the
MIB-II counts marked w/ "?" below.

Also I don't know how to provide info for "netstat -i" field "Queue"

v. man 1M: System Admin Commands: mibiisa and man gld(7D)

Thanks for any advice. Weimin Tchen

                       ifInOctets = rbytes (also for mcast & bcast)
                       ifInUcastPkts = ipackets
                       ifInNUcastPkts = brdcstrcv + multircv
                       ifInDiscards = ?
                       ifInErrors = ierrors
                       ifInUnknownProtos = ?
                       ifOutOctets = obytes (also for mcast & bcast)
                       ifOutUcastPkts = opackets
                       ifOutNUcastPkts = brdcstxmt + multixmt
                       ifOutDiscards = ?
                       ifOutErrors = collisions + ?
                       ifOutQLen = queue

2. TAMU error on install - chmod not found?

3. How to setup SNMP on linux to count network traffic ?

4. Hot Rod for SPARC 5

5. kstat errors for network driver

6. Newbie with home networking problem

7. small bug plus fix for /proc/net/snmp (Imcp: field count)

8. netscape 3.01 and lpr -s

9. need to add network driver to installation driver diskette

10. Does Linux provides everything what Windows OS provides?

11. Microsoft provides a stable OS and is charitable while doing it!

12. network traffic monitoring without kstat

13. No networking without a driver, No driver without networking???