![](https://secure.gravatar.com/avatar/a7dd3583875f64c3ed7a861f05a7ae7b.jpg?s=120&d=mm&r=g)
Let me clarify a little.
I have created a subagent using the net-snmp model, suitable for linking into my own code. The subagent attaches to an existing net-snmp agent via the agentx protocol, and responds to ‘snmpget’ as expected for my custom MIBs which I’ve created in the appropriate part of the MIB tree. There are values which I want to be able to retrieve via SNMP which are only available from inside of my running service; no external agent would be able to determine the values I’m retrieving.
Now I’d like to be able to extend observium so that I can graph the values which snmpget returns which are in my specific part of the MIB tree.
I only referenced the unix-agent since that seemed to be an example of what I was trying to do.
Maybe another way of asking would be “I have a piece of equipment which observium doesn’t currently have the ability to understand/graph. how do I extend observium so that I can define the page for that equipment, the graphs, on that page, and the items which each graph track?"
On Dec 6, 2014, at 9:01 PM, Adam Armstrong adama@memetic.org wrote:
The unix agent doesn't have anything to do with MIBs.
We don't recommend using SNMP for custom things, that's what the agent is for.
adam.
------ Original Message ------ From: "Richard Broberg" rhbroberg@yahoo.com To: observium@observium.org Sent: 12/5/2014 11:11:19 AM Subject: [Observium] extending observium to handle custom MIBs
I have added a tree of MIBs (in the ‘experimental’ section of the tree) for my own application services to respond to snmp requests. This is for determining the health of a running service.
I can view the objects using snmpwalk, and I can add the host running the agent to observium. I can see all the information retrieved from the ‘well-known’ MIBs (uptime, load, etc.) in observium for my extended agent, but I can’t see any of my own MIBs.
Where do I look for how to let observium know about my MIBs so that it can show the data in a tabular or graphical format? I see the includes/polling/unix-agent/* as some examples, but it’s not clear to me where the mapping between my OIDs goes to the variables inside of running observium, so I can invoke rrdtool_create properly. It’s also not clear to me how I layout the various graphs on the page, once I have them created. If there is some documentation for that somewhere, or a particularly good example in the code to look at which would make it clear, that would be great.
Thanks _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium