Skip to content

Instantly share code, notes, and snippets.

@dlgg
Created May 13, 2014 14:32
Show Gist options
  • Select an option

  • Save dlgg/db04cfbc66ba44e205a4 to your computer and use it in GitHub Desktop.

Select an option

Save dlgg/db04cfbc66ba44e205a4 to your computer and use it in GitHub Desktop.

Revisions

  1. dlgg created this gist May 13, 2014.
    2 changes: 2 additions & 0 deletions cacti-1min.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    for i in {1..70}; do php data_template_associate_rra.php --rra='1:2:3:4:5' --data-template-id=$i; done
    mysql cacti -e "update data_template_data SET rrd_step = '60';"