|
|
| Author |
Message |
adjacent
Joined: 14 Jul 2004 Posts: 10 Location: Beaufort, SC
|
Posted: Wed Jul 28, 2004 10:19 am Post subject: Script to repair spikes in all your .rrd files at once |
|
|
This is a little Bash script I threw together that uses removespikes.pl to fix all the spikes in your graphs. It is useful to run nightly or weekly to fix spikes caused by power outages, and device reboots.
I doubt I'm the only one who made a script like this, so if you have a more elegant solution please let us know. Happy graphing!
Scott
| Description: |
| Make sure to make this script chmod +x |
|
 Download |
| Filename: |
fix_all_spikes.txt |
| Filesize: |
703 Bytes |
| Downloaded: |
1342 Time(s) |
|
|
| Back to top |
|
 |
Ghandi Cacti User
Joined: 04 May 2004 Posts: 73 Location: Graz / Austria
|
Posted: Thu Jul 29, 2004 8:07 am Post subject: |
|
|
is there a script "commander" available that is so good and can programm this script for windows? that were very helpfull for me, and i think for lot others to
one question, when i reboot devices i get the spike, ok, i understand why, BUT... today i reboot one of our 5 citrix servers.. and i get no spike.. then i reboot it again for watching what happened... and i get again no spike.. hmm... why? why i get no spike when i reboot this server... on all others spike will shown.. but not for this one...
greetings..
|
|
| Back to top |
|
 |
adjacent
Joined: 14 Jul 2004 Posts: 10 Location: Beaufort, SC
|
Posted: Thu Jul 29, 2004 9:04 am Post subject: |
|
|
| Sorry, I'm Windows illiterate, but I think there are utilities out there to convert bash scripts to batch files. About the spikes you are getting, or not getting. It has to do with the counters used by cacti and how they roll over. But, there are alot of threads about this so I want waste anymore bandwidth on it.
|
|
| Back to top |
|
 |
Ghandi Cacti User
Joined: 04 May 2004 Posts: 73 Location: Graz / Austria
|
Posted: Thu Jul 29, 2004 9:21 am Post subject: |
|
|
ok, thanks for your info.. i will search the forum.. and a tool for bash-batch files!
thx
|
|
| Back to top |
|
 |
|