Created
February 16, 2012 12:01
-
-
Save NetworksAreMadeOfString/1844355 to your computer and use it in GitHub Desktop.
Script for RRDTool tuning of LACP links that were administratively down when Cacti detected them
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for i in `ls -l /var/www/html/rra/ | grep !!!RRDNAME!!! | awk '{print $9}'` | |
do | |
rrdtool tune /var/www/html/rra/$i -a traffic_out=4000000000 && rrdtool tune /var/www/html/rra/$i -a traffic_in=4000000000 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment