From: Guðmundur Ö. I. <Gud...@la...> - 2009-12-08 15:34:53
|
Nope Try something like this Given your oids file has the following ifBps : .1.3.6.1.2.1.2.2.1.5 : branch ifInOctets : .1.3.6.1.2.1.2.2.1.10 : branch Your transforms file would have this ifInBps : MATH : {ifInOps} x 8cat oi ifInLoad : MATH : ({ifInBps} / {ifBps}) x 100 In your thresholds file you would have this ifInLoad : green : <80 : {ifName} load is normal ifInLoad : yellow : >79 : {ifName} load is high ifInLoad : red : >89 : {ifName} load is very high Not sure what r:10 and y:9 stands for in your case but the above is how it's normally done ___________________________________________ Guðmundur Örn Ingvarsson Landsbankinn Unix Infrastructure Administrator Core Systems IT - CS IT Sími / Tel.: (+354) 410 6730 Farsími / Mobile: (+354) 820 5074 Fax: (+354) 410 3032 gud...@la... www.landsbanki.is -----Original Message----- From: mario andre [mailto:row...@gm...] Sent: 7. desember 2009 19:46 To: dev...@li... Subject: [Devmon] Threshold for interfaces Hi friends, I'm trying to create a threshold for a especific interface name like thresh(if_load;port1;r:10;y:9) , Is it the correct way? Is it possible? I've also tried hresh(if_load;ifName:port1;r:10;y:9) Thanks in advance, Mario. ------------------------------------------------------------------------------ Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev _______________________________________________ Devmon-support mailing list Dev...@li... https://lists.sourceforge.net/lists/listinfo/devmon-support Landsbankinn (NBI hf.), kt. 471008-0280, Austurstræti 11, 155 Reykjavík, er skráð hlutafélag og starfar samkvæmt heimild og undir eftirliti Fjármálaeftirlitsins. Landsbankinn (NBI hf.), Austurstræti 11, 155 Reykjavík. is incorporated in Iceland with limited liability (Reg. No: 471008-0280) and is authorised and regulated by the Financial Supervisory Authority in Iceland (Fjármálaeftirlitið). Fyrirvari/Disclaimer: http://www.landsbanki.is/disclaimer |