[Sorry for the delay in responding to this] On Mon, 2005-10-10 at 15:21 +0800, Chino Aureus wrote: > I'm developing a server application and want this app monitored via > SNMP. On the console, > I want to see both O.S. related stats (e.g. resource utilization) and > "my app" related stats (e.g. data queues, TPS, etc...). > > Any suggestions on how should I implement this while taking advantage > of the native SNMP utilities/libraries?
This would most naturally be handled using an AgentX subagent within your application, to provide the app-specific stats, while allowing the main SNMP agent to look after all of the standard information. The first step is probably to decide exactly what information you need to provide (and how you are going to gather this), and then design a suitable MIB. Then start by implementing one or two of the simpler objects within your application (to get the basic AgentX setup working), and build up from there. Dave ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ 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