Difference between revisions of "Opsgenie-lamp listAlerts"
Jump to navigation
Jump to search
↑ https://docs.opsgenie.com/docs/lamp-command-line-interface-for-opsgenie
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
− | opsgenie-lamp listAlerts | + | [[opsgenie-lamp]] listAlerts --[[apiKey]]="b1111243a-15111-436f-ac1e-b311111a" |
− | |||
− | |||
[[opsgenie-lamp]] listAlerts --message "host down" [[--config]] /opt/conf/myConfigurationFile.conf <ref>https://docs.opsgenie.com/docs/lamp-command-line-interface-for-opsgenie</ref> | [[opsgenie-lamp]] listAlerts --message "host down" [[--config]] /opt/conf/myConfigurationFile.conf <ref>https://docs.opsgenie.com/docs/lamp-command-line-interface-for-opsgenie</ref> | ||
Line 9: | Line 7: | ||
[[opsgenie-lamp listAlerts --config ~/.config/lamp.conf]] | [[opsgenie-lamp listAlerts --config ~/.config/lamp.conf]] | ||
− | + | == Errors == | |
− | + | opsgenie-lamp listAlerts | |
+ | [[Can not create the alert client. API key cannot be blank.]] | ||
== Related == | == Related == | ||
* <code>[[opsgenie-lamp CreateAlert]]</code> | * <code>[[opsgenie-lamp CreateAlert]]</code> | ||
+ | * <code>[[apiUrl]]</code> | ||
== See also == | == See also == |
Latest revision as of 10:25, 21 October 2024
opsgenie-lamp listAlerts --apiKey="b1111243a-15111-436f-ac1e-b311111a"
opsgenie-lamp listAlerts --message "host down" --config /opt/conf/myConfigurationFile.conf [1]
opsgenie-lamp listAlerts --config ~/.config/lamp.conf
Errors[edit]
opsgenie-lamp listAlerts Can not create the alert client. API key cannot be blank.
Related[edit]
See also[edit]
lamp.conf, apiKey=, apiUrl
, https://app.opsgenie.com/auth/login?targetUri=/settings/integration/add/API- OpsGenie:
opsgenie-lamp [ listAlerts | createAlert | closeAlert | getAlert, --help ], ~/.config/lamp.conf, apiKey, --help
Advertising: