From: Thomas, L. M. <LMT...@st...> - 2011-03-15 18:17:47
|
Larus, In my case, we were using a different sensatronics monitor, but the graphing turned out to be a Xymon problem not devmon. http://lists.xymon.com/oldarchive/2009/07/msg00241.html is a link to a page that proved very insightful for me. Also make sure you have edited the hobbitserver.cfg file and added your column name to the TEST2RRD value. Info on that process is here http://myopensourcestints.blogspot.com/2010/03/xymon-custom-graphs-for-your-hobbit.html. We ended up not using devmon, because unused sensors reported -999.99 all the time and we couldn't get them filtered out. So if you find a solution for that I would love to know. Laura -----Original Message----- From: Lárus Rafn Halldórsson [mailto:la...@sl...] Sent: Tuesday, March 15, 2011 9:21 AM To: dev...@li... Subject: [Devmon] a little help on generating template Hello 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 ------ ---transforms file--- (I only did this to see if I could calculate data from the string leaf and it is possible) temp : MATH : {SensaE4TempProbeValueString} / 1 ------ ---message file--- Thermal sensors: Probe: {SensaE4TempProbeName} {SensaE4TempProbeValueInt.color} temperature in degrees Celsius: {temp} ------ ---thresholds file--- SensaE4TempProbeValueInt : red : >32 : Temperature is Very High: {SensaE4TempProbeValueInt} degrees Celcius SensaE4TempProbeValueInt : yellow : >29 : Temperature is High: {SensaE4TempProbeValueInt} degrees Celcius SensaE4TempProbeValueInt : green : : Temperature is normal {SensaE4TempProbeValueInt} degrees Celcius ------ For this particlular unit, you can connect up to 4 sensors. As I am only using one sensor, I used the leaves for sensor 1 just to get this working. Now I want to finish up this template so others can use it too. as can be seen on the oids file, the probe 1 oids are as follows: (file can be seen here: http://sensatronics.serverpros.com/downloads/snmp/Model_E_OID_Listing.pdf) Name: 1.3.6.1.4.1.16174.1.1.1.3.1.1.0 : leaf ValueString: 1.3.6.1.4.1.16174.1.1.1.3.1.2.0 : leaf ValueInt: 1.3.6.1.4.1.16174.1.1.1.3.1.3.0 : leaf Sensor oids for probe 2 are: Name: 1.3.6.1.4.1.16174.1.1.1.3.2.1.0 : leaf ValueString: 1.3.6.1.4.1.16174.1.1.1.3.2.2.0 : leaf ValueInt: 1.3.6.1.4.1.16174.1.1.1.3.2.3.0 : leaf 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) Xymon can display the data and alerts if heat exceeds the limits but no rrd files are generated and I cannot figure out why. could anybody help me with this? best regards, Larus ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Devmon-support mailing list Dev...@li... https://lists.sourceforge.net/lists/listinfo/devmon-support |