From: <buc...@us...> - 2008-01-24 06:14:30
|
Revision: 38 http://devmon.svn.sourceforge.net/devmon/?rev=38&view=rev Author: buchanmilne Date: 2008-01-23 22:14:29 -0800 (Wed, 23 Jan 2008) Log Message: ----------- Make thresholds for linux-openwrt/disk check work Switch the rrd tag to use DERIVE instead of COUNTER to avoid fake peaks Modified Paths: -------------- trunk/templates/linux-openwrt/disk/exceptions trunk/templates/linux-openwrt/disk/message trunk/templates/linux-openwrt/disk/thresholds trunk/templates/linux-openwrt/if_load/message Modified: trunk/templates/linux-openwrt/disk/exceptions =================================================================== --- trunk/templates/linux-openwrt/disk/exceptions 2008-01-24 05:45:22 UTC (rev 37) +++ trunk/templates/linux-openwrt/disk/exceptions 2008-01-24 06:14:29 UTC (rev 38) @@ -1 +1,2 @@ +DiskName : alarm : .* DiskName : ignore : Real.Memory.*|Swap Space Modified: trunk/templates/linux-openwrt/disk/message =================================================================== --- trunk/templates/linux-openwrt/disk/message 2008-01-24 05:45:22 UTC (rev 37) +++ trunk/templates/linux-openwrt/disk/message 2008-01-24 06:14:29 UTC (rev 38) @@ -1,3 +1,3 @@ TABLE:plain,noalarmsmsg Filesystem 1024-blocks Used Available Capacity Mounted on -{DiskName} {DiskSize} {DiskSizeUsed} {DiskAvail} {DiskPerUse}% {DiskName} +{DiskName} {DiskSize} {DiskSizeUsed} {DiskAvail} {DiskPerUse}% {DiskName} {DiskPerUse.color} Modified: trunk/templates/linux-openwrt/disk/thresholds =================================================================== --- trunk/templates/linux-openwrt/disk/thresholds 2008-01-24 05:45:22 UTC (rev 37) +++ trunk/templates/linux-openwrt/disk/thresholds 2008-01-24 06:14:29 UTC (rev 38) @@ -1,2 +1,2 @@ -DiskPerUse : red : >95 : Disk utilization is critical -DiskPerUse : yellow : >90 : Disk utilization is high +DiskPerUse : yellow : 90 : Disk utilization is high +DiskPerUse : red : 95 : Disk utilization is critical Modified: trunk/templates/linux-openwrt/if_load/message =================================================================== --- trunk/templates/linux-openwrt/if_load/message 2008-01-24 05:45:22 UTC (rev 37) +++ trunk/templates/linux-openwrt/if_load/message 2008-01-24 06:14:29 UTC (rev 38) @@ -2,6 +2,6 @@ <b>Interface error rates:</b> Input load: yellow={ifInLoad.thresh:yellow}%, red={ifInLoad.thresh:red}% Output load: yellow={ifOutLoad.thresh:yellow}%, red={ifOutLoad.thresh:red}% -TABLE:rrd(DS:ds0:ifInOctets:COUNTER; DS:ds1:ifOutOctets:COUNTER) +TABLE:rrd(DS:ds0:ifInOctets:DERIVE; DS:ds1:ifOutOctets:DERIVE) Ifc name|Ifc Speed|Rate in (load %)|Rate out (load %) {ifName}|{ifSpeed}|{ifInLoad.color}{ifInSpeed} ({ifInLoad}%){ifInLoad.errors}|{ifOutLoad.color}{ifOutSpeed} ({ifOutLoad}%){ifOutLoad.errors} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |