From: Buchan M. <bg...@st...> - 2011-03-24 11:01:53
|
----- "Richard Finegold" <gol...@gm...> wrote: > On Tue, Mar 15, 2011 at 07:21, Lárus Rafn Halldórsson > <la...@sl...> wrote: > > I am having trouble with understanding leaves and branches in SNMP. > I am trying to build a template for the Sensatronics E4 environment > monitor, > http://www.sensatronics.com/products_temperature_model_e4.html > > > > > > here is what I have done so far regarding the temp test part: > > > > ---oids file--- > > SensaE4TempProbeName: > 1.3.6.1.4.1.16174.1.1.1.3.1.1.0 : leaf > > SensaE4TempProbeValueString: > 1.3.6.1.4.1.16174.1.1.1.3.1.2.0 : leaf > > SensaE4TempProbeValueInt: > 1.3.6.1.4.1.16174.1.1.1.3.1.3.0 : leaf > > Looking at > http://sensatronics.serverpros.com/downloads/snmp/sensatronics-ittm.my > these would actually be > sensor1Name > sensor1DataStr > sensor1DataInt > > [snip] > > My question is: how can I call the BRANCH for these oids to be able > to change message file into a TABLE structure and have Xymon 4.3 graph > the sensors? (i have copied the content of devmon-graph.cfg into > xymon's graph.cfg) > > Because the sensorInfo doesn't have a SEQUENCE OF syntax, I'm pretty > sure that you won't be able to use branch/table (within devmon) and > will have to stick with leafs. I'm guessing you'll have separate > devmon models, one for each count of probes you have. (e.g. > sensatronics-e4probes1, sensatronics-e4probes2) This is a really broken design. I have seen a similarly broken design in the AVTech Roomalert devices. However, *decent* environmental monitoring devices, that have a sane SNMP data model, are the Netbotz (http://www.netbotz.com/products/appliances.html) devices (for which I will commit a template soon). Regards, Buchan |