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

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

Post by Weimin Tch » Sat, 11 Aug 2001 23:03:50



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

 
 
 

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

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

2. The state of UNIX in 1998

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

4. New Modules for C/100/5000BH.

5. SNMP daemon not active on port 161 (or anywhere); daemon loaded.

6. vgetty and 3com message modem ext

7. kstat errors for network driver

8. adb question: user stack dump

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

10. Does Linux provides everything what Windows OS provides?

11. need to add network driver to installation driver diskette

12. driver 'kstat'

13. network traffic monitoring without kstat