Can not create the alert client. API key cannot be blank.

From wikieduonline
Revision as of 08:59, 21 October 2024 by Welcome (talk | contribs) (→‎Related)
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

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

See also

Advertising: