From: Teresa K. <kr...@cs...> - 2007-10-12 18:38:27
|
I am running hobbit 4.2.0 with the all-in-one patch and devmon-0.3.0-beta2. I have a Sensatronics temperature sensor that I am grabbing the temperature from. I will show my configuration below only for two of the four probes but it is the same for the other two. Some of the configuration was added to see if that would make a difference (the transform for the temperature is not needed but I though perhaps the value was being interpreted as a string and that was why the threshold test was failing). I am always getting a green status. The threshold values are being correctly reported. I am also getting nice plots (Aside - I needed to rename the test from temperature to temp to get that working). One another note the RRD entry only has a integer value for the temperature were as we are measuring more accurately. This is not nearly as critical as being able to be alerted when the temperature gets to high. <!--DEVMON RRD: temp 0 0 DS:temp:GAUGE:600:0:U BA5290_Front 22 --> exceptions file is empty message file: TABLE:noalarmsmsg,rrd(DS:temp:STemp1:GAUGE) Location | Temperature | Yellow | Red | Status {SDescr1} | {STemp1.color}{STemp1} | {STemp1.thresh:yellow} | {STemp1.thresh:red}| {STemp1.errors}{STemp1.msg} TABLE: noalarmsmsg,rrd(DS:temp:STemp2:GAUGE) Location | Temperature | Yellow | Red | Status {SDescr2} | {STemp2.color}{STemp2} | {STemp2.thresh:yellow} | {STemp2.thresh:red} | {STemp2.errors}{STemp2.msg} oids file: SensDescr1 : .1.3.6.1.4.1.16174.1.1.1.3.1.1 : branch SensTemp1 : .1.3.6.1.4.1.16174.1.1.1.3.1.2 : branch SensData1 : .1.3.6.1.4.1.16174.1.1.1.3.1.3 : branch SwitchStatI1 : .1.3.6.1.4.1.16174.1.1.1.3.1.4 : branch SwitchStatC1 : .1.3.6.1.4.1.16174.1.1.1.3.1.5 : branch SensDescr2 : .1.3.6.1.4.1.16174.1.1.1.3.2.1 : branch SensTemp2 : .1.3.6.1.4.1.16174.1.1.1.3.2.2 : branch SensData2 : .1.3.6.1.4.1.16174.1.1.1.3.2.3 : branch SwitchStatI2 : .1.3.6.1.4.1.16174.1.1.1.3.2.4 : branch SwitchStatC2 : .1.3.6.1.4.1.16174.1.1.1.3.2.5 : branch thresholds file: STemp1 : red : >22 : Too High STemp1 : yellow : >21 : High STemp1 : green : '_AUTOMATCH_' : Normal STemp2 : red : >22 : Critical High STemp2 : yellow : >21 : Warning High transforms file: SDescr1 : REGSUB : {SensDescr1} /(\w+)\s+(\w+)/$1_$2/ SDescr2 : REGSUB : {SensDescr2} /(\w+)\s+(\w+)/$1_$2/ STemp1 : MATH : {SensTemp1} x 1 STemp2 : MATH : {SensTemp2} x 1 Output: Location Temperature Yellow Red Status BA5290_Front green 22.30 >21 >22 Undefined Location Temperature Yellow Red Status BA5290_Back green 22.00 >21 >22 Undefined Clearly the values are over the limits I have assigned and not green. Can someone please help as I have run out of ideas? Teresa Kroeker |
From: Teresa K. <kr...@cs...> - 2007-10-22 15:45:27
|
I was able to create a transform that can create a correctly colored dot with: SColour1 : SWITCH : {SensTemp1} < 24 = &green, 24 - 28 = &yellow, > 28 = &red but the page color doesn't change. Will this be impossible to do? We need to get mail alerts when the temperature is too high and I can't get devmon to work they way I would like it to. Teresa Kroeker Teresa Kroeker wrote: > I am running hobbit 4.2.0 with the all-in-one patch and devmon-0.3.0-beta2. > > I have a Sensatronics temperature sensor that I am grabbing the > temperature from. I will show my configuration below only for two of > the four probes but it is the same for the other two. Some of the > configuration was added to see if that would make a difference (the > transform for the temperature is not needed but I though perhaps the > value was being interpreted as a string and that was why the threshold > test was failing). I am always getting a green status. The threshold > values are being correctly reported. I am also getting nice plots > (Aside - I needed to rename the test from temperature to temp to get > that working). > > One another note the RRD entry only has a integer value for the > temperature were as we are measuring more accurately. This is not > nearly as critical as being able to be alerted when the temperature gets > to high. > > <!--DEVMON RRD: temp 0 0 > DS:temp:GAUGE:600:0:U > BA5290_Front 22 > --> > > exceptions file is empty > > message file: > > TABLE:noalarmsmsg,rrd(DS:temp:STemp1:GAUGE) > Location | Temperature | Yellow | Red | Status > {SDescr1} | {STemp1.color}{STemp1} | {STemp1.thresh:yellow} | > {STemp1.thresh:red}| {STemp1.errors}{STemp1.msg} > > TABLE: noalarmsmsg,rrd(DS:temp:STemp2:GAUGE) > Location | Temperature | Yellow | Red | Status > {SDescr2} | {STemp2.color}{STemp2} | {STemp2.thresh:yellow} | > {STemp2.thresh:red} | {STemp2.errors}{STemp2.msg} > > oids file: > > SensDescr1 : .1.3.6.1.4.1.16174.1.1.1.3.1.1 : branch > SensTemp1 : .1.3.6.1.4.1.16174.1.1.1.3.1.2 : branch > SensData1 : .1.3.6.1.4.1.16174.1.1.1.3.1.3 : branch > SwitchStatI1 : .1.3.6.1.4.1.16174.1.1.1.3.1.4 : branch > SwitchStatC1 : .1.3.6.1.4.1.16174.1.1.1.3.1.5 : branch > SensDescr2 : .1.3.6.1.4.1.16174.1.1.1.3.2.1 : branch > SensTemp2 : .1.3.6.1.4.1.16174.1.1.1.3.2.2 : branch > SensData2 : .1.3.6.1.4.1.16174.1.1.1.3.2.3 : branch > SwitchStatI2 : .1.3.6.1.4.1.16174.1.1.1.3.2.4 : branch > SwitchStatC2 : .1.3.6.1.4.1.16174.1.1.1.3.2.5 : branch > > thresholds file: > > STemp1 : red : >22 : Too High > STemp1 : yellow : >21 : High > STemp1 : green : '_AUTOMATCH_' : Normal > STemp2 : red : >22 : Critical High > STemp2 : yellow : >21 : Warning High > > transforms file: > > SDescr1 : REGSUB : {SensDescr1} /(\w+)\s+(\w+)/$1_$2/ > SDescr2 : REGSUB : {SensDescr2} /(\w+)\s+(\w+)/$1_$2/ > STemp1 : MATH : {SensTemp1} x 1 > STemp2 : MATH : {SensTemp2} x 1 > > > Output: > > Location Temperature Yellow Red Status > BA5290_Front green 22.30 >21 >22 Undefined > > Location Temperature Yellow Red Status > BA5290_Back green 22.00 >21 >22 Undefined > > Clearly the values are over the limits I have assigned and not green. > > Can someone please help as I have run out of ideas? > > Teresa Kroeker > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Devmon-support mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devmon-support |
From: Stewart, T. L. <Tom...@la...> - 2007-10-22 23:25:45
|
I had a similar question and I have never had a response to anything else I have asked on this list since joining earlier this month. I am beginning to think that this is a dead list. Tom=20 -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Teresa Kroeker Sent: Monday, October 22, 2007 10:43 AM To: dev...@li... Subject: Re: [Devmon] status always green I was able to create a transform that can create a correctly colored dot with: SColour1 : SWITCH : {SensTemp1} < 24 =3D &green, 24 - 28 = =3D=20 &yellow, > 28 =3D &red but the page color doesn't change. Will this be impossible to do? We need to get mail alerts when the temperature is too high and I can't get devmon to work they way I would like it to. Teresa Kroeker Teresa Kroeker wrote: > I am running hobbit 4.2.0 with the all-in-one patch and devmon-0.3.0-beta2. >=20 > I have a Sensatronics temperature sensor that I am grabbing the=20 > temperature from. I will show my configuration below only for two of=20 > the four probes but it is the same for the other two. Some of the=20 > configuration was added to see if that would make a difference (the=20 > transform for the temperature is not needed but I though perhaps the=20 > value was being interpreted as a string and that was why the threshold > test was failing). I am always getting a green status. The threshold > values are being correctly reported. I am also getting nice plots=20 > (Aside - I needed to rename the test from temperature to temp to get=20 > that working). >=20 > One another note the RRD entry only has a integer value for the=20 > temperature were as we are measuring more accurately. This is not=20 > nearly as critical as being able to be alerted when the temperature=20 > gets to high. >=20 > <!--DEVMON RRD: temp 0 0 > DS:temp:GAUGE:600:0:U > BA5290_Front 22 > --> >=20 > exceptions file is empty >=20 > message file: >=20 > TABLE:noalarmsmsg,rrd(DS:temp:STemp1:GAUGE) > Location | Temperature | Yellow | Red | Status > {SDescr1} | {STemp1.color}{STemp1} | {STemp1.thresh:yellow} |=20 > {STemp1.thresh:red}| {STemp1.errors}{STemp1.msg} >=20 > TABLE: noalarmsmsg,rrd(DS:temp:STemp2:GAUGE) > Location | Temperature | Yellow | Red | Status > {SDescr2} | {STemp2.color}{STemp2} | {STemp2.thresh:yellow} |=20 > {STemp2.thresh:red} | {STemp2.errors}{STemp2.msg} >=20 > oids file: >=20 > SensDescr1 : .1.3.6.1.4.1.16174.1.1.1.3.1.1 : branch > SensTemp1 : .1.3.6.1.4.1.16174.1.1.1.3.1.2 : branch > SensData1 : .1.3.6.1.4.1.16174.1.1.1.3.1.3 : branch > SwitchStatI1 : .1.3.6.1.4.1.16174.1.1.1.3.1.4 : branch > SwitchStatC1 : .1.3.6.1.4.1.16174.1.1.1.3.1.5 : branch > SensDescr2 : .1.3.6.1.4.1.16174.1.1.1.3.2.1 : branch > SensTemp2 : .1.3.6.1.4.1.16174.1.1.1.3.2.2 : branch > SensData2 : .1.3.6.1.4.1.16174.1.1.1.3.2.3 : branch > SwitchStatI2 : .1.3.6.1.4.1.16174.1.1.1.3.2.4 : branch > SwitchStatC2 : .1.3.6.1.4.1.16174.1.1.1.3.2.5 : branch >=20 > thresholds file: >=20 > STemp1 : red : >22 : Too High > STemp1 : yellow : >21 : High > STemp1 : green : '_AUTOMATCH_' : Normal > STemp2 : red : >22 : Critical High > STemp2 : yellow : >21 : Warning High >=20 > transforms file: >=20 > SDescr1 : REGSUB : {SensDescr1} /(\w+)\s+(\w+)/$1_$2/ > SDescr2 : REGSUB : {SensDescr2} /(\w+)\s+(\w+)/$1_$2/ > STemp1 : MATH : {SensTemp1} x 1 > STemp2 : MATH : {SensTemp2} x 1 >=20 >=20 > Output: >=20 > Location Temperature Yellow Red Status > BA5290_Front green 22.30 >21 >22 Undefined >=20 > Location Temperature Yellow Red Status > BA5290_Back green 22.00 >21 >22 Undefined >=20 > Clearly the values are over the limits I have assigned and not green. >=20 > Can someone please help as I have run out of ideas? >=20 > Teresa Kroeker >=20 > ---------------------------------------------------------------------- > --- This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/=20 > _______________________________________________ > Devmon-support mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devmon-support ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Devmon-support mailing list Dev...@li... https://lists.sourceforge.net/lists/listinfo/devmon-support |
From: Buchan M. <bg...@st...> - 2007-10-29 16:17:06
|
On Monday 22 October 2007 17:43:23 Teresa Kroeker wrote: > I was able to create a transform that can create a correctly colored dot > with: > > SColour1 : SWITCH : {SensTemp1} < 24 = &green, 24 - 28 = > &yellow, > 28 = &red > > but the page color doesn't change. Will this be impossible to do? > > We need to get mail alerts when the temperature is too high and I can't > get devmon to work they way I would like it to. You should use SColour1.color (instead of STemp1.color) in your message, and I think that should result in the page changing colour. However, it does seem like numeric thresholds are broken in 0.3.0-beta2 ... I'll try and take a look at it some time. > Teresa Kroeker wrote: > > I am running hobbit 4.2.0 with the all-in-one patch and > > devmon-0.3.0-beta2. > > > > I have a Sensatronics temperature sensor that I am grabbing the > > temperature from. I will show my configuration below only for two of > > the four probes but it is the same for the other two. Some of the > > configuration was added to see if that would make a difference (the > > transform for the temperature is not needed but I though perhaps the > > value was being interpreted as a string and that was why the threshold > > test was failing). I am always getting a green status. The threshold > > values are being correctly reported. I am also getting nice plots > > (Aside - I needed to rename the test from temperature to temp to get > > that working). > > > > One another note the RRD entry only has a integer value for the > > temperature were as we are measuring more accurately. This is not > > nearly as critical as being able to be alerted when the temperature gets > > to high. > > > > <!--DEVMON RRD: temp 0 0 > > DS:temp:GAUGE:600:0:U > > BA5290_Front 22 > > --> > > > > exceptions file is empty > > > > message file: > > > > TABLE:noalarmsmsg,rrd(DS:temp:STemp1:GAUGE) > > Location | Temperature | Yellow | Red | Status > > {SDescr1} | {STemp1.color}{STemp1} | {STemp1.thresh:yellow} | > > {STemp1.thresh:red}| {STemp1.errors}{STemp1.msg} > > > > TABLE: noalarmsmsg,rrd(DS:temp:STemp2:GAUGE) > > Location | Temperature | Yellow | Red | Status > > {SDescr2} | {STemp2.color}{STemp2} | {STemp2.thresh:yellow} | > > {STemp2.thresh:red} | {STemp2.errors}{STemp2.msg} > > > > oids file: > > > > SensDescr1 : .1.3.6.1.4.1.16174.1.1.1.3.1.1 : branch > > SensTemp1 : .1.3.6.1.4.1.16174.1.1.1.3.1.2 : branch > > SensData1 : .1.3.6.1.4.1.16174.1.1.1.3.1.3 : branch > > SwitchStatI1 : .1.3.6.1.4.1.16174.1.1.1.3.1.4 : branch > > SwitchStatC1 : .1.3.6.1.4.1.16174.1.1.1.3.1.5 : branch > > SensDescr2 : .1.3.6.1.4.1.16174.1.1.1.3.2.1 : branch > > SensTemp2 : .1.3.6.1.4.1.16174.1.1.1.3.2.2 : branch > > SensData2 : .1.3.6.1.4.1.16174.1.1.1.3.2.3 : branch > > SwitchStatI2 : .1.3.6.1.4.1.16174.1.1.1.3.2.4 : branch > > SwitchStatC2 : .1.3.6.1.4.1.16174.1.1.1.3.2.5 : branch > > > > thresholds file: > > > > STemp1 : red : >22 : Too High > > STemp1 : yellow : >21 : High > > STemp1 : green : '_AUTOMATCH_' : Normal > > STemp2 : red : >22 : Critical High > > STemp2 : yellow : >21 : Warning High > > > > transforms file: > > > > SDescr1 : REGSUB : {SensDescr1} /(\w+)\s+(\w+)/$1_$2/ > > SDescr2 : REGSUB : {SensDescr2} /(\w+)\s+(\w+)/$1_$2/ > > STemp1 : MATH : {SensTemp1} x 1 > > STemp2 : MATH : {SensTemp2} x 1 > > > > > > Output: > > > > Location Temperature Yellow Red Status > > BA5290_Front green 22.30 >21 >22 Undefined > > > > Location Temperature Yellow Red Status > > BA5290_Back green 22.00 >21 >22 Undefined > > > > Clearly the values are over the limits I have assigned and not green. > > > > Can someone please help as I have run out of ideas? > > > > Teresa Kroeker > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > Devmon-support mailing list > > Dev...@li... > > https://lists.sourceforge.net/lists/listinfo/devmon-support > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Devmon-support mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devmon-support |
From: <pa...@ba...> - 2007-10-23 09:28:10
|
Hi Teresa, By design, what you are doing will not change the test color from green. You might have better luck using the threshold file. Maybe something like this: SensTemp1 : yellow : >24 : Sensor1 is above 24 SensTemp1 : red : >28 : Sensor1 is above 28 This way, using {SensTemp1.color} in message file will change the test color. Hope this helps. Regards, Pall Sigurdsson Stewart, Tom L. wrote: > I had a similar question and I have never had a response to anything > else I have asked on this list since joining earlier this month. I am > beginning to think that this is a dead list. > > Tom > > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf Of > Teresa Kroeker > Sent: Monday, October 22, 2007 10:43 AM > To: dev...@li... > Subject: Re: [Devmon] status always green > > I was able to create a transform that can create a correctly colored dot > with: > > SColour1 : SWITCH : {SensTemp1} < 24 = &green, 24 - 28 = > &yellow, > 28 = &red > > but the page color doesn't change. Will this be impossible to do? > > We need to get mail alerts when the temperature is too high and I can't > get devmon to work they way I would like it to. > > Teresa Kroeker > > Teresa Kroeker wrote: > >> I am running hobbit 4.2.0 with the all-in-one patch and >> > devmon-0.3.0-beta2. > >> I have a Sensatronics temperature sensor that I am grabbing the >> temperature from. I will show my configuration below only for two of >> the four probes but it is the same for the other two. Some of the >> configuration was added to see if that would make a difference (the >> transform for the temperature is not needed but I though perhaps the >> value was being interpreted as a string and that was why the threshold >> > > >> test was failing). I am always getting a green status. The threshold >> > > >> values are being correctly reported. I am also getting nice plots >> (Aside - I needed to rename the test from temperature to temp to get >> that working). >> >> One another note the RRD entry only has a integer value for the >> temperature were as we are measuring more accurately. This is not >> nearly as critical as being able to be alerted when the temperature >> gets to high. >> >> <!--DEVMON RRD: temp 0 0 >> DS:temp:GAUGE:600:0:U >> BA5290_Front 22 >> --> >> >> exceptions file is empty >> >> message file: >> >> TABLE:noalarmsmsg,rrd(DS:temp:STemp1:GAUGE) >> Location | Temperature | Yellow | Red | Status >> {SDescr1} | {STemp1.color}{STemp1} | {STemp1.thresh:yellow} | >> {STemp1.thresh:red}| {STemp1.errors}{STemp1.msg} >> >> TABLE: noalarmsmsg,rrd(DS:temp:STemp2:GAUGE) >> Location | Temperature | Yellow | Red | Status >> {SDescr2} | {STemp2.color}{STemp2} | {STemp2.thresh:yellow} | >> {STemp2.thresh:red} | {STemp2.errors}{STemp2.msg} >> >> oids file: >> >> SensDescr1 : .1.3.6.1.4.1.16174.1.1.1.3.1.1 : branch >> SensTemp1 : .1.3.6.1.4.1.16174.1.1.1.3.1.2 : branch >> SensData1 : .1.3.6.1.4.1.16174.1.1.1.3.1.3 : branch >> SwitchStatI1 : .1.3.6.1.4.1.16174.1.1.1.3.1.4 : branch >> SwitchStatC1 : .1.3.6.1.4.1.16174.1.1.1.3.1.5 : branch >> SensDescr2 : .1.3.6.1.4.1.16174.1.1.1.3.2.1 : branch >> SensTemp2 : .1.3.6.1.4.1.16174.1.1.1.3.2.2 : branch >> SensData2 : .1.3.6.1.4.1.16174.1.1.1.3.2.3 : branch >> SwitchStatI2 : .1.3.6.1.4.1.16174.1.1.1.3.2.4 : branch >> SwitchStatC2 : .1.3.6.1.4.1.16174.1.1.1.3.2.5 : branch >> >> thresholds file: >> >> STemp1 : red : >22 : Too High >> STemp1 : yellow : >21 : High >> STemp1 : green : '_AUTOMATCH_' : Normal >> STemp2 : red : >22 : Critical High >> STemp2 : yellow : >21 : Warning High >> >> transforms file: >> >> SDescr1 : REGSUB : {SensDescr1} >> > /(\w+)\s+(\w+)/$1_$2/ > >> SDescr2 : REGSUB : {SensDescr2} >> > /(\w+)\s+(\w+)/$1_$2/ > >> STemp1 : MATH : {SensTemp1} x 1 >> STemp2 : MATH : {SensTemp2} x 1 >> >> >> Output: >> >> Location Temperature Yellow Red Status >> BA5290_Front green 22.30 >21 >22 Undefined >> >> Location Temperature Yellow Red Status >> BA5290_Back green 22.00 >21 >22 Undefined >> >> Clearly the values are over the limits I have assigned and not green. >> >> Can someone please help as I have run out of ideas? >> >> Teresa Kroeker >> >> ---------------------------------------------------------------------- >> --- This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a >> > browser. > >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> _______________________________________________ >> Devmon-support mailing list >> Dev...@li... >> https://lists.sourceforge.net/lists/listinfo/devmon-support >> > > > ------------------------------------------------------------------------ > - > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Devmon-support mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devmon-support > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Devmon-support mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devmon-support > |
From: Teresa K. <kr...@cs...> - 2007-10-23 13:54:20
|
Hi Pall, Thank you for your reply. I had tried the thresholds file at first and only got green colors even though the temperature had exceeded the yellow and red values. I tried the lines that you provided too and still no luck. Teresa Kroeker Páll Guðjón Sigurðsson wrote: > Hi Teresa, > > By design, what you are doing will not change the test color from green. > You might have better luck using the threshold file. Maybe something > like this: > > SensTemp1 : yellow : >24 : Sensor1 is above 24 > SensTemp1 : red : >28 : Sensor1 is above 28 > > > This way, using {SensTemp1.color} in message file will change the test > color. > > > Hope this helps. > > Regards, > Pall Sigurdsson > > Stewart, Tom L. wrote: >> I had a similar question and I have never had a response to anything >> else I have asked on this list since joining earlier this month. I am >> beginning to think that this is a dead list. >> >> Tom >> -----Original Message----- >> From: dev...@li... >> [mailto:dev...@li...] On Behalf Of >> Teresa Kroeker >> Sent: Monday, October 22, 2007 10:43 AM >> To: dev...@li... >> Subject: Re: [Devmon] status always green >> >> I was able to create a transform that can create a correctly colored dot >> with: >> >> SColour1 : SWITCH : {SensTemp1} < 24 = &green, 24 - 28 = >> &yellow, > 28 = &red >> >> but the page color doesn't change. Will this be impossible to do? >> >> We need to get mail alerts when the temperature is too high and I can't >> get devmon to work they way I would like it to. >> >> Teresa Kroeker >> >> Teresa Kroeker wrote: >> >>> I am running hobbit 4.2.0 with the all-in-one patch and >>> >> devmon-0.3.0-beta2. >> >>> I have a Sensatronics temperature sensor that I am grabbing the >>> temperature from. I will show my configuration below only for two of >>> the four probes but it is the same for the other two. Some of the >>> configuration was added to see if that would make a difference (the >>> transform for the temperature is not needed but I though perhaps the >>> value was being interpreted as a string and that was why the threshold >>> >> >> >>> test was failing). I am always getting a green status. The threshold >>> >> >> >>> values are being correctly reported. I am also getting nice plots >>> (Aside - I needed to rename the test from temperature to temp to get >>> that working). >>> >>> One another note the RRD entry only has a integer value for the >>> temperature were as we are measuring more accurately. This is not >>> nearly as critical as being able to be alerted when the temperature >>> gets to high. >>> >>> <!--DEVMON RRD: temp 0 0 >>> DS:temp:GAUGE:600:0:U >>> BA5290_Front 22 >>> --> >>> >>> exceptions file is empty >>> >>> message file: >>> >>> TABLE:noalarmsmsg,rrd(DS:temp:STemp1:GAUGE) >>> Location | Temperature | Yellow | Red | Status >>> {SDescr1} | {STemp1.color}{STemp1} | {STemp1.thresh:yellow} | >>> {STemp1.thresh:red}| {STemp1.errors}{STemp1.msg} >>> >>> TABLE: noalarmsmsg,rrd(DS:temp:STemp2:GAUGE) >>> Location | Temperature | Yellow | Red | Status >>> {SDescr2} | {STemp2.color}{STemp2} | {STemp2.thresh:yellow} | >>> {STemp2.thresh:red} | {STemp2.errors}{STemp2.msg} >>> >>> oids file: >>> >>> SensDescr1 : .1.3.6.1.4.1.16174.1.1.1.3.1.1 : branch >>> SensTemp1 : .1.3.6.1.4.1.16174.1.1.1.3.1.2 : branch >>> SensData1 : .1.3.6.1.4.1.16174.1.1.1.3.1.3 : branch >>> SwitchStatI1 : .1.3.6.1.4.1.16174.1.1.1.3.1.4 : branch >>> SwitchStatC1 : .1.3.6.1.4.1.16174.1.1.1.3.1.5 : branch >>> SensDescr2 : .1.3.6.1.4.1.16174.1.1.1.3.2.1 : branch >>> SensTemp2 : .1.3.6.1.4.1.16174.1.1.1.3.2.2 : branch >>> SensData2 : .1.3.6.1.4.1.16174.1.1.1.3.2.3 : branch >>> SwitchStatI2 : .1.3.6.1.4.1.16174.1.1.1.3.2.4 : branch >>> SwitchStatC2 : .1.3.6.1.4.1.16174.1.1.1.3.2.5 : branch >>> >>> thresholds file: >>> >>> STemp1 : red : >22 : Too High >>> STemp1 : yellow : >21 : High >>> STemp1 : green : '_AUTOMATCH_' : Normal >>> STemp2 : red : >22 : Critical High >>> STemp2 : yellow : >21 : Warning High >>> >>> transforms file: >>> >>> SDescr1 : REGSUB : {SensDescr1} >>> >> /(\w+)\s+(\w+)/$1_$2/ >> >>> SDescr2 : REGSUB : {SensDescr2} >>> >> /(\w+)\s+(\w+)/$1_$2/ >> >>> STemp1 : MATH : {SensTemp1} x 1 >>> STemp2 : MATH : {SensTemp2} x 1 >>> >>> >>> Output: >>> >>> Location Temperature Yellow Red Status >>> BA5290_Front green 22.30 >21 >22 Undefined >>> >>> Location Temperature Yellow Red Status >>> BA5290_Back green 22.00 >21 >22 Undefined >>> >>> Clearly the values are over the limits I have assigned and not green. >>> >>> Can someone please help as I have run out of ideas? >>> >>> Teresa Kroeker >>> >>> ---------------------------------------------------------------------- >>> --- This SF.net email is sponsored by: Splunk Inc. >>> Still grepping through log files to find problems? Stop. >>> Now Search log events and configuration files using AJAX and a >>> >> browser. >> >>> Download your FREE copy of Splunk now >> http://get.splunk.com/ >>> _______________________________________________ >>> Devmon-support mailing list >>> Dev...@li... >>> https://lists.sourceforge.net/lists/listinfo/devmon-support >>> >> >> >> ------------------------------------------------------------------------ >> - >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> _______________________________________________ >> Devmon-support mailing list >> Dev...@li... >> https://lists.sourceforge.net/lists/listinfo/devmon-support >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> _______________________________________________ >> Devmon-support mailing list >> Dev...@li... >> https://lists.sourceforge.net/lists/listinfo/devmon-support >> > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Devmon-support mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devmon-support |
From: Teresa K. <kr...@cs...> - 2007-10-29 18:14:33
|
Buchan Milne wrote: > On Monday 22 October 2007 17:43:23 Teresa Kroeker wrote: >> I was able to create a transform that can create a correctly colored dot >> with: >> >> SColour1 : SWITCH : {SensTemp1} < 24 = &green, 24 - 28 = >> &yellow, > 28 = &red >> >> but the page color doesn't change. Will this be impossible to do? >> >> We need to get mail alerts when the temperature is too high and I can't >> get devmon to work they way I would like it to. > > > You should use SColour1.color (instead of STemp1.color) in your message, and I > think that should result in the page changing colour. > > However, it does seem like numeric thresholds are broken in 0.3.0-beta2 ... > I'll try and take a look at it some time. > > I gave that a try and SColour1.color was always green even though SColour1 changed colour. Hence the page was always green. It would be great if you find the time to look into it. Teresa |
From: Buchan M. <bg...@st...> - 2007-10-30 07:46:15
|
On Monday 29 October 2007 20:12:25 Teresa Kroeker wrote: > Buchan Milne wrote: > > On Monday 22 October 2007 17:43:23 Teresa Kroeker wrote: > >> I was able to create a transform that can create a correctly colored dot > >> with: > >> > >> SColour1 : SWITCH : {SensTemp1} < 24 = &green, 24 - 28 = > >> &yellow, > 28 = &red > >> > >> but the page color doesn't change. Will this be impossible to do? > >> > >> We need to get mail alerts when the temperature is too high and I can't > >> get devmon to work they way I would like it to. > > > > You should use SColour1.color (instead of STemp1.color) in your message, > > and I think that should result in the page changing colour. > > > > However, it does seem like numeric thresholds are broken in 0.3.0-beta2 > > ... I'll try and take a look at it some time. > > I gave that a try and SColour1.color was always green even though > SColour1 changed colour. Hence the page was always green. Ah, I see what you did, you're just forcing the normal Hobbit &red/&yellow/&green text into the page. You should rather put thresholds on your SColour1 variable, and then SColour1.color should work. Let me try this myself ... Yes, this seems to work. On the updated compaq-server template I posted last week, I added: cpqHeTemperatureCelsiusFake: SWITCH : {cpqHeTemperatureCelsius} < 28 = OK, 28 - 30 = WARN, > 30 = CRIT to transforms, cpqHeTemperatureCelsiusFake : green : OK : Normal cpqHeTemperatureCelsiusFake : yellow : WARN : Warning cpqHeTemperatureCelsiusFake : red : CRIT : Critical to thresholds, and then using cpqHeTemperatureCelsiusFake.color in the message file results in the correct icon, and changes the page colour appropriately. But, fixing the numeric thresholds need to be done. Regards, Buchan |
From: xbgmsharp <xbg...@gm...> - 2007-10-30 15:43:44
|
Hello, I have been passing some weeks on devmon code. Here is what i add/fix: - Fix Don't test/open directory starting with .* like .svn or .cvs - Fix the numeric thresholds on branch oids (It is already working =20 on leaf), I am abble to get alarm on if_load traffic or any branch =20 type oid. - Add F5-BigIp template with example of using UNPACK convertion from =20 HEX to decimal. I keeping testing on my network and i will probably send a new version =20 of devmon. So if you have any path or idea to make devmon better please send it to me. Thanks for sharing your templates. If you wish o we could work directly on the svn of sourceforge. Regards, KaYa Buchan Milne <bg...@st...> a =E9crit : > On Monday 29 October 2007 20:12:25 Teresa Kroeker wrote: >> Buchan Milne wrote: >> > On Monday 22 October 2007 17:43:23 Teresa Kroeker wrote: >> >> I was able to create a transform that can create a correctly colored d= ot >> >> with: >> >> >> >> SColour1 : SWITCH : {SensTemp1} < 24 =3D &green, 24 - 28= =3D >> >> &yellow, > 28 =3D &red >> >> >> >> but the page color doesn't change. Will this be impossible to do? >> >> >> >> We need to get mail alerts when the temperature is too high and I can'= t >> >> get devmon to work they way I would like it to. >> > >> > You should use SColour1.color (instead of STemp1.color) in your message= , >> > and I think that should result in the page changing colour. >> > >> > However, it does seem like numeric thresholds are broken in 0.3.0-beta2 >> > ... I'll try and take a look at it some time. >> >> I gave that a try and SColour1.color was always green even though >> SColour1 changed colour. Hence the page was always green. > > Ah, I see what you did, you're just forcing the normal Hobbit > &red/&yellow/&green text into the page. You should rather put thresholds o= n > your SColour1 variable, and then SColour1.color should work. > > Let me try this myself ... > > Yes, this seems to work. On the updated compaq-server template I posted la= st > week, I added: > > cpqHeTemperatureCelsiusFake: SWITCH : =20 > {cpqHeTemperatureCelsius} < 28 > =3D OK, 28 - 30 =3D WARN, > 30 =3D CRIT > > to transforms, > > cpqHeTemperatureCelsiusFake : green : OK : Normal > cpqHeTemperatureCelsiusFake : yellow : WARN : Warning > cpqHeTemperatureCelsiusFake : red : CRIT : Critical > > to thresholds, and then using cpqHeTemperatureCelsiusFake.color in =20 > the message > file results in the correct icon, and changes the page colour appropriatel= y. > > But, fixing the numeric thresholds need to be done. > > Regards, > Buchan > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Devmon-support mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devmon-support > > --=20 Thanks for using xbgm# http://xbgm.sourceforge.net/ Please feedback. |
From: Buchan M. <bg...@st...> - 2007-10-30 16:17:30
|
On Tuesday 30 October 2007 17:43:16 xbgmsharp wrote: > Hello, > > I have been passing some weeks on devmon code. > > Here is what i add/fix: > - Fix Don't test/open directory starting with .* like .svn or .cvs > - Fix the numeric thresholds on branch oids (It is already working > on leaf), I am abble to get alarm on if_load traffic or any branch > type oid. > - Add F5-BigIp template with example of using UNPACK convertion from > HEX to decimal. I need to be able to use a portion of the OID as the value (for Cisco CSM, where IP port of virtual service is not available as a value, only in the OID) > > I keeping testing on my network and i will probably send a new version > of devmon. > > So if you have any path or idea to make devmon better please send it to me. > Thanks for sharing your templates. > If you wish o we could work directly on the svn of sourceforge. I think that would be better. I've just completed templates for Dell PowerEdge (using OMSA), I have works-in-progress for Cisco CSM and FWSM, and sending patches around doesn't scale. Maybe we should request sourceforge to add us as admins to the project (my sourceforge username is buchanmilne). Regards, Buchan |