AMQP Object Change Notifications
For supported software information, click here.
When you enable object notification in Director and when a user modifies a device or template configuration object in the configuration database, Versa Director publishes object change AMQP notifications.
An object change notification is called by a routing key, and it has the following format:
[Severity].[Event-Type].[Event-Entity].[Organization].[User]
The following table explains the components of the routing key.
| Field | Description |
|---|---|
| Severity | How severe the notification is. The severity is always info. |
| Event Type | Always versa_director:object_change_event |
| Event Entity | Path of the object, for example, ./vnmsha:vnmsha/ha-config/nodes/node{10-192-27-24} |
| Organization | Organization identifier. If there is no organization, the default is System |
| User | Name of the user. For system-level actions, the default is System |
Create Syslog Configuration
Routing Key
info.versa_director:object_change_event./nms-system:system/syslog-servers/server{10-192-90-91}.System.System
AMQP Notification
{
"message_id": 706,
"severity": "info",
"event_type": "versa_director:object_change_event",
"event_entity": "/nms-system:system/syslog-servers/server{10.192.90.91}",
"operation": "CREATED",
"object_key": "keyPath= /nms-system:system/syslog-servers/server{10.192.90.91}, operation=CREATED, old_value=, new_value=",
"user": "System",
"organization": "System",
"event_time": "2019-04-05T09:11:30.201000+00:00",
"director_hostname": "versa",
"director_mgmt_ip": "10.192.60.101"
}
Delete AMQP Connector
Routing Key
info.versa_director:object_change_event./versanms:nms/provider/amqpconnectors/amqpconnector{amqp}.System.System
AMQP Notification
{
"message_id": 6,
"severity": "info",
"event_type": "versa_director:object_change_event",
"event_entity": "/versanms:nms/provider/amqpconnectors/amqpconnector{amqp}",
"operation": "DELETED",
"object_key": "keyPath= /versanms:nms/provider/amqpconnectors/amqpconnector{amqp}, operation=DELETED, old_value=, new_value=",
"user": "System",
"organization": "System",
"event_time": "2015-03-09T13:01:47.595000+00:00"
Modify Syslog Configuration
Routing Key
info.versa_director:object_change_event./nms-system:system/syslog-servers/server{10-192-90-91}.System.System
AMQP Notification
{
"message_id": 707,
"severity": "info",
"event_type": "versa_director:object_change_event",
"event_entity": "/nms-system:system/syslog-servers/server{10.192.90.91}",
"operation": "MODIFIED",
"object_key": "keyPath= /nms-system:system/syslog-servers/server{10.192.90.91}, operation=MODIFIED, old_value=, new_value=",
"user": "System",
"organization": "System",
"event_time": "2019-04-05T09:14:35.589000+00:00",
"director_hostname": "versa",
"director_mgmt_ip": "10.192.60.101"
}
Supported Software Information
Releases 20.2 and later support all content described in this article.
