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

From wikieduonline
Jump to navigation Jump to search
(Created page with " == See also == * {{opsgenie-lamp}} Category:Opsgenie")
 
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
  
  
 +
[[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 ==
 +
* <code>[[~/.config/lamp.conf]]</code>
 +
* <code>[[opsgenie-lamp listAlerts]]</code>
 +
* <code>[[apiKey]]</code>
  
 
== See also ==
 
== See also ==
 +
* {{lamp.conf}}
 
* {{opsgenie-lamp}}
 
* {{opsgenie-lamp}}
  
 
[[Category:Opsgenie]]
 
[[Category:Opsgenie]]

Latest revision as of 09:06, 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[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: