Ad Widget

Collapse

Graphing From Scripts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mozzi
    Junior Member
    • Aug 2007
    • 27

    #1

    Graphing From Scripts

    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
Working...