.TH ATMON 8 "October 1993" "USGS Local" .SH NAME atmon \- monitor AppleTalk device status using CAP .SH SYNOPSIS .I /usr/local/cap/usgs/atmon ATname mailaddress... .SH DESCRIPTION .I atmon uses the AppleTalk NBP protocol to monitor the up or down status of an AppleTalk device. .I atmon is a shell script that uses the .IR atlook (1) command supplied with CAP (Columbia AppleTalk Package) to \*(lqping\*(rq the AppleTalk name specified. .PP If the device is down when .I atmon checks, mail is sent to the users specified. If the device comes back up when .I atmon checks, more mail is sent to the users specified. .PP You should use the .I getzones and .I atlook CAP commands to get the exact names of devices. .SH EXAMPLE Let's say you want to monitor a laser printer named \*(lqBic\*(rq in a zone named \*(lqRed\*(rq, and send mail to \*(lqringo\*(rq on the local host and \*(lqpaul@walrus\*(lq on a remote computer. .PP Make an entry in .I crontab that looks like (all on one line): .PP 1,31 * * * * atmon Bic:LaserWriter@Red ringo paul@walrus .PP This entry will check the up/down status of \*(lqBic\*(rq every 30 minutes. .SH LIMITATIONS Created and tested on SunOS 4.1.3 with CAP 6 pl 126 .SH SEE ALSO CAP manuals, crontab(1), ping(8) .SH AUTHOR Rex Sanders, US Geological Survey, Pacific Marine Geology .br US Government work in the public domain.