Difference between revisions of "ApiUrl"
Jump to navigation
Jump to search
(Created page with " == See also == * {{lamp.conf}} * {{lamp}} Category:Opsgenie") |
|||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{lc}}<code>apiUrl</code> (lowercase) | ||
+ | * https://docs.opsgenie.com/docs/lamp-command-line-interface-for-opsgenie | ||
+ | [[lamp.conf]] apiUrl (lowercase) | ||
+ | |||
+ | [[opsgenie-lamp listAlerts]] --config ~/.config/lamp.conf | ||
+ | INFO[2024-10-12T14:00:02.083137+02:00] Client is configured with [[ApiUrl]]: https://api.eu.opsgenie.com, RetryMaxCount: 4 | ||
+ | ERRO[2024-10-12T14:00:02.083274+02:00] Could not create request: parse "https://https:%2F%2Fapi.eu.opsgenie.com/v2/alerts": [[invalid port]] | ||
+ | ":%2F%2F[[api.eu.opsgenie.com]]" after host | ||
+ | parse "https://https:%2F%2Fapi.eu.opsgenie.com/v2/alerts": invalid port ":%2F%2Fapi.eu.opsgenie.com" after host | ||
+ | |||
+ | opsgenie-lamp listAlerts --config /Users/user/.config/lamp.conf | ||
+ | INFO[2024-10-12T14:03:06.535396+02:00] Client is configured with ApiUrl: [[api.eu.opsgenie.com]], RetryMaxCount: 4 | ||
+ | ERRO[2024-10-12T14:03:06.861619+02:00] [[Error occurred with Status code: 401, Message: Could not authenticate]], Took: 0.007000, RequestId: 00ce37ea-3282-4cb9-b61c-39b39be78595 | ||
+ | Error occurred with Status code: 401, Message: Could not authenticate, Took: 0.007000, RequestId: 00ce37ea-3282-4cb9-b61c-39b39be78595 | ||
+ | |||
+ | |||
+ | |||
+ | [[api.opsgenie.com]] | ||
+ | [[api.eu.opsgenie.com]] | ||
+ | |||
+ | [[Incorrect Usage: flag provided but not defined: -apiURL]] | ||
+ | |||
+ | [[opsgenie-lamp --version]] | ||
== See also == | == See also == |
Latest revision as of 09:08, 21 October 2024
apiUrl
(lowercase)
lamp.conf apiUrl (lowercase)
opsgenie-lamp listAlerts --config ~/.config/lamp.conf INFO[2024-10-12T14:00:02.083137+02:00] Client is configured with ApiUrl: https://api.eu.opsgenie.com, RetryMaxCount: 4 ERRO[2024-10-12T14:00:02.083274+02:00] Could not create request: parse "https://https:%2F%2Fapi.eu.opsgenie.com/v2/alerts": invalid port ":%2F%2Fapi.eu.opsgenie.com" after host parse "https://https:%2F%2Fapi.eu.opsgenie.com/v2/alerts": invalid port ":%2F%2Fapi.eu.opsgenie.com" after host
opsgenie-lamp listAlerts --config /Users/user/.config/lamp.conf INFO[2024-10-12T14:03:06.535396+02:00] Client is configured with ApiUrl: api.eu.opsgenie.com, RetryMaxCount: 4 ERRO[2024-10-12T14:03:06.861619+02:00] Error occurred with Status code: 401, Message: Could not authenticate, Took: 0.007000, RequestId: 00ce37ea-3282-4cb9-b61c-39b39be78595 Error occurred with Status code: 401, Message: Could not authenticate, Took: 0.007000, RequestId: 00ce37ea-3282-4cb9-b61c-39b39be78595
api.opsgenie.com api.eu.opsgenie.com
Incorrect Usage: flag provided but not defined: -apiURL
opsgenie-lamp --version
See also[edit]
Advertising: