Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #Makes an RRD with a 5 minute update interval, a 10 minute heart beat. date is held for 24 hours as AVERAGE, MAX and LAST and 1 year as AVERAGE and MAX
- servers=(10.0.0.1 10.0.0.2 10.0.0.3 10.0.0.4)
- for i in ${servers[@]} ;do
- rrdtool \
- create $i.rrd --step 300 \
- DS:GlobalWhitelist:COUNTER:600:0:U \
- DS:EmergancyBlocked:COUNTER:600:0:U \
- DS:OverideAllow:COUNTER:600:0:U \
- DS:OverideBlock:COUNTER:600:0:U \
- DS:OverideWhitelist:COUNTER:600:0:U \
- DS:BlockedSubnets:COUNTER:600:0:U \
- DS:CorporateSubnets:COUNTER:600:0:U \
- DS:FTPProxy:COUNTER:600:0:U \
- DS:Streaming:COUNTER:600:0:U \
- DS:BlockedURL:COUNTER:600:0:U \
- DS:OverideBlacklist:COUNTER:600:0:U \
- DS:CorpServers:COUNTER:600:0:U \
- RRA:AVERAGE:0.5:1:288 \
- RRA:MAX:0.5:1:288 \
- RRA:LAST:0.5:1:288 \
- RRA:AVERAGE:0.5:12:105408 \
- RRA:MAX:0.5:12:105408
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement