Can not create the alert client. API key cannot be blank.
Jump to navigation
Jump to search
opsgenie-lamp createAlert --message "host down" --config /opt/conf/myConfigurationFile.conf opsgenie-lamp listAlerts --config /opt/conf/myConfigurationFile.conf opsgenie-lamp listAlerts --config ~/.config/lamp.conf
Errors[edit]
INFO[2024-10-12T13:43:46.643503+02:00] Client is configured with ApiUrl: api.opsgenie.com, RetryMaxCount: 4 ERRO[2024-10-12T13:43:47.028936+02:00] Error occurred with Status code: 401, Message: Could not authenticate, Took: 0.006000, RequestId: 14999ae4-67a6-42c6-b6e2-xxxxx Error occurred with Status code: 401, Message: Could not authenticate, Took: 0.006000, RequestId: xxxxxxx-67a6-42c6-b6e2-xxxxxx
Related[edit]
See also[edit]
Advertising: