Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?><ManagementPack ContentReadable="true" SchemaVersion="2.0" OriginalSchemaVersion="1.1" xmlns:xsd=http://www.w3.org/2001/XMLSchema xmlns:xsl=http://www.w3.org/1999/XSL/Transform>
- <Manifest>
- <Identity>
- <ID>MYCOMPANYUPSSolution</ID>
- <Version>1.0.0.3</Version>
- </Identity>
- <Name>MYCOMPANY.UPS.Solution</Name>
- <References>
- <Reference Alias="MicrosoftWindowsLibrary7585010">
- <ID>Microsoft.Windows.Library</ID>
- <Version>7.5.8501.0</Version>
- <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
- </Reference>
- <Reference Alias="MicrosoftSystemCenterInstanceGroupLibrary7585010">
- <ID>Microsoft.SystemCenter.InstanceGroup.Library</ID>
- <Version>7.5.8501.0</Version>
- <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
- </Reference>
- <Reference Alias="SystemLibrary7585010">
- <ID>System.Library</ID>
- <Version>7.5.8501.0</Version>
- <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
- </Reference>
- <Reference Alias="PowerShellMonitoring">
- <ID>Community.PowerShellMonitoring</ID>
- <Version>1.1.1.2</Version>
- <PublicKeyToken>3aa540324b898d3c</PublicKeyToken>
- </Reference>
- <Reference Alias="SystemCenter">
- <ID>Microsoft.SystemCenter.Library</ID>
- <Version>7.0.8438.6</Version>
- <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
- </Reference>
- <Reference Alias="Health">
- <ID>System.Health.Library</ID>
- <Version>7.0.8438.6</Version>
- <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
- </Reference>
- </References>
- </Manifest>
- <TypeDefinitions>
- <EntityTypes>
- <ClassTypes>
- <ClassType ID="Typed0679834bbee48c18cd4137ed27b757e" Accessibility="Public" Abstract="false" Base="MicrosoftWindowsLibrary7585010!Microsoft.Windows.Server.Computer" Hosted="false" Singleton="false" Extension="false">
- <Property ID="AttributeDiscoveryGeneratedByUI005ef803a104460d8febfb990102ed1c" Type="string" AutoIncrement="false" Key="false" CaseSensitive="false" MaxLength="256" MinLength="0" Required="false" Scale="0" />
- </ClassType>
- <ClassType ID="UINameSpace0d432e9bcd884d42bf5983f27ad952f8.Group" Accessibility="Public" Abstract="false" Base="MicrosoftSystemCenterInstanceGroupLibrary7585010!Microsoft.SystemCenter.InstanceGroup" Hosted="false" Singleton="true" Extension="false" />
- </ClassTypes>
- </EntityTypes>
- <SecureReferences>
- <SecureReference ID="RunAsProfile_d47a0ecf95aa403db2916803fc08ae03" Accessibility="Internal" />
- </SecureReferences>
- </TypeDefinitions>
- <Monitoring>
- <Discoveries>
- <Discovery ID="AttributeDiscoveryGeneratedByUIc89c107cd90343869878a3a3d0234924" Enabled="true" Target="MicrosoftWindowsLibrary7585010!Microsoft.Windows.Server.Computer" ConfirmDelivery="false" Remotable="true" Priority="Normal">
- <Category>PerformanceCollection</Category>
- <DiscoveryTypes>
- <DiscoveryClass TypeID="Typed0679834bbee48c18cd4137ed27b757e">
- <Property TypeID="Typed0679834bbee48c18cd4137ed27b757e" PropertyID="AttributeDiscoveryGeneratedByUI005ef803a104460d8febfb990102ed1c" />
- </DiscoveryClass>
- </DiscoveryTypes>
- <DataSource ID="AttributeDiscoveryGeneratedByUIe084411c4fa84b0f86f70f86ef9d96a0" TypeID="MicrosoftWindowsLibrary7585010!Microsoft.Windows.RegistryDiscoverySingleProvider">
- <ComputerName>$Target/Property[Type="MicrosoftWindowsLibrary7585010!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
- <AttributeName>AttributeDiscoveryRuleb4382a69d21c4c8e982d879b8adaf797</AttributeName>
- <Path>SOFTWARE\CommVault Systems</Path>
- <PathType>0</PathType>
- <AttributeType>0</AttributeType>
- <Frequency>43200</Frequency>
- <ClassId>$MPElement[Name="Typed0679834bbee48c18cd4137ed27b757e"]$</ClassId>
- <InstanceSettings>
- <Settings>
- <Setting>
- <Name>$MPElement[Name="Typed0679834bbee48c18cd4137ed27b757e"]/AttributeDiscoveryGeneratedByUI005ef803a104460d8febfb990102ed1c$</Name>
- <Value>$Data/Values/AttributeDiscoveryRuleb4382a69d21c4c8e982d879b8adaf797$</Value>
- </Setting>
- <Setting>
- <Name>$MPElement[Name="MicrosoftWindowsLibrary7585010!Microsoft.Windows.Computer"]/PrincipalName$</Name>
- <Value>$Target/Property[Type="MicrosoftWindowsLibrary7585010!Microsoft.Windows.Computer"]/PrincipalName$</Value>
- </Setting>
- </Settings>
- </InstanceSettings>
- </DataSource>
- </Discovery>
- <Discovery ID="UINameSpace0d432e9bcd884d42bf5983f27ad952f8.Group.DiscoveryRule" Enabled="true" Target="UINameSpace0d432e9bcd884d42bf5983f27ad952f8.Group" ConfirmDelivery="false" Remotable="true" Priority="Normal">
- <Category>Discovery</Category>
- <DiscoveryTypes>
- <DiscoveryRelationship TypeID="MicrosoftSystemCenterInstanceGroupLibrary7585010!Microsoft.SystemCenter.InstanceGroupContainsEntities" />
- </DiscoveryTypes>
- <DataSource ID="GroupPopulationDataSource" TypeID="SystemCenter!Microsoft.SystemCenter.GroupPopulator">
- <RuleId>$MPElement$</RuleId>
- <GroupInstanceId>$MPElement[Name="UINameSpace0d432e9bcd884d42bf5983f27ad952f8.Group"]$</GroupInstanceId>
- <MembershipRules>
- <MembershipRule>
- <MonitoringClass>$MPElement[Name="Typed0679834bbee48c18cd4137ed27b757e"]$</MonitoringClass>
- <RelationshipClass>$MPElement[Name="MicrosoftSystemCenterInstanceGroupLibrary7585010!Microsoft.SystemCenter.InstanceGroupContainsEntities"]$</RelationshipClass>
- <Expression>
- <And>
- <Expression>
- <RegExExpression>
- <ValueExpression>
- <Property>$MPElement[Name="MicrosoftWindowsLibrary7585010!Microsoft.Windows.Computer"]/PrincipalName$</Property>
- </ValueExpression>
- <Operator>ContainsSubstring</Operator>
- <Pattern>CMA</Pattern>
- </RegExExpression>
- </Expression>
- <Expression>
- <SimpleExpression>
- <ValueExpression>
- <Property>$MPElement[Name="Typed0679834bbee48c18cd4137ed27b757e"]/AttributeDiscoveryGeneratedByUI005ef803a104460d8febfb990102ed1c$</Property>
- </ValueExpression>
- <Operator>Equal</Operator>
- <ValueExpression>
- <Value>True</Value>
- </ValueExpression>
- </SimpleExpression>
- </Expression>
- <Expression>
- <RegExExpression>
- <ValueExpression>
- <Property>$MPElement[Name="MicrosoftWindowsLibrary7585010!Microsoft.Windows.Computer"]/PrincipalName$</Property>
- </ValueExpression>
- <Operator>DoesNotContainSubstring</Operator>
- <Pattern>DCAZU</Pattern>
- </RegExExpression>
- </Expression>
- </And>
- </Expression>
- </MembershipRule>
- </MembershipRules>
- </DataSource>
- </Discovery>
- </Discoveries>
- <Monitors>
- <UnitMonitor ID="UIGeneratedMonitor85e984d8b2e64f0c9b90b366bdf86dfc" Accessibility="Public" Enabled="false" Target="Typed0679834bbee48c18cd4137ed27b757e" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="PowerShellMonitoring!Community.PowerShellMonitoring.UnitMonitors.PowerShellTwoState" ConfirmDelivery="false">
- <Category>Custom</Category>
- <AlertSettings AlertMessage="UIGeneratedMonitor85e984d8b2e64f0c9b90b366bdf86dfc_AlertMessageResourceID">
- <AlertOnState>Warning</AlertOnState>
- <AutoResolve>true</AutoResolve>
- <AlertPriority>Normal</AlertPriority>
- <AlertSeverity>MatchMonitorHealth</AlertSeverity>
- <AlertParameters>
- <AlertParameter1>$Data/Context/Property[@Name='MessageText']$</AlertParameter1>
- </AlertParameters>
- </AlertSettings>
- <OperationalStates>
- <OperationalState ID="UIGeneratedOpStateId43dc4c8c4cb9486887c6b8b31cef0a07" MonitorTypeStateID="Healthy" HealthState="Success" />
- <OperationalState ID="UIGeneratedOpStateId33ad00466f85440ba855093dad7651a3" MonitorTypeStateID="Unhealthy" HealthState="Warning" />
- </OperationalStates>
- <Configuration>
- <IntervalSeconds>43200</IntervalSeconds>
- <SyncTime>00:00</SyncTime>
- <ScriptName>UPSSolution.ps1</ScriptName>
- <ScriptBody> <#
- This script checks some important prerequisites for IPP solution
- In case some of them is missing, it will report a warning
- Script name: UPSSolution.ps1
- Author: myself
- Date: 20221124
- Version: 1.0.0.1
- History:
- 20221124 - 1.0.0.1 - Preliminary version
- #>
- # Any Arguments specified will be sent to the script as a single string.
- # If you need to send multiple values, delimit them with a space, semicolon or other separator and then use split.
- param([string]$Arguments)
- $ScomAPI = New-Object -comObject "MOM.ScriptAPI"
- $PropertyBag = $ScomAPI.CreatePropertyBag()
- $err = $false
- $folder = "D:\scripts"
- $errstr = ""
- try
- {
- $res = Get-Service -ErrorAction Stop | Where-Object { $_.Name -like "Eaton*" }
- if($null -eq $res)
- {
- continue leave
- }
- Write-Host "Service OK"
- #verify the PowerCLI update state
- $pcli = Get-WmiObject -Class Win32_Product | Where-Object{$_.Name -eq "VMware PowerCLI"}
- if( $null -eq $pcli )
- {
- #verify if we have the new version
- $newcli = $a=Get-Module -Name "*PowerCLI" -ListAvailable
- if($null -eq $newcli)
- {
- $errstr += "VMWare PowerCLI is NOT installed - "
- $err = $true
- }
- }
- else
- {
- #we have the old version that needs to be updated
- $errstr += "VMWare PowerCLI needs to be updated - "
- $err = $true
- }
- if($res.Status -eq "Running")
- {
- Write-Host "Service is running"
- }
- else
- {
- $errstr += "Service NOT running - "
- $err = $true
- }
- if ($res.Name -ne "Eaton IntelligentPowerProtector") #last official name
- {
- $errstr += "Eaton service could be outdated - "
- $err = $true
- }
- if( Test-Path $folder )
- {
- Write-Host "Folder OK"
- }
- else
- {
- $errstr += "No folder - "
- $err = $true
- }
- if( Test-Path -Path "$folder\AES.key" -PathType Leaf )
- {
- Write-Host "File AES key OK"
- }
- else
- {
- $errstr += "No AES key file"
- $err = $true
- }
- #test scheduled task - it is outside the main process because I need to use try..catch
- try
- {
- $Task = Get-ScheduledTask -TaskName 'UPS-Updater' -ErrorAction Stop
- }
- catch
- {
- $errstr += "Scheduled task for update is not present - "
- $err = $true
- }
- #test .Net version (for PowerCLI)
- $DotNetVersion = (Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full").Version
- if($DotNetVersion -lt 4.7)
- {
- #
- $errstr += ".Net Framework version - $DotNetVersion - is lower than 4.7 (needed for PowerCLI) - "
- $err = $true
- }
- }
- catch #in this case no service = there is no solution installed
- {
- #$errstr += "IPP service not installed."
- $err = $false
- }
- :leave
- $PropertyBag.AddValue("MessageText",$errstr)
- if($err) {
- $PropertyBag.AddValue("State","BAD")
- }
- else
- {
- $PropertyBag.AddValue("State","OK")
- }
- # Send output to SCOM
- $PropertyBag
- </ScriptBody>
- <Arguments />
- <TimeoutSeconds>300</TimeoutSeconds>
- <UnhealthyExpression>
- <SimpleExpression>
- <ValueExpression>
- <XPathQuery>Property[@Name='State']</XPathQuery>
- </ValueExpression>
- <Operator>Equal</Operator>
- <ValueExpression>
- <Value>BAD</Value>
- </ValueExpression>
- </SimpleExpression>
- </UnhealthyExpression>
- <HealthyExpression>
- <SimpleExpression>
- <ValueExpression>
- <XPathQuery>Property[@Name='State']</XPathQuery>
- </ValueExpression>
- <Operator>Equal</Operator>
- <ValueExpression>
- <Value>OK</Value>
- </ValueExpression>
- </SimpleExpression>
- </HealthyExpression>
- </Configuration>
- </UnitMonitor>
- <UnitMonitor ID="UIGeneratedMonitor6aeaee060c3c495ca2220b648f6fa148" Accessibility="Public" Enabled="false" Target="Typed0679834bbee48c18cd4137ed27b757e" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="PowerShellMonitoring!Community.PowerShellMonitoring.UnitMonitors.PowerShellThreeState" ConfirmDelivery="false">
- <Category>Custom</Category>
- <AlertSettings AlertMessage="UIGeneratedMonitor6aeaee060c3c495ca2220b648f6fa148_AlertMessageResourceID">
- <AlertOnState>Warning</AlertOnState>
- <AutoResolve>true</AutoResolve>
- <AlertPriority>High</AlertPriority>
- <AlertSeverity>MatchMonitorHealth</AlertSeverity>
- <AlertParameters>
- <AlertParameter1>$Data/Context/Property[@Name='UpsName']$</AlertParameter1>
- <AlertParameter2>$Data/Context/Property[@Name='MessageText']$</AlertParameter2>
- </AlertParameters>
- </AlertSettings>
- <OperationalStates>
- <OperationalState ID="UIGeneratedOpStateId262315817d204b72b902cc96a995fecd" MonitorTypeStateID="Healthy" HealthState="Success" />
- <OperationalState ID="UIGeneratedOpStateIddc6fc6951ac24d0ba4bdb2739bb943a1" MonitorTypeStateID="Warning" HealthState="Warning" />
- <OperationalState ID="UIGeneratedOpStateId419103a160794c2eb1b4166c0b6d7b75" MonitorTypeStateID="Unhealthy" HealthState="Error" />
- </OperationalStates>
- <Configuration>
- <IntervalSeconds>300</IntervalSeconds>
- <SyncTime>00:00</SyncTime>
- <ScriptName>upsonbattery.ps1</ScriptName>
- <ScriptBody> # Any Arguments specified will be sent to the script as a single string.
- # If you need to send multiple values, delimit them with a space, semicolon or other separator and then use split.
- param([string]$Arguments)
- $ScomAPI = New-Object -comObject "MOM.ScriptAPI"
- $PropertyBag = $ScomAPI.CreatePropertyBag()
- # Example of use below, in this case return the length of the string passed in and we'll set health state based on that.
- # Since the health state comparison is string based in this template we'll need to create a state value and return it.
- # Ensure you return a unique value per health state (e.g. a service status), or a unique combination of values.
- <#
- Script: ups-on-battery.ps1
- Purpose: Checks if Eaton UPS is on battery
- Author: myself
- Team: Windows Hosting
- Version: 1.0
- Date: 20221202
- History:
- 1.0 - 20221202 - Preliminary version
- #>
- $upsBatteryVoltage = '.1.3.6.1.4.1.534.1.2.2.0'
- $upsBatteryCapacityPerc = '.1.3.6.1.4.1.534.1.2.4.0'
- $upsEstimatedMinutesRemaining = '.1.3.6.1.2.1.33.1.2.3.0'
- $upsBatteryABMStatus = '.1.3.6.1.4.1.534.1.2.5.0' #(Charging(1),Discharging(2),Floating(3),Resting(4),unknown(5),Disconnected(6),Under Test(7),Check Battery(8))
- $upsBatteryReplacementIndicator = '.1.3.6.1.4.1.705.1.5.11.0' # 1=yes 2=no
- $upsBatteryFaultIndicator = '.1.3.6.1.4.1.705.1.5.9.0' # 1=yes 2=no
- $upsInternalFailure = '.1.3.6.1.4.1.705.1.5.15.0' # 1=yes 2=no
- $upsOverloadIndicator = '.1.3.6.1.4.1.705.1.7.10.0' # 1=yes 2=no
- $UpsSysDescription = '.1.3.6.1.4.1.534.1.1.2.0' # system description
- $upsOnBypass = '.1.3.6.1.4.1.705.1.7.4.0' # 1=yes 2=no
- $upsOnBattery = '.1.3.6.1.4.1.705.1.7.3.0' # 1=yes 2=no
- $upsAlarms = '.1.3.6.1.4.1.534.1.7.1.0' #number of alerts
- $upsAlarmsTree = '.1.3.6.1.4.1.534.1.7.2'
- $upsSerialNumberNew = '.1.3.6.1.4.1.534.1.14.5.0' #only for new model (Network MS NIC)
- $upsSerialNumberOld = '.1.3.6.1.4.1.705.1.1.7.0' #only for old model (Network MS NIC)
- $upsBatteryAged = '.1.3.6.1.4.1.534.1.2.9.0' # 1=yes 2=no (new UPS only with Gigabit Ethernet card)
- <#
- xupsOnBattery 1.3.6.1.4.1.534.1.7.3
- xupsLowBattery 1.3.6.1.4.1.534.1.7.4
- xupsUtilityPowerRestored 1.3.6.1.4.1.534.1.7.5
- xupsReturnFromLowBattery 1.3.6.1.4.1.534.1.7.6
- xupsOutputOverload 1.3.6.1.4.1.534.1.7.7
- xupsInternalFailure 1.3.6.1.4.1.534.1.7.8
- xupsBatteryDischarged 1.3.6.1.4.1.534.1.7.9
- xupsInverterFailure 1.3.6.1.4.1.534.1.7.10
- xupsOnBypass 1.3.6.1.4.1.534.1.7.11
- xupsBypassNotAvailable 1.3.6.1.4.1.534.1.7.12
- xupsOutputOff 1.3.6.1.4.1.534.1.7.13
- xupsInputFailure 1.3.6.1.4.1.534.1.7.14
- xupsBuildingAlarm 1.3.6.1.4.1.534.1.7.15
- xupsShutdownImminent 1.3.6.1.4.1.534.1.7.16
- xupsOnInverter 1.3.6.1.4.1.534.1.7.17
- ifDescr 1.3.6.1.2.1.33.1.1.4.0
- #>
- # To get the IPP install location read value InstallPath from HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Eaton\IntelligentPowerProtector
- # then add "configs" to the path
- get-date | Out-File -FilePath "C:\temp\upsonbatt.log"
- $CurrentUser = ([Security.Principal.WindowsIdentity]::GetCurrent()).name
- "User is $CurrentUser" | out-file -FilePath "C:\temp\upsonbatt.log" -append
- if(!(test-path -path "HKLM:\SOFTWARE\Wow6432Node\Eaton\IntelligentPowerProtector"))
- {
- Write-Host "No IPP solution installed here" -ForegroundColor Yellow
- "NOIPP" | out-file -FilePath "C:\temp\upsonbatt.log" -append
- exit
- }
- $IPPPath = (Get-ItemProperty -Path "HKLM:\SOFTWARE\Wow6432Node\Eaton\IntelligentPowerProtector").InstallPath
- $IPPPath += "\configs"
- #debug
- $IPPPath
- try
- {
- $ConfigIPP = Get-Content -Path "$IPPPath\config.js" -ErrorAction Stop
- }
- catch
- {
- Write-Host "Error $($_.Exception.Message)" -ForegroundColor Red
- "ERRCFG - $($_.Exception.Message)" | out-file -FilePath "C:\temp\upsonbatt.log" -append
- exit
- }
- #"powerSource": (\S{1,},)
- $UPSExtract = ($ConfigIPP -match '"powerSource": (\S{1,},)') -replace """", ""
- $UpsName = $UPSExtract -replace ",", ""
- $UpsName = ($UpsName.Split(":")[1]).Trim()
- #debug
- $UpsName
- try
- {
- $SNMP = New-Object -ComObject olePrn.OleSNMP
- "SNMP object $SNMP created correctly" | out-file -FilePath "C:\temp\upsonbatt.log" -append
- }
- catch
- {
- Write-Debug "Error creating SNMP object"
- "Error creating SNMP object - $($_.Exception.Message)" | out-file -FilePath "C:\temp\upsonbatt.log" -append
- exit
- }
- try
- {
- $UPSIPAddress = [System.Net.Dns]::GetHostAddresses($UpsName).IPAddressToString
- $SNMP.open($UPSIPAddress, "communityname", 10, 3000)
- }
- catch
- {
- Write-Debug "Error opening SNMP connection"
- "SNMPERR opening $UpsName with IP $UPSIPAddress - $($_.Exception.Message)" | out-file -FilePath "C:\temp\upsonbatt.log" -append
- exit
- }
- $OnBatt = $SNMP.get($upsOnBattery)
- #Write-Host "On battery: $RESULT (1 yes | 2 no)" -ForegroundColor Cyan
- $MinRem = $SNMP.get($upsEstimatedMinutesRemaining)
- #Write-Host "Estimated battery remaining (minutes): $RESULT" -ForegroundColor Cyan
- $OnBypass = $SNMP.get($upsOnBypass)
- #Write-Host "UPS on bypass: $RESULT (1 yes | 2 no)" -ForegroundColor Cyan
- if ($OnBatt -eq 1)
- {
- $Message = "UPS is on battery - remaining time: $MinRem minutes"
- $State = "BATT"
- "BATT" | out-file -FilePath "C:\temp\upsonbatt.log" -append
- }
- elseif ($OnByPass -eq 1)
- {
- $Message = "UPS is on ByPass"
- $State = "BPS"
- "BPS" | out-file -FilePath "C:\temp\upsonbatt.log" -append
- }
- else
- {
- $State = "OK"
- "OK" | out-file -FilePath "C:\temp\upsonbatt.log" -append
- }
- $PropertyBag.AddValue("MessageText",$Message)
- $PropertyBag.AddValue("UpsName",$UpsName)
- $PropertyBag.AddValue("State",$State)
- $Message | out-file -FilePath "C:\temp\upsonbatt.log" -append
- $UpsName | out-file -FilePath "C:\temp\upsonbatt.log" -append
- $State | out-file -FilePath "C:\temp\upsonbatt.log" -append
- $SNMP.Close() #close SNMP instance
- # Send output to SCOM
- $PropertyBag
- </ScriptBody>
- <Arguments />
- <TimeoutSeconds>300</TimeoutSeconds>
- <UnhealthyExpression>
- <SimpleExpression>
- <ValueExpression>
- <XPathQuery>Property[@Name='State']</XPathQuery>
- </ValueExpression>
- <Operator>Equal</Operator>
- <ValueExpression>
- <Value Type="String">BATT</Value>
- </ValueExpression>
- </SimpleExpression>
- </UnhealthyExpression>
- <WarningExpression>
- <SimpleExpression>
- <ValueExpression>
- <XPathQuery>Property[@Name='State']</XPathQuery>
- </ValueExpression>
- <Operator>Equal</Operator>
- <ValueExpression>
- <Value Type="String">BPS</Value>
- </ValueExpression>
- </SimpleExpression>
- </WarningExpression>
- <HealthyExpression>
- <SimpleExpression>
- <ValueExpression>
- <XPathQuery>Property[@Name='State']</XPathQuery>
- </ValueExpression>
- <Operator>Equal</Operator>
- <ValueExpression>
- <Value Type="String">OK</Value>
- </ValueExpression>
- </SimpleExpression>
- </HealthyExpression>
- </Configuration>
- </UnitMonitor>
- </Monitors>
- <Overrides>
- <MonitorPropertyOverride ID="Alias731d3cfe1fba42f2b515812cb7b7049fOverrideForMonitorUIGeneratedMonitor6aeaee060c3c495ca2220b648f6fa148ForContextUINameSpace0d432e9bcd884d42bf5983f27ad952f8Group" Context="UINameSpace0d432e9bcd884d42bf5983f27ad952f8.Group" ContextInstance="9c306548-985c-7eef-0255-f19c4700e6b1" Enforced="false" Monitor="UIGeneratedMonitor6aeaee060c3c495ca2220b648f6fa148" Property="Enabled">
- <Value>true</Value>
- </MonitorPropertyOverride>
- <SecureReferenceOverride ID="SecureOverride197c23cf_be00_2a41_76db_9f8c491e74a5" Context="SystemLibrary7585010!System.Entity" ContextInstance="9c306548-985c-7eef-0255-f19c4700e6b1" Enforced="false" SecureReference="RunAsProfile_d47a0ecf95aa403db2916803fc08ae03">
- <Value>002FAB78342CF8117D9C45D1E077AF24216B05509800000000000000000000000000000000000000</Value>
- </SecureReferenceOverride>
- </Overrides>
- </Monitoring>
- <Presentation>
- <Folders>
- <Folder ID="Folder_b774a06cf78343e1b5c2d0e9a6e72b8b" Accessibility="Public" ParentFolder="SystemCenter!Microsoft.SystemCenter.Monitoring.ViewFolder.Root" />
- </Folders>
- <StringResources>
- <StringResource ID="UIGeneratedMonitor85e984d8b2e64f0c9b90b366bdf86dfc_AlertMessageResourceID" />
- <StringResource ID="UIGeneratedMonitor6aeaee060c3c495ca2220b648f6fa148_AlertMessageResourceID" />
- </StringResources>
- </Presentation>
- <LanguagePacks>
- <LanguagePack ID="ENU" IsDefault="false">
- <DisplayStrings>
- <DisplayString ElementID="MYCOMPANYUPSSolution">
- <Name>MYCOMPANY.UPS.Solution</Name>
- <Description>Classes, groups and monitors for UPS solution (IPP). Also contains the monitor for UPS on battery.</Description>
- </DisplayString>
- <DisplayString ElementID="Folder_b774a06cf78343e1b5c2d0e9a6e72b8b">
- <Name>MYCOMPANY.UPS.Solution</Name>
- </DisplayString>
- <DisplayString ElementID="AttributeDiscoveryGeneratedByUIc89c107cd90343869878a3a3d0234924">
- <Name>CMA ServerDiscovery</Name>
- </DisplayString>
- <DisplayString ElementID="Typed0679834bbee48c18cd4137ed27b757e">
- <Name>Windows Server_Extended_UPSSolution</Name>
- </DisplayString>
- <DisplayString ElementID="Typed0679834bbee48c18cd4137ed27b757e" SubElementID="AttributeDiscoveryGeneratedByUI005ef803a104460d8febfb990102ed1c">
- <Name>CMA Server</Name>
- <Description>Identifies CMA servers</Description>
- </DisplayString>
- <DisplayString ElementID="UINameSpace0d432e9bcd884d42bf5983f27ad952f8.Group">
- <Name>All CMA Servers</Name>
- <Description>All servers where CommVault is installed</Description>
- </DisplayString>
- <DisplayString ElementID="UINameSpace0d432e9bcd884d42bf5983f27ad952f8.Group.DiscoveryRule">
- <Name>Populate All CMA Servers</Name>
- <Description>This discovery rule populates the group 'All CMA Servers'</Description>
- </DisplayString>
- <DisplayString ElementID="UIGeneratedMonitor85e984d8b2e64f0c9b90b366bdf86dfc">
- <Name>UPS Solution misconfigured</Name>
- <Description>Monitors all servers where IPP is installed to verify if the configuration is correct.</Description>
- </DisplayString>
- <DisplayString ElementID="UIGeneratedMonitor85e984d8b2e64f0c9b90b366bdf86dfc" SubElementID="UIGeneratedOpStateId43dc4c8c4cb9486887c6b8b31cef0a07">
- <Name>Healthy</Name>
- </DisplayString>
- <DisplayString ElementID="UIGeneratedMonitor85e984d8b2e64f0c9b90b366bdf86dfc" SubElementID="UIGeneratedOpStateId33ad00466f85440ba855093dad7651a3">
- <Name>Unhealthy</Name>
- </DisplayString>
- <DisplayString ElementID="UIGeneratedMonitor85e984d8b2e64f0c9b90b366bdf86dfc_AlertMessageResourceID">
- <Name>UPS Solution misconfigured</Name>
- <Description>UPS Solution is misconfigured. See below for details:
- Additional error(s): {0}</Description>
- </DisplayString>
- <DisplayString ElementID="UIGeneratedMonitor6aeaee060c3c495ca2220b648f6fa148">
- <Name>UPS On Battery</Name>
- <Description>Checks if the UPS is on battery or it's on bypass</Description>
- </DisplayString>
- <DisplayString ElementID="UIGeneratedMonitor6aeaee060c3c495ca2220b648f6fa148" SubElementID="UIGeneratedOpStateId262315817d204b72b902cc96a995fecd">
- <Name>Healthy</Name>
- </DisplayString>
- <DisplayString ElementID="UIGeneratedMonitor6aeaee060c3c495ca2220b648f6fa148" SubElementID="UIGeneratedOpStateIddc6fc6951ac24d0ba4bdb2739bb943a1">
- <Name>Warning</Name>
- </DisplayString>
- <DisplayString ElementID="UIGeneratedMonitor6aeaee060c3c495ca2220b648f6fa148" SubElementID="UIGeneratedOpStateId419103a160794c2eb1b4166c0b6d7b75">
- <Name>Unhealthy</Name>
- </DisplayString>
- <DisplayString ElementID="UIGeneratedMonitor6aeaee060c3c495ca2220b648f6fa148_AlertMessageResourceID">
- <Name>UPS On Battery</Name>
- <Description>UPS is on battery or on ByPass. Please see the alert context for details.
- UPS name: {0}
- Additional informations: {1}</Description>
- </DisplayString>
- <DisplayString ElementID="RunAsProfile_d47a0ecf95aa403db2916803fc08ae03">
- <Name>UPS Solution SNMP</Name>
- <Description>Profile to be used for UPS Solution MP on CMA group</Description>
- </DisplayString>
- </DisplayStrings>
- </LanguagePack>
- </LanguagePacks>
- </ManagementPack>
Advertisement
Add Comment
Please, Sign In to add comment