make sure the div is rendered before trying to create the chart
updated zenperfsnmp command and ping to use writeMetric instead of writeRRD