We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
With version 2.7.0 and older I created and closed alarms with alias.
This is not possible since version 3.X. Since version 3.x the parameter alias is no longer available in closeAlert Although it is documented like this: https://docs.opsgenie.com/docs/lamp-command-line-interface-for-opsgenie#close-alert-command Example: opsgenie-lamp closeAlert --apiKey ab5454992-fabb2-4ba2-ad44f-1af65ds8b5c079 --alias appserver3Down
ERROR: "Error occured while executing command: flag provided but not defined: -alias"
Point two: When I download the latest version (https://s3-us-west-2.amazonaws.com/opsgeniedownloads/repo/opsgenie-lamp-3.8.0.zip) and I display the version, it says: "lamp version 3.2.0".
The text was updated successfully, but these errors were encountered:
same experience. --alias is not working on closeAlert and getAlert on version 3.X. Downloaded version 3.1.4
Sorry, something went wrong.
Hi there!
If you are wanting to close an alert using the Alias the correct format is the following -
opsgenie-lamp closeAlert --apiKey ab5454992-fabb2-4ba2-ad44f-1af65ds8b5c079 --identifier=alias --id appserver3Down
I understand our documentation says otherwise, we are currently in the works of updating this.
Thanks, Connor
Hello, any progress on this issue to properly address it ?
No branches or pull requests
Hi,
With version 2.7.0 and older I created and closed alarms with alias.
This is not possible since version 3.X.
Since version 3.x the parameter alias is no longer available in closeAlert
Although it is documented like this:
https://docs.opsgenie.com/docs/lamp-command-line-interface-for-opsgenie#close-alert-command
Example:
opsgenie-lamp closeAlert --apiKey ab5454992-fabb2-4ba2-ad44f-1af65ds8b5c079 --alias appserver3Down
ERROR: "Error occured while executing command: flag provided but not defined: -alias"
Point two:
When I download the latest version (https://s3-us-west-2.amazonaws.com/opsgeniedownloads/repo/opsgenie-lamp-3.8.0.zip) and I display the version, it says: "lamp version 3.2.0".
The text was updated successfully, but these errors were encountered: