The Warnings Class
The Warnings class provides configuration information about warnings on expiring licenses and certificates as well as calls rejected due to no license or no route conditions. All properties except the Description, which has key qualifier, can be read and written. Only one instance of the class Warnings is available.
The configuration of warnings applies to an anynode service and affects more than just WMI. For WMI an event will be generated, refer to the WMI events. Optionally warnings are also written to the event log and system event log or signaled via SNMP traps.
Warnings Class Properties
The table below lists the properties of the ‘Warnings’ class in alphabetical order. All properties except the ‘Description’ are read write.
Some WMI queries are only available starting from anynode version 4.14.(Check out available WMI queries with the PowerShell command below).
To display all available contents of the System class locally without credentials, you can use the following command:
Get-WmiObject -Namespace "root\TESYSTEMS\anynode" -Class "System"
-Namespace "root\TESYSTEMS\anynode" : Specifies the WMI namespace
for anynode.
-Class "Warnings" : Selects the "Warnings" class to retrieve its contents.
Property: CertificateExpiresCritical
Type: uint32
Description: The property specifies the number of days before a certificate expires to start
sending critical warnings. A value of zero disables the warning. For WMI, the warning is sent via the event AnynodeCertificateExpiresCriticalEvent.
Property: CertificateExpiresWarning
Type: uint32
Description: The property specifies the number of days before a certificate expires to start
sending warnings. A value of zero disables the warning. For WMI, the warning is sent via the event AnynodeCertificateExpiresWarningEvent.
Property: CertificateRepeatWarnings
Type: uint32
Description: The property specifies the number of days after which a certificate warning is repeated. A value of zero disables repeated warnings.
Property: DiskSpaceCritical
Type: uint32
Description: The property specifies the amount of remaining disk space (in MB) before a critical
warning is sent. A value of zero disables the warning. For WMI, the warning is sent via the event AnynodeDiskSpaceCriticalEvent.
Property: DiskSpaceWarning
Type: uint32
Description: The property specifies the amount of remaining disk space (in MB) before a warning
is sent. A value of zero disables the warning. For WMI, the warning is sent via the event AnynodeDiskSpaceWarningEvent.
Property: DiskSpaceRepeatWarnings
Type: uint32
Description: The property specifies the number of days after which a disk space warning is repeated. A value of zero disables repeated warnings.
Property: LicenseExpiresCritical
Type: uint32
Description: The property specifies the number of days before a license expires to start sending
critical warnings. A value of zero disables the warning. For WMI, the warning is sent via the event AnynodeLicenseExpiresCriticalEvent.
Property: LicenseExpiresWarning
Type: uint32
Description: The property specifies the number of days before a license expires to start sending
warnings. A value of zero disables the warning. For WMI, the warning is sent via the event AnynodeLicenseExpiresWarningEvent.
Property: LicenseRepeatWarnings
Type: uint32
Description: The property specifies the number of days after which a license warning is repeated. A value of zero disables repeated warnings.
Property: WarnCallNoLicense
Type: boolean
Description: The property specifies whether warnings are generated if a call cannot be serviced
due to a lack of available licenses. For WMI, the warning is sent via the event AnynodeNoLicenseEvent.
Property: WarnCallNoRoute
Type: boolean
Description: The property specifies whether warnings are generated if a call cannot be serviced
due to no matching route. For WMI, the warning is sent via the event AnynodeNoRouteEvent.