Transcript Autostats

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>
mygw 10.10.16.254 none autostatus@localhost main gateway
%HTML: <TR><td colspan=3><font size="+1"><B>Servers</font></b></TR>
csie www.csie.ncnu.edu.tw mygw autostatus@localhost Is CSIE Alive?
k700i 10.10.16.87 mygw autostatus@localhost Is k700i Alive?
yahoo www.yahoo.com mygw autostatus@localhost Is Yahoo! Alive?
%HTML: <TR><td colspan=3><font size="+1"><B>Services</font></b></TR>
yahoo:http www.yahoo.com yahoo autostatus@localhost Yahoo! serving?
k700i:http 10.10.16.87 k700i autostatus@localhost 87?
csie:http www.csie.ncnu.edu.tw csie autostatus@localhost csie?
similar application


SNMP (Simple Network Management
Protocol)
MRTG