Solaris + SNMP

I need to set up SNMP (sub)agent on Solaris 7 which will tell community of a cumulative traffic on a certain network interface.
I need a working example or directions to such an example how to do that (or similar task - making custom data appear on SNMP interface).

Thank you.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Developing an SNMP agent is pretty well documented - the SNMP FAQ discusses the steps in developing an SNMP agent, available APIs and frameworks, etc. You can view this at:

In particular, pay attention to 2.10 to 2.20 which points to all sorts of source samples depending on the type of problem you're trying to solve.

By the way, your best bet which I had played with a little ways back was the UCD SNMP package. It comes with precompiled binaries or you can build from source yourself. It comes with some excellent management tools along with the flexible agent framework. The API is pretty well documented as well.

This software is available from:

Incedentally, I thought that Solaris came with its snmp agent, a la Sun's Solstice Enterprise Agent? I have not worked with this one little bit, but it seems to be what you need and I'd be surprised if it wasn't well documented? The tools above would still help you in testing your development of a subagent.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
By the way, here is the link for Sun's SEA although I realize you may already have it:


seredaAuthor Commented:
Thanks, ucd-snmp solved my problems.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
System Programming

From novice to tech pro — start learning today.