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. |