100 likes | 119 Views
autostatus. Graduate Student: Yan-Shiang Wang Adviser: Quincy Wu. outline. work principle install and operate similar application. what is autostatus ?. network and server monitoring program speed efficiency accuracy dependency http://www.angio.net/consult/autostatus/.
E N D
autostatus Graduate Student: Yan-Shiang Wang Adviser: Quincy Wu
outline • work principle • install and operate • similar application
what is autostatus ? • network and server monitoring program • speed • efficiency • accuracy • dependency • http://www.angio.net/consult/autostatus/
work principle • ICMP (Internet Control Message Protocol) • fping
ICMP(Internet Control Message Protocol) • error detect and response • ensure the network connecting state and accuracy • deliver by IP • Echo Request/Reply type=8/0 ex: ping • Destination Unreachable type=3 • Source Quench type=4 • Routing redirect type=5 • Time Exceeded type=11 ex: traceroute • IP header error type=12 • Address Mask Request/Reply type=17/18
fping • a ping(1) like program which uses the ICMP echo request to determine if a host is up. • you can specify any number of hosts on the command line, or specify a file containing the lists of hosts to ping. • fping will send out a ping packet and move on to the next host in a round-robin fashion. • fping -A :show systems that are alive even DNS name • fping -c # :echo number of request packets • fping -d :input a ip address and print hostnames • fping -e :show round-trip time of packet • fping -q :just show exit status
install and operate • perl5.0 required • fping required • tar zxvf autostats-1.2.1.tar.gz • make install clean • edit configure file • edit hosts file • run
configure file • statusfile /home/autostatus/local.status • hostfile /home/autostatus/local.hosts • baseurl http://10.10.16.87/~autostatus/autostatus • iconurl http://10.10.16.87/~autostatus/icons • outpage /home/autostatus/public_html/index.html • email root@localhost • emerg root@localhost • content_subject on
hosts file • %HTML: <TR><td colspan=3><font size="+1"><B>Routers</font></b></TR> • mygw10.10.16.254noneautostatus@localhostmain gateway • %HTML: <TR><td colspan=3><font size="+1"><B>Servers</font></b></TR> • csiewww.csie.ncnu.edu.twmygwautostatus@localhostIs CSIE Alive? • k700i10.10.16.87mygwautostatus@localhostIs k700i Alive? • yahoowww.yahoo.commygwautostatus@localhostIs Yahoo! Alive? • %HTML: <TR><td colspan=3><font size="+1"><B>Services</font></b></TR> • yahoo:httpwww.yahoo.comyahooautostatus@localhostYahoo! serving? • k700i:http10.10.16.87k700iautostatus@localhost87? • csie:httpwww.csie.ncnu.edu.twcsieautostatus@localhostcsie?
similar application • SNMP (Simple Network Management Protocol) • MRTG