On 2 Nov 2005 15:45:59 -0800,
(E-Mail Removed) wrote:
> I am remotely monitoring a snort box with 5 interfaces. One interface
> has an IP address, and 4 don't. I need a way to periodically determine
> if all interfaces are working. I know I can just ping the one with the
> IP address, but how do I confirm if the other 4 are working?
Cron script does a ping broadcast for each nic's group and emails you
failures and/or does an xmessage -disp your_ip:0 "nic X failure" &
If boxes refuse/drops broadcasts, ping each node for one pass then
goto next nic.
Scripting command refresher docs found here, if needed.
! bash script introduction documentation
http://tldp.org/LDP/intro-linux/html/index.html
! bash script advanced documentation
http://tldp.org/LDP/abs/html/index.html