The AnynodeEvent Class
The AnynodeEvent class is a container for all events that can be generated by the anynode WMI integration. The AnynodeEvent class is located under the __ExtrinsicEvent system class. Note that initial states are not reported when an event sink is registers with the anynode WMI provider.
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 "AnynodeEvent" : Selects the "AnynodeEvent" class to retrieve its contents.
The AnynodeStateChangeEvent Class
The event AnynodeStateChangeEvent is signaled when the anynode service changes the running state. The properties provided with the event are:
Property: AnynodeRunning
Type: boolean
Description: The property provides the state of the anynode service. If the boolean value is true, the anynode service is running; otherwise, the service is not running.
The AnynodeNetworkStateChangeEvent Class
The event AnynodeNetworkStateChangeEvent is signaled when the state of the network interface used by a node changes. The properties provided with the event are:
Property: InterfaceDescription
Type: string
Description: The property provides the symbolic name of the network interface used by the node. The node is specified by the property NodeName.
Property: NetworkUp
Type: boolean
Description: The property is true if the network interface state is Up, otherwise false.
Property: NodeName
Type: string
Description: The property provides the name of the node. The name is unique and identifies a Node instance.
The AnynodeRegistrationStateChangeEvent Class
The event AnynodeRegistrationStateChangeEvent is signaled when the registration state of a node changes from registered to unregistered or vice versa. The properties provided with the event are:
Property: NodeName
Type: string
Description: The property provides the name of the node. The name is unique and identifies a node instance.
Property: RegistrarDescription
Type: string
Description: The property provides the symbolic name of the registrar.
Property: RegistrationState
Type: uint32
Description: The property provides the new state of the registration used by this node. Possible values are:
-
2: Registered (Successfully registered) -
4: Unregistered (Error registering)
The AnynodeLicenseExpiresWarningEvent Class
The event AnynodeLicenseExpiresWarningEvent is signaled when the remaining days a license is valid are less than the amount of days configured as property LicenseExpiresWarning in the Warnings class. The properties provided with the event are:
Property: Description
Type: string
Description: The property provides the description of the license, e.g., ‘TE-SYSTEMS GmbH – 2 Sessions’. Note that the description of a license is not unique.
Property: Expired
Type: boolean
Description: The property is true if the license is already expired. If false, the ExpiresInDays property contains the remaining days.
Property: ExpiresInDays
Type: uint32
Description: The property provides the remaining days until the license will expire.
Property: Identifier
Type: string
Description: The property provides the unique identifier of the license. This is typically in the form of a Globally Unique Identifier (GUID). The identifier is unique and identifies the ‘License’ instance.
The AnynodeLicenseExpiresCriticalEvent Class
The event AnynodeLicenseExpiresCriticalEvent is signaled when the remaining days a license is valid are less than the amount of days configured as property LicenseExpiresCritical in the Warnings class. Note that the event AnynodeLicenseExpiresWarningEvent is not signaled if this event is signaled. The properties provided with the event are:
Property: Description
Type: string
Description: The property provides the description of the license, e.g., ‘TE-SYSTEMS GmbH – 2 Sessions’. Note that the description of a license is not unique.
Property: Expired
Type: boolean
Description: The property is true if the license is already expired. If false, ExpiresInDays contains the remaining days.
Property: ExpiresInDays
Type: uint32
Description: The property provides the remaining days until the license will expire.
Property: Identifier
Type: string
Description: The property provides the unique identifier of the license. This is typically in the form of a Globally Unique Identifier (GUID). The identifier is unique and identifies the License instance.
The AnynodeLicenseUpdaterFailedEvent Class
The event AnynodeLicenseUpdaterFailedEvent is signaled when the auto updater for an abo license failed to validate the license. The system will still run until the license expires. Note that the event AnynodeLicenseExpiresWarningEvent is not signaled if this event is signaled. The properties provided with the event are:
Property: Description
Type: string
Description: The property provides the description of the license, e.g., ‘TE-SYSTEMS GmbH – 2 Sessions’. Note that the description of a license is not unique.
Property: Expired
Type: boolean
Description: The property is true if the license is already expired. If false, ExpiresInDays contains the remaining days.
Property: ExpiresInDays
Type: uint32
Description: The property provides the remaining days until the license will expire.
Property: Identifier
Type: string
Description: The property provides the unique identifier of the license. This is typically in the form of a Globally Unique Identifier (GUID). The identifier is unique and identifies the License instance.
Property: Reason
Type: string
Description: The property provides the reason why the auto updater could not request a new license.
The AnynodeCertificateExpiresWarningEvent Class
The event AnynodeCertificateExpiresWarningEvent is signaled when the remaining days a certificate is valid are less than the amount of days configured as property CertificateExpiresWarning in the Warnings class. The properties provided with the event are:
Property: Expired
Type: boolean
Description: The property is true if the certificate is already expired. If false, ExpiresInDays contains the remaining days.
Property: ExpiresInDays
Type: uint32
Description: The property provides the remaining days until the certificate will expire.
Property: IssuerCommonName
Type: string
Description: The property provides the common name set by the issuer of the certificate. The information depends on the issuer and may be an empty string.
Property: SerialNumber
Type: string
Description: The serial number of the certificate. The serial number is unique and identifies the Certificate instance.
The AnynodeCertificateExpiresCriticalEvent Class
The event AnynodeCertificateExpiresCriticalEvent is signaled when the remaining days a certificate is valid are less than the amount of days configured as property CertificateExpiresCritical in the Warnings class. Note that the event AnynodeCertificateExpiresWarningEvent is not signaled if this event is signaled. The properties provided with the event are:
Property: Expired
Type: boolean
Description: The property is true if the certificate is already expired. If false, ExpiresInDays contains the remaining days.
Property: ExpiresInDays
Type: uint32
Description: The property provides the remaining days until the certificate will expire.
Property: IssuerCommonName
Type: string
Description: The property provides the common name set by the issuer of the certificate. The information depends on the issuer and may be an empty string.
Property: SerialNumber
Type: string
Description: The serial number of the certificate. The serial number is unique and identifies the Certificate instance.
The AnynodeNoLicenseEvent Class
The event AnynodeNoLicenseEvent is signaled when a call could not be handled because no more licenses are available and the signaling of the event is enabled via the property WarnCallNoLicense in the Warnings class. The properties provided with the event are:
Property: TotalSessionsNoLicense
Type: uint32
Description: The property provides the amount of sessions that could not be served because of a No More License condition. The value includes all sessions since the last reset of the statistics.
The AnynodeNoRouteEvent Class
The event AnynodeNoRouteEvent is signaled when a call could not be handled because no route matches the information of the incoming call, and the signaling of the event is enabled via the property WarnCallNoRoute in the Warnings class. The properties provided with the event are:
Property: TotalSessionsNoRoute
Type: uint32
Description: The property provides the amount of sessions that failed because no route matches the information of the incoming call. The value includes all sessions since the last reset of the statistics.
The AnynodeCallHistorySessionsRemovedEvent Class
The event AnynodeCallHistorySessionsRemovedEvent is signaled when sessions were removed from the call history database. The properties provided with the event are:
Property: MaxSessions
Type: uint32
Description: The property provides the maximum amount of sessions configured in the Configuration CallHistory class.
Property: SessionsRemoved
Type: uint32
Description: The property provides the amount of sessions that were removed.
The AnynodeOperationalStateChangeEvent Class
The event AnynodeOperationalStateChangeEvent is signaled when the operational state of a node has changed. After an initial start, the event is only signaled for nodes that are not operational. For nodes with type UCMA, no event indicating the node is not operational is signaled when the application is starting. The properties provided with the event are:
Property: NodeName
Type: string
Description: The property provides the name of the node. The name is unique and identifies a node instance.
Property: Operational
Type: boolean
Description: The property is true if the node is operational.
The AnynodeLdapConnectionStateChangeEvent Class
The event AnynodeLdapConnectionStateChangeEvent is signaled when the state of an LDAP connection changes from connected to error or vice versa. The properties provided with the event are:
Property: Name
Type: string
Description: The property provides the name of the LDAP connection.
Property: Status
Type: uint32
Description: The property provides the new state of the LDAP connection. Possible values are:
-
2: Connected -
3: ErrorConfiguration -
4: ErrorAuthentication -
5: ErrorServerDown -
6: Error
Property: StatusErrorCode
Type: uint32
Description: The property provides the result code in case the Status is set to error.
The AnynodeEventNotificationEvent Class
The event AnynodeEventNotificationEvent is signaled when a WMI event provider is configured for anynode monitor and an event occurred that is enabled in the configuration of anynode monitor. The properties provided with the event are:
Property: DateTime
Type: string
Description: The date and time in ISO 8601 format, when the event was generated.
Property: MessageText
Type: string
Description: The message text as written to the event log.
Property: Severity
Type: uint32
Description: The severity of the event. The following values are possible:
-
Error
-
Warning
-
Informational
Property: Id
Type: uint32
Description: The event identifier.
Property: SystemName
Type: string
Description: The name of the machine anynode is running on.
Property: SystemId
Type: string
Description: The unique system identifier created when anynode was installed the first time.
Property: Version
Type: string
Description: The version of the installed anynode software.
Property: FrontendLink
Type: string
Description: The link to launch the anynode frontend, specified in the anynode Monitor event transport configuration.
Property: MessageParam1
Type: string
Description: The first event-specific parameter. The parameter is optional and only available if the event contains one or more parameters.
Property: MessageParam2
Type: string
Description: The second event-specific parameter. The parameter is optional and only available if the event contains two or more parameters.
Property: MessageParam3
Type: string
Description: The third event-specific parameter. The parameter is optional and only available if the event contains three or more parameters.
Property: MessageParam4
Type: string
Description: The fourth event-specific parameter. The parameter is optional and only available if the event contains four parameters.
The AnynodeDiskSpaceWarningEvent Class
The event AnynodeDiskSpaceWarningEvent is signaled when the disk space is below the threshold configured via the property DiskSpaceExpiresWarning in the Warnings class. The properties provided with the event are:
Property: Description
Type: string
Description: The property provides a textual description of the warning.
Property: AvailableSpace
Type: uint32
Description: The property provides the available disk space in megabytes.
Property: Load
Type: uint32
Description: The property provides the system disk load in percent.
The AnynodeDiskSpaceCriticalEvent Class
The event AnynodeDiskSpaceCriticalEvent is signaled when the disk space is below the threshold configured via the property DiskSpaceExpiresCritical in the Warnings class. The properties provided with the event are:
Property: Description
Type: string
Description: The property provides a textual description of the warning.
Property: AvailableSpace
Type: uint32
Description: The property provides the available disk space in megabytes.
Property: Load
Type: uint32
Description: The property provides the system disk load in percent.