![]() See the linux man page (man nc) for more detail on using the nc command.Īnd Squawker will speak this message out loud. On detection that a disk drive has almost reached its capacity. Software running on a Linux server that monitors disk usage could do something like:Įcho "Disk /dev/hda1 is almost full" | nc -q 0 -u squawkermac 3129 The monitored servers use netcat (or similar) to send their messagesĮ.g. It will also optionally record the IP address of the machine sending the message togther with the text of the message in the system log on the receiving Macintosh. Text-to-speech capabilities of a Macintosh to read this message aloud, giving staff an audible alert to possible network or server issues On receiving a message, Squawker then uses the built-in The program listens on a UDP port for messages from various servers on the network. It does not require very much resource from the Macintosh, and will happily run on an older (PPC or Intel) otherwise unused machine. Squawker is a small application I wrote for use in the Network Operations Centre of an ISP where I once worked.
0 Comments
Leave a Reply. |