Polling poller debug (#14691)

* Add poller_name to debug

* Documentation

* Clarify debug output var is for traceroute.

* Fix -hopefully

* StyleCI
This commit is contained in:
electrocret
2022-12-15 21:48:43 -06:00
committed by GitHub
parent 8ea3f5cd06
commit 07e2ce5fc1
2 changed files with 8 additions and 5 deletions

View File

@@ -64,9 +64,11 @@ been up for 30344 seconds`.
- ping min (if icmp enabled): `$alert->ping_min`
- ping max (if icmp enabled): `$alert->ping_max`
- ping avg (if icmp enabled): `$alert->ping_avg`
- debug (array) If `$config['debug']['run_trace] = true;` is set then this will contain:
- traceroute (if enabled you will receive traceroute output): `$alert->debug['traceroute']`
- output (if the traceroute fails this will contain why): `$alert->debug['output']`
- debug (array)
- poller_name - name of poller (for distributed setups)
- If `$config['debug']['run_trace] = true;` is set then this will contain:
- traceroute (if enabled you will receive traceroute output): `$alert->debug['traceroute']`
- traceroute_output (if the traceroute fails this will contain why): `$alert->debug['output']`
- Title for the Alert: `$alert->title`
- Time Elapsed, Only available on recovery (`$alert->state == 0`): `$alert->elapsed`
- Rule Builder (the actual rule) (use `{!! $alert->builder !!}`): `$alert->builder`