how-to · watch Open this in the console

Require every part of a check.

Health › checks, then raw JSON. The menu adds one test at a time. The document can require several, and it can name the alert.

The message is the alert text. {hostname} and {failed} are filled in by the agent when the check fails.
01

Open raw JSON and write all

Open the machine, then health › checks, and open raw JSON. all is a list. Here the S: drive must be mapped to the accounts share, and Reception PC must be able to reach 10.1.1.10 on port 445. Both are judged. The check fails when either one fails. message is what the alert says. any is the other list: the check passes when one part passes, and fails only when every part fails. not wraps a single check and passes when that check fails.

Checks editor with raw JSON requiring a mapped drive and a reachable share
Reception PC. The JSON requires the mapped drive and the share. Use this JSON has not been pressed.
02

Use this JSON, then push

Press use this JSON. The check appears in the list as all. Push to agent is the next click, and it asks you to confirm. Push replaces the whole document. This shot stops before that, so nothing has been sent. When the letter is missing or the share does not answer, the alert uses the message, with the machine name and which part failed.

Checks list with an all check for the mapped drive and the share, not yet pushed
S: drive is there and the share answers is on the list. Push has not been pressed.

Push is a two-step button. The agent must be online to evaluate. You can still edit the document while it is offline and it applies at the next hello. A window around one check is Only check during working hours. The drive on its own is Check that a drive is mapped.