From: Lárus R. H. <la...@sl...> - 2011-03-26 21:10:33
|
----- "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 Hi Thanks for the reply, both of you. I had already found out that the snmp setup for this unit is stupid regarding branch/leaf setup, but managed to get it to work and graph with some efforts. But only to the trends page of xymon, not the temp test page itself. These units can also be ued with xml and my next try will be directed at that I guess. Will there be a new test release soon of devmon? Regards, Larus |