Simple Network Status Program.
Matthew Carpenter
matt
Mon May 17 11:56:30 PDT 2004
You'd be better off using MRTG or Big Brother, depending on what you want to do. For more in-depth network management, check out OpenNMS.
On Tue, 02 Dec 2003 21:43:55 -0600
Michael Hipp <Michael at hipp.com> wrote:
> James McDonald wrote:
>
> > hosts="host1 host2 host3"
> >
> > for i in $hosts do
> > ping -c2 $i
> > # just guessing about return value here
> > if [ "$?"="0" ] ; then
> > echo "Host $i is UP"
> > else
> > echo "Host $i is DOWN"
> >
> > fi
> > done
>
> A selective nmap might be useful also.
>
> Michael
>
>
> _______________________________________________
> Linux-users mailing list
> Linux-users at smtp.linux-sxs.org
> Unsubscribe/Suspend/Etc -> http://smtp.linux-sxs.org/mailman/listinfo/linux-users
>
>
--
Matthew Carpenter
matt at eisgr.com http://www.eisgr.com/
Enterprise Information Systems
* Network Server Appliances
* Network Consulting, Integration & Support
* Web Integration and E-Business
More information about the Linux-users
mailing list