Hi,
To add support for new devices or new entities, it's necessary to write code (or sometimes simply arrays describing the data to be collected).
In the case of sensors, you write a discovery module to walk the relevent tables on the device and pass data to a function which will register them in the database.
There are some examples in : includes/discovery/sensors/
The entity-sensor-mib code uses virtually all features of the functions, bluecoat code is a bit simpler and the trapeze one is even simpler. You can even just hardcode things on devices with fixed sensors.
You generally need to walk the tables and then run a loop over the data feeding each sensor to discover_sensor().
To graph non-entity (a non-entity is something we don't have specific infrastructure for (like cpu, memory, sensor, port, etc). Basically everything in the graphs tab.
There is a new way to graph these things, you can write code explaining to observium how to collect a table (or set of oids) of data and put it into an rrd file (includes/polling/graphs/) and then a set of definitions to build graphs in includes/definitions/graphs.inc.php (in the middle of the file are some new-style definitions). Graphs which can't be built using these definitions can be built with code like in html/includes/graphs/device/
It's actually a lot simpler than it sounds, and you can usually figure most of it out by reading the code, since we intentionally keep code simple so that it's easy to work with.
adam.
------ Original Message ------ From: lom@digitelitalia.com To: observium@observium.org Sent: 12/31/2014 5:06:31 AM Subject: Re: [Observium] Custom SNMP OID
I have the same issue. We are running a bunch of DSLAM (Zhone and Keymile) and we want to monitor the numebr of calls, the temperature and so on (no more than 10 SNMP OID checks). How can I ask to add this kind of support? Can I write my own check files for this hardware and (if it's working fine) pull up on the main release? Where to start writing a custom check? Regards
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium