Hi All,
I am very new to net-snmp. I have many hosts with each running few java
processes. These processes have custom statistics which we want to be reported
back to an SNMP server for e.g. EM7. I started off by writing a separate
".mib" for each process and its scalar statistics. Now I have following
questions to answer:
1- How do I feed these multiple .mibs( one mib for each process on that
host) to snmpd on that host?
2- How does snmpd get configured to respond to a get for an individual
statistic for a process?
3- How does the process communicate the statistics?
(For step 3, in my mind one of the following will be needed:
a) i have to write add extra layer in my java processes that interacts with
snmpd agent. If so how ? code examples?
b) can I write some generic code which can be invoked by my snmpd to read some
data repository (a file or db etc.). If so how and how can I integrate it with
snmpd? Code examples?
c) I have to write sub agents? Do I also have to use AgentPro necessarily to
generate java stubs for my mib files ? if so how do I plug them in to snmpd ?
I guess I do not have one clear way of implementing a solution. A feasible
solution recommendation would really help me get around this. Since I have been
reading information in pieces but so far found no clear example on "how to
monitor custom statistics of java processes on " etc. to explain all the pieces.
Your prompt response will really help me in my endeavor and probably I can
write that example for the rest of us with your help.
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
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