From: Chris W. <ch...@su...> - 2008-04-18 15:51:54
|
Hello, I've been trying to get devmon to still log the threshold data for circuits, but not alarm. I've tried this two different ways, and cannot get the syntax correct, or there is a bug. I temporarily worked around this by hard coding the threshold in the template, but that's not the solution I'd like to stick with. ================= Method/Attempt 1: thresh( cpu;CPUTotal5Min;y:60;r:90, if_load;ifInLoad;y:200;r:300, if_load;ifOutLoad;y:200;r:300 ) I've wrapped the lines only to display in this email, in the config they are not. Yes, I'm attempting to set the threshold >100% because it's reporting higher for some serial interfaces. The goal is to just never alarm, but log the data, so I would simply set these numbers as high as I need to. The above line appears correct to me, and the first threshold works, but it gets confused on the next two, and shows this on the web interface: Interface error rates: Input load: yellow=75%, red=95% Output load: yellow=200if_load;ifInLoad;r:300;y:200%, red=300% ================= Method/Attempt 2: Instead of just changing thresholds, use except() amd attempt to define the types of interfaces I want to ignore (will be all, but these were for testing): except( if_load;ifInLoad;na:Se.*|Mu.*, if_load;ifOutLoad;na:Se.*|Mu.* ) ..And this didnt work either. It is mentioned that except() only works on the primary name, so I assume that's ifName, which also didn't work. Pointers? Thanks, Chris |