In certain circumstances, OSPatrol may not alert on disconnected agents. By putting this line in root's crontab(1), an alert will be sent for any disconnected agents, but only if there is at least one:
Replace the path to OSPatrol and the e-mail address with values suitable to your installation.
- This needs to be done as root, however since OSPatrol will immediately chroot and drop privileges the software executes it safely. It will run every fifteen minutes. Adjust to suit your own tolerance. This is one line; watch for wrapping.