Difference between revisions of "~/.config/lamp.conf"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
Official example: | Official example: | ||
https://github.com/opsgenie/opsgenie-lamp/blob/master/conf/lamp.conf | https://github.com/opsgenie/opsgenie-lamp/blob/master/conf/lamp.conf | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | ############## Use following settings options for connection to OpsGenie server############ | + | [[apiKey]]=your_api_key |
− | ##connectionTimeout=50 | + | ######################################## LAMP CONFIGURATION ################################################## |
− | ##requestTimeout=100 | + | # user=<user> |
− | + | ############## Use following configuration options if you use lamp behind a proxy ############ | |
− | ############## Use alternative urls for connection to EU / Sandbox server############ | + | ## proxyHost=<proxy_host> |
− | ## opsgenie.api.url=https://api.eu.opsgenie.com | + | ## proxyPort=<proxy_port> |
− | ## opsgenie.api.url=https://api.sandbox.opsgenie.com | + | ## proxyUsername=<proxy_username> |
− | + | ## proxyPassword=<proxy_password> | |
+ | ## proxyProtocol=http | ||
+ | |||
+ | ############## Use following settings options for connection to OpsGenie server############ | ||
+ | ##connectionTimeout=50 | ||
+ | ##requestTimeout=100 | ||
+ | |||
+ | ############## Use alternative urls for connection to EU / Sandbox server############ | ||
+ | ## opsgenie.api.url=https://api.eu.opsgenie.com | ||
+ | ## opsgenie.api.url=https://api.sandbox.opsgenie.com | ||
Revision as of 12:08, 1 October 2024
~/.config/lamp.conf
Official example:
https://github.com/opsgenie/opsgenie-lamp/blob/master/conf/lamp.conf
apiKey=your_api_key ######################################## LAMP CONFIGURATION ################################################## # user=<user> ############## Use following configuration options if you use lamp behind a proxy ############ ## proxyHost=<proxy_host> ## proxyPort=<proxy_port> ## proxyUsername=<proxy_username> ## proxyPassword=<proxy_password> ## proxyProtocol=http ############## Use following settings options for connection to OpsGenie server############ ##connectionTimeout=50 ##requestTimeout=100 ############## Use alternative urls for connection to EU / Sandbox server############ ## opsgenie.api.url=https://api.eu.opsgenie.com ## opsgenie.api.url=https://api.sandbox.opsgenie.com
apiKey Can not create the alert client. API key cannot be blank.
Related
opsgenie-lamp createAlert --message "host down"
See also
Advertising: