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
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 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 iconurl outpage /home/autostatus/public_html/index.html emerg content_subject on
hosts file %HTML: Routers mygw none main gateway %HTML: Servers csie mygw Is CSIE Alive? k700i mygw Is k700i Alive? yahoo mygw Is Yahoo! Alive? %HTML: Services yahoo:http yahoo Yahoo! serving? k700i:http k700i 87? csie:http csie csie?
similar application SNMP (Simple Network Management Protocol) MRTG