
Richard Sharpe writes:
Richard> Among the Ethereal developers, we have talked about Richard> supporting RMON packet capture for some time, and I am Richard> motivated to start doing something about it.
Richard> A quick search suggests that libsmi is the obvious way to Richard> support what we want.
Richard> However, I want to leverage on the experience of others here.
Richard> Has anyone used libsmi to capture packets from an RMON probe Richard> or RMON capable switch or router?
Richard> Can anyone send me code fragments or outlines?
Libsmi only provides access to the RMON data definitions. You still need to pick an SNMP library (I think ethereal has the gxsnmp code anyway) and to write some RMON configuration and retrieval code. Libsmi may help you to do this in a way such that you do not have to hard-code many OIDs and the associated information.
/js