10
autostatus Graduate Student: Yan-Shiang Wang Adviser: Quincy Wu

Autostatus Graduate Student: Yan-Shiang Wang Adviser: Quincy Wu

Embed Size (px)

Citation preview

Page 1: Autostatus Graduate Student: Yan-Shiang Wang Adviser: Quincy Wu

autostatus

Graduate Student: Yan-Shiang Wang

Adviser: Quincy Wu

Page 2: Autostatus Graduate Student: Yan-Shiang Wang Adviser: Quincy Wu

outline

work principle install and operate similar application

Page 3: Autostatus Graduate Student: Yan-Shiang Wang Adviser: Quincy Wu

what is autostatus ?

network and server monitoring program

speed efficiency accuracy dependency http://www.angio.net/consult/autostatus/

Page 4: Autostatus Graduate Student: Yan-Shiang Wang Adviser: Quincy Wu

work principle

ICMP (Internet Control Message Protocol) fping

Page 5: Autostatus Graduate Student: Yan-Shiang Wang Adviser: Quincy Wu

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

Page 6: Autostatus Graduate Student: Yan-Shiang Wang Adviser: Quincy Wu

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

Page 7: Autostatus Graduate Student: Yan-Shiang Wang Adviser: Quincy Wu

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

Page 8: Autostatus Graduate Student: Yan-Shiang Wang Adviser: Quincy Wu

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

Page 9: Autostatus Graduate Student: Yan-Shiang Wang Adviser: Quincy Wu

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 Aliv

e? 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! ser

ving? k700i:http  10.10.16.87  k700i  autostatus@localhost  87? csie:http  www.csie.ncnu.edu.tw  csie  autostatus@localhost  csie?

Page 10: Autostatus Graduate Student: Yan-Shiang Wang Adviser: Quincy Wu

similar application

SNMP (Simple Network Management Protocol)

MRTG