Disk free space

Progel.LibraEsva.DiskFreeSpace.Monitor (UnitMonitor)

Element properties:

TargetProgel.LibraEsva.Disk
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeProgel.LibraEsva.DiskFreeSpace.MT
RemotableTrue
AccessibilityPublic
Alert Message
Esva - Disk free space
Free space for {0} is under the threshold. Free space is {1}\%.
RunAsDefault

Source Code:

<UnitMonitor ID="Progel.LibraEsva.DiskFreeSpace.Monitor" Accessibility="Public" Enabled="true" Target="Progel.LibraEsva.Disk" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Progel.LibraEsva.DiskFreeSpace.MT" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Progel.LibraEsva.DiskFreeSpace.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Property[Type="System!System.Entity"]/DisplayName$</AlertParameter1>
<AlertParameter2>$Data/Context/Value$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="OverThreshold" MonitorTypeStateID="AboveThreshold" HealthState="Success"/>
<OperationalState ID="UnderThreshold" MonitorTypeStateID="UnderThreshold" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>900</IntervalSeconds>
<Timeout>3500</Timeout>
<Port>$Target/Host/Property[Type="Network!System.NetworkManagement.Node"]/PortNumber$</Port>
<IP>$Target/Host/Property[Type="Network!System.NetworkManagement.Node"]/SNMPAddress$</IP>
<CommunityString>$RunAs[Name="Network!System.NetworkManagement.Snmp.MonitoringAccount"]/CommunityString$$Target/Host/Property[Type="Network!System.NetworkManagement.Node"]/VirtualCommunitySuffix$</CommunityString>
<Version>$Target/Host/Property[Type="Network!System.NetworkManagement.Node"]/SNMPVersion$</Version>
<LogicalDeviceIndex>$Target/Property[Type="Network!System.NetworkManagement.LogicalDevice"]/Index$</LogicalDeviceIndex>
<Threshold>10</Threshold>
<NumberOfSamples>3</NumberOfSamples>
<TraceLevel>2</TraceLevel>
<ProbeTimeoutSeconds>300</ProbeTimeoutSeconds>
</Configuration>
</UnitMonitor>