Site map
For this you need RRDtool and the scripts below;
And a cron job;
# Ping graph */5 * * * * /path/to/get_ping_values > /dev/null
Edit to suit your needs.