From: Richard F. <gol...@gm...> - 2011-03-24 04:25:31
|
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) But you still have a chance to graph the sensor data with a variable number of sensors; I'm thinking you'll need a custom parsing script (using the --extra-script parameter for the [rrdstatus] section of your launch). |