PDA

View Full Version : Graphing From Scripts


mozzi
04-09-2007, 16:47
Hallo all

How do I graph the output of a bash script?
Need to pull certain data from a devices cgi script and then graph it, script will be on same box as zabbix
e.g:
root@mozzi:~# curl -s http://192.168.69.25:8000/cgi-bin/stats.cgi | egrep -e "blocked" | sed s/[^0-9]//g | head -1

root@mozzi:~# 349655

How do I get that value in?

Mozzi