Check a system with probes
A probe checks a system for you at a fixed interval, without an end date. Hyground starts an Auto RCA only when the probe starts to fail.
What does a probe do?
A probe is a short script. Hyground runs it at the interval of the probe, from 1 minute to 24 hours. The agent does not take part in a run that passes.
When the probe starts to fail, Hyground starts one Auto RCA. See Sessions Hyground starts.
The Auto RCA gets the What it checks, Schedule, Investigation prompt, and Script values of the probe. It also gets the output of the script. Of a long output, it gets the start and the end. It gets the times of the failed run and of the last run that passed.
A probe that keeps failing starts no second Auto RCA. After a run that passes, the next failure starts a new Auto RCA. A failure in the first run of a new probe, or of a probe you turned on again, also starts an Auto RCA.
Probe, schedule, or watch?
All three repeat a check. Choose by what must happen on each check.
| You want | Use |
|---|---|
| A short check all the time, and an Auto RCA only when it starts to fail | A probe |
| A session with the agent at planned times, whatever it finds | A schedule |
| A repeated check inside one session, for at most 24 hours | A watch |
A probe suits a condition that a script decides in a few seconds. Examples are an endpoint that must answer, or a certificate that must not expire soon.
Ask the agent for a probe
Describe the check and the interval in a session. An example message:
Check every 10 minutes that the payments API answers in under 800 ms.
The agent writes the script and runs it once in the session. It then repeats the name, the interval, the prompt, and the script, and waits for your confirmation. Confirm the probe in your next message.
Ask the agent in the same way to change or delete a probe. The web UI has no delete for a probe. You cannot undo a delete.
You can ask the agent what a probe is, or how it differs from a schedule. You can also ask which probes your installation has, for example:
Which probes do we have?
To create, change, and delete probes, your role needs the right to do so. See What are you allowed to do?.
In Slack, Microsoft Teams, or email, the agent cannot create, change, or delete a probe. The same applies in a session that Hyground starts. Ask in a session in the web UI instead.
Every user of your installation can read every probe, including its script. Write nothing into a probe that other users must not read.
Where are the probes?
- Click the Session Scheduler icon in the left navigation.
- Click Probes in the Session Scheduler panel.
The Probes page shows three counts: Failing, Passing, and Not running. The table under them lists every probe with its Status, Schedule, Last run, and Next run.
A red banner names each probe that fails, and since when. Click Open investigation in the banner to open its Auto RCA.
Type in the Search probes box to see only the probes whose name or description contains your text.
Read a probe
- Open the Probes page.
- Click the row of the probe. The detail page opens.
The Details card shows What it checks, Schedule, Runs as, Investigation prompt, and Last changed. The Investigations card lists the Auto RCAs that the probe started. The Script card shows the script. The Enabled switch is also on this page.
An Auto RCA that a probe started names the probe. Click the name to open the detail page of the probe.
Turn a probe off and on
- Open the Probes page.
- Turn off the switch in the Enabled column of the probe.
Hyground does not run the probe while it is off. Its Status then reads Disabled, and Hyground does not keep its last result. Turn the switch on again to run the probe again.
When the agent saves a change to a probe, the probe is on again.
A probe that a mission manages has an inactive switch. Turn it off and on on the page of the mission.
Whose access does a probe use?
A probe runs with the access of the user who last changed it. Runs as on the detail page names that user.
When that user no longer exists or lost the right to manage probes, you cannot turn the probe on. Ask the agent to save the probe again. The probe then runs with your access.