Troubleshooting

A Linux server runs a backup script nightly that finishes in about 20 seconds. The monitoring system polls the server once a minute and often misses whether the job succeeded or failed. Which method BEST captures every result?

Show the answer

Correct answerD. Have the script send its result to the monitoring system when it finishes

A short-lived job is best reported by pushing its outcome to the monitoring system on completion, so no result depends on poll timing. Faster polling is wasteful and still misses events, and ping only shows the host is reachable, not job status.