mooli tayer has uploaded a new change for review. Change subject: tools: text file of major events names. ......................................................................
tools: text file of major events names. Currently administrators might find it hard to define a white list of events they had not yet encountered. We provide the list of events available in the UI for email notifications as a reference. While this list is not complete it includes important event that users commented on over time. Change-Id: Id4457d18d1ae7cdd9c35e2c032b8a9be16c95a86 Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1084138 Signed-off-by: Mooli Tayer <[email protected]> --- A packaging/services/ovirt-engine-notifier/main_events.txt M packaging/services/ovirt-engine-notifier/ovirt-engine-notifier.conf.in 2 files changed, 136 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/68/26568/1 diff --git a/packaging/services/ovirt-engine-notifier/main_events.txt b/packaging/services/ovirt-engine-notifier/main_events.txt new file mode 100644 index 0000000..90e6828 --- /dev/null +++ b/packaging/services/ovirt-engine-notifier/main_events.txt @@ -0,0 +1,134 @@ +Event names for most important events: + +General Host Events: +VDS_FAILURE:Host is non responsive +VDS_MAINTENANCE:Host was switched to Maintenance Mode +VDS_MAINTENANCE_MANUAL_HA:Host was switched to Maintenance Mode, but Hosted Engine HA maintenance mode could not be enabled +VDS_MAINTENANCE_FAILED:Failed to switch Host to Maintenance mode +VDS_ACTIVATE_MANUAL_HA:Host was activated, but the Hosted Engine HA service may still be in maintenance mode +VDS_ACTIVATE_FAILED:Failed to activate Host +VDS_RECOVER_FAILED:Host failed to recover +VDS_APPROVE_FAILED:Failed to approve Host +VDS_INSTALL_FAILED:Host installation failed +VDS_TIME_DRIFT_ALERT:Host has time-drift +VDS_SET_NONOPERATIONAL:Host state was set to non-operational +VDS_SET_NONOPERATIONAL_IFACE_DOWN:Host state was set to non-operational due to a missing Interface +VDS_HIGH_MEM_USE:Host memory usage exceeded defined threshold +HOST_INTERFACE_HIGH_NETWORK_USE:Host network interface usage exceeded defined threshold +VDS_HIGH_CPU_USE:Host cpu usage exceeded defined threshold +VDS_HIGH_SWAP_USE:Host swap memory usage exceeded defined threshold +VDS_LOW_SWAP:Host free swap memory is under defined threshold +GLUSTER_SERVER_ADD_FAILED:Failed to Add Gluster Server +GLUSTER_SERVER_REMOVE:Gluster Server Removed +GLUSTER_SERVER_REMOVE_FAILED:Failed to Remove Gluster Server +VDS_UNTRUSTED:Host state was set to non-operational. Host is untrusted by the attestation service + +Virt Host Events: +VDS_SET_NONOPERATIONAL_DOMAIN:Host state was set to non-operational due to inaccessible Storage Domain +SYSTEM_CHANGE_STORAGE_POOL_STATUS_NO_HOST_FOR_SPM:Failed electing an SPM for the Data-Center +SYSTEM_DEACTIVATED_STORAGE_DOMAIN:Storage Domain state was set to inactive + +VM Events: +VM_FAILURE:VM cannot be found on Host +VM_MIGRATION_START:Starting migration of VM +VM_MIGRATION_FAILED:Migration failed +VM_NOT_RESPONDING:VM is not responding +VM_STATUS_RESTORED:VM status restored +HA_VM_RESTART_FAILED:Highly-Available VM restart failed +HA_VM_FAILED:Highly-Available VM failed +VM_CONSOLE_CONNECTED:VM console connected +VM_CONSOLE_DISCONNECTED:VM console disconnected +VM_SET_TICKET:VM console session initiated +VM_DOWN_ERROR:VM is down with error +VDS_INITIATED_RUN_VM_FAILED:Failed to restart VM on a different host +USER_UPDATE_VM_FROM_TRUSTED_TO_UNTRUSTED:VM moved from trusted cluster to non-trusted cluster +USER_UPDATE_VM_FROM_UNTRUSTED_TO_TRUSTED:VM moved from non-trusted cluster to trusted cluster +IMPORTEXPORT_IMPORT_VM_FROM_TRUSTED_TO_UNTRUSTED:Import VM from trusted cluster into non-trusted cluster +IMPORTEXPORT_IMPORT_VM_FROM_UNTRUSTED_TO_TRUSTED:Import VM from non-trusted cluster into trusted cluster +USER_ADD_VM_FROM_TRUSTED_TO_UNTRUSTED:A non-trusted VM was created from trusted Template +USER_ADD_VM_FROM_UNTRUSTED_TO_TRUSTED:A trusted VM was created from non-trusted Template +IMPORTEXPORT_IMPORT_TEMPLATE_FROM_TRUSTED_TO_UNTRUSTED:Template imported from trusted cluster into non-trusted cluster +IMPORTEXPORT_IMPORT_TEMPLATE_FROM_UNTRUSTED_TO_TRUSTED:Template imported from non-trusted cluster into trusted cluster +USER_ADD_VM_TEMPLATE_FROM_TRUSTED_TO_UNTRUSTED:A non-trusted Template was created from trusted VM +USER_ADD_VM_TEMPLATE_FROM_UNTRUSTED_TO_TRUSTED:A trusted Template was created from non-trusted VM +USER_UPDATE_VM_TEMPLATE_FROM_TRUSTED_TO_UNTRUSTED:Template moved from trusted cluster to non-trusted cluster +USER_UPDATE_VM_TEMPLATE_FROM_UNTRUSTED_TO_TRUSTED:Template moved from non-trusted cluster to trusted cluster + +Storage Management Events: +VDS_SLOW_STORAGE_RESPONSE_TIME:Slow storage response time +IRS_FAILURE:Failed to access Storage +IRS_DISK_SPACE_LOW:Low disk space +IRS_DISK_SPACE_LOW_ERROR:Critically low disk space + +General Management Events: +VDC_STOP:Engine has stopped + +Gluster Volume Events: +GLUSTER_VOLUME_CREATE:Gluster Volume Created +GLUSTER_VOLUME_CREATE_FAILED:Gluster Volume could not be created +GLUSTER_VOLUME_OPTION_ADDED:Gluster Volume Option added +GLUSTER_VOLUME_OPTION_MODIFIED:Gluster Volume Option modified +GLUSTER_VOLUME_OPTION_SET_FAILED:Gluster Volume Option could not be set +GLUSTER_VOLUME_START:Gluster volume started +GLUSTER_VOLUME_START_FAILED:Gluster Volume could not be started +GLUSTER_VOLUME_STOP:Gluster volume stopped +GLUSTER_VOLUME_STOP_FAILED:Gluster Volume could not be stopped +GLUSTER_VOLUME_OPTIONS_RESET:Gluster Volume Options reset +GLUSTER_VOLUME_OPTIONS_RESET_ALL:All the Gluster Volume Options reset +GLUSTER_VOLUME_OPTIONS_RESET_FAILED:Gluster Volume Options could not be reset +GLUSTER_VOLUME_DELETE:Gluster Volume deleted +GLUSTER_VOLUME_DELETE_FAILED:Gluster Volume could not be deleted +GLUSTER_VOLUME_ADD_BRICK:Gluster Volume brick(s) added +GLUSTER_VOLUME_ADD_BRICK_FAILED:Failed to add brick(s) on Gluster Volume +GLUSTER_VOLUME_REMOVE_BRICKS:Gluster Volume Bricks Removed +GLUSTER_VOLUME_REMOVE_BRICKS_FAILED:Gluster Volume Bricks could not be removed +START_REMOVING_GLUSTER_VOLUME_BRICKS:Started removing bricks from Volume +START_REMOVING_GLUSTER_VOLUME_BRICKS_FAILED:Could not remove volume bricks +GLUSTER_VOLUME_REMOVE_BRICKS_STOP:Stopped removing bricks from Gluster Volume +GLUSTER_VOLUME_REMOVE_BRICKS_STOP_FAILED:Failed to stop remove bricks from Gluster Volume +GLUSTER_VOLUME_REBALANCE_START:Gluster Volume Rebalance started +GLUSTER_VOLUME_REBALANCE_START_FAILED:Gluster Volume Rebalance could not be started +GLUSTER_VOLUME_REBALANCE_STOP:Gluster Volume Rebalance stopped +GLUSTER_VOLUME_REBALANCE_STOP_FAILED:Gluster Volume Rebalance could not be stopped +GLUSTER_VOLUME_REPLACE_BRICK_FAILED:Gluster Volume Replace Brick Failed +GLUSTER_VOLUME_REPLACE_BRICK_START:Gluster Volume Replace Brick Started +GLUSTER_VOLUME_REPLACE_BRICK_START_FAILED:Gluster Volume Replace Brick could not be started +GLUSTER_VOLUME_REBALANCE_START_DETECTED_FROM_CLI +START_REMOVING_GLUSTER_VOLUME_BRICKS_DETECTED_FROM_CLI +GLUSTER_VOLUME_REBALANCE_NOT_FOUND_FROM_CLI:Could not find information for rebalance on volume from CLI. Marking it as unknown. +REMOVE_GLUSTER_VOLUME_BRICKS_NOT_FOUND_FROM_CLI:Could not find information for remove brick on volume from CLI. Marking it as unknown. +GLUSTER_VOLUME_PROFILE_START:Gluster Volume Profile started +GLUSTER_VOLUME_PROFILE_START_FAILED:Failed to start Gluster Volume Profile +GLUSTER_VOLUME_PROFILE_STOP:Gluster Volume Profile stopped +GLUSTER_VOLUME_PROFILE_STOP_FAILED:Failed to stop Gluster Volume Profile +GLUSTER_BRICK_STATUS_CHANGED:Detected change in status of brick +GLUSTER_VOLUME_REBALANCE_FINISHED:Gluster Volume rebalance finished +GLUSTER_VOLUME_MIGRATE_BRICK_DATA_FINISHED:Gluster Volume migration of data for remove brick finished + +Gluster Hook Events: +GLUSTER_HOOK_ENABLE:Gluster Hook Enabled +GLUSTER_HOOK_ENABLE_FAILED:Failed to Enable Gluster Hook +GLUSTER_HOOK_DISABLE:Gluster Hook Disabled +GLUSTER_HOOK_DISABLE_FAILED:Failed to Disable Gluster Hook +GLUSTER_HOOK_DETECTED_NEW:Detected new Gluster Hook +GLUSTER_HOOK_CONFLICT_DETECTED:Detected conflict in Gluster Hook +GLUSTER_HOOK_DETECTED_DELETE:Detected removal of Gluster Hook +GLUSTER_HOOK_ADDED:Added Gluster Hook +GLUSTER_HOOK_ADD_FAILED:Failed to add Gluster Hook on conflicting servers +GLUSTER_HOOK_REMOVED:Removed Gluster Hook +GLUSTER_HOOK_REMOVE_FAILED:Failed to remove Gluster Hook from cluster + +Gluster Service: +GLUSTER_SERVICE_STARTED:Gluster Service started +GLUSTER_SERVICE_START_FAILED:Failed to start Gluster service +GLUSTER_SERVICE_STOPPED:Gluster Service stopped +GLUSTER_SERVICE_STOP_FAILED:Failed to stop Gluster service +GLUSTER_SERVICE_RESTARTED:Gluster Service re-started +GLUSTER_SERVICE_RESTART_FAILED:Failed to re-start Gluster Service + +Data Warehouse Events: +DWH_STOPPED:History Service Stopped +DWH_ERROR:History Service Error + +Cluster Events: +CLUSTER_ALERT_HA_RESERVATION:HA Reservation check has failed diff --git a/packaging/services/ovirt-engine-notifier/ovirt-engine-notifier.conf.in b/packaging/services/ovirt-engine-notifier/ovirt-engine-notifier.conf.in index 35f0995..8042e57 100644 --- a/packaging/services/ovirt-engine-notifier/ovirt-engine-notifier.conf.in +++ b/packaging/services/ovirt-engine-notifier/ovirt-engine-notifier.conf.in @@ -91,6 +91,8 @@ # FILTER="include:VDC_START(smtp:[email protected]) ${FILTER}" # FILTER="exclude:VDC_START include:*(smtp:[email protected]) ${FILTER}" # +# List of the most important event is available in 'main_events.txt' file. +# # The final filter list contains FILTER as well as 'event_subscriber' table records. # database record are considered first. FILTER="exclude:*" -- To view, visit http://gerrit.ovirt.org/26568 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Id4457d18d1ae7cdd9c35e2c032b8a9be16c95a86 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: mooli tayer <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
