Difference between revisions of "Can not create the alert client. API key cannot be blank."

From wikieduonline
Jump to navigation Jump to search
Line 14: Line 14:
 
* <code>[[~/.config/lamp.conf]]</code>
 
* <code>[[~/.config/lamp.conf]]</code>
 
* <code>[[opsgenie-lamp listAlerts]]</code>
 
* <code>[[opsgenie-lamp listAlerts]]</code>
 +
* [[apiKey]]
  
 
== See also ==
 
== See also ==

Revision as of 08:59, 21 October 2024


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: