Difference between revisions of "~/.config/lamp.conf"

From wikieduonline
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
  [[~/.config/]]lamp.conf
 
  [[~/.config/]]lamp.conf
  
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
+
<pre>
+
[[apiKey]]=your_api_key
apiKey=your_api_key
+
######################################## LAMP CONFIGURATION ##################################################
######################################## LAMP CONFIGURATION ##################################################
+
# user=<user>
# user=<user>
+
############## Use following configuration options if you use lamp behind a proxy ############
############## Use following configuration options if you use lamp behind a proxy ############
+
## proxyHost=<proxy_host>
## proxyHost=<proxy_host>
+
## proxyPort=<proxy_port>
## proxyPort=<proxy_port>
+
## proxyUsername=<proxy_username>
## proxyUsername=<proxy_username>
+
## proxyPassword=<proxy_password>
## proxyPassword=<proxy_password>
+
## proxyProtocol=http  
## 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
  
############## Use following settings options for connection to OpsGenie server############
 
##connectionTimeout=50
 
##requestTimeout=100
 
  
############## Use alternative urls for connection to EU / Sandbox server############
+
== Errors ==
## opsgenie.api.url=https://api.eu.opsgenie.com
+
* <code>[[Can not create the alert client. API key cannot be blank.]]</code>
## opsgenie.api.url=https://api.sandbox.opsgenie.com
 
</pre>
 
 
 
 
 
[[apiKey]]
 
[[Can not create the alert client. API key cannot be blank.]]
 
  
 
== Related ==
 
== Related ==
* <code>[[opsgenie-lamp createAlert]] --message "host down"</code>
+
* <code>[[apiKey]], [[apiUrl]]</code>
 +
* <code>[[opsgenie-lamp createAlert --message "host down" --config /opt/conf/myConfigurationFile.conf]]</code>
  
 
== See also ==
 
== See also ==
 +
* {{lamp.conf}}
 
* {{lamp}}
 
* {{lamp}}
  
 
[[Category:Opsgenie]]
 
[[Category:Opsgenie]]

Latest revision as of 09:00, 21 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


Errors[edit]

Related[edit]

See also[edit]

Advertising: