Hi There,

I'm relatively new to snmp, so excuse any mistakes I make in terminology etc
in this message.

I would like to extend the net-snmp agent so that I can monitor performance
and status counters maintained by a proprietary mail server developed by my
employer.

The mail server has a telnet management interface, from which the counter
values can be retrieved.

>From reading the docs I can see that there are several approaches to how I
can obtain the counter values.

1.  Using extend directive.

I can use this directive to call a shell script which would telnet to my
mail server, issue the command to get the counter values and return that
information from the script.

If I used snmpwalk, it would then put these output values  into the tables
under NET-SNMP-EXTEND-MIB::nsExtendObjects and return  the output.

2.  Using pass and pass-persist

As I understand it, this is similar to extend, except you can use an
arbitrary mib entry rather than NET-SNMP-EXTEND-MIB::nsExtendObjects.

3.  Creating a shared object


I already have an enterprise mib representing the data I want.

I know there are various arguments why one of the above approaches is better
than the other.

However, in my case, given I have my own mib, and I need to connect to my
mail server in order to retrieve the desired information, which would you
think should I use?

If I go with the shared object method, does the shared object have the
responsibility of issuing the telnet requests to my mail server, processing
the results and updating the mib?


I have read the tutorials and docs online, but I've yet to find a place
where somebody walks through, step by step,  an example of extending the
agent using one of these methods.  Do you know of any online resource for
this?

Are there any other solutions?

Many thanks,

Tim


------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to