Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

It is possible to open a URL (POST/GET/PUT/DELETE) call and send information which was detected in the monitor execution.

For example, it can be used for sending alerts to BigPanda:

...

Advanced Json:

{
"status": "critical",
"host": "Xpolog-Dublin",
"check": "[MONITOROpens an incident in a PagerDuty's service(s) - make sure you have configured the required PagerDuty settings in XpoLog.

...

PagerDuty alert can be customized further. In order to send specific details to PagerDuty in the alert section, under Advanced section - Custom Fields you may enter a JSON with desired values.

Example:

{

"alertDefinition" : {

"payload": {

"severity": "info",
"summary" : "[MONITOR_NAME]",
"custom_details": {
"timestamp": "[Date]",
"source-log": "[LOG_NAME]",
"

...

source-node": "[

...

HOST_

...

NAME]",
"component": "log",
"

...

domain": "

...

[APPTAGS]",
"

...

message": "

...

[Message]",
"

...

query": "[SEARCH_

...

QUERY]"
}

},
"links": [

{

"text": "XPLG Zoom-In Link"

}

]

},
"conf" : {}

}