You hardly need a script to do that:<br><br>$ find $XYMONHOME/data/rrd -type -f -mtime +7 -print <br><br>will do that job. After that you can run:<br><br>$ find $XYMONHOME/data/rrd -type f -mtime +7 -exec rm -f {} \; -print<br>
<br>to get rid of them.<br><br>Thanks,<br>Larry Barber<br><br><div class="gmail_quote">On Fri, Jun 22, 2012 at 12:39 AM, W.J.M. Nelis <span dir="ltr"><<a href="mailto:Wim.Nelis@nlr.nl" target="_blank">Wim.Nelis@nlr.nl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I've been playing around with my graphs on the trends page by tweaking<br>
the analysis.cfg file.  It seems now, that I have lines stuck on my<br>
graphs that no longer exist.  I'm also seeing that I have 3 different<br>
"Network Ports" graphs. How do I clean these up so only real graphs are<br>
displaying?<br>
</blockquote></div>
Perhaps <a href="http://xymonton.org/addons:finit" target="_blank">http://xymonton.org/addons:<u></u>finit</a> is what you are looking for. Script <a href="http://finit.pl" target="_blank">finit.pl</a> (an acronym for FINd_Inactive_Tests) creates a list of RRDs which are not updated for at least a week.<br>

<br>
Regards,<br>
  Wim Nelis.<br>
<br>
<br>
<br>
<br>
******************************<u></u>******************************<u></u>******************************<u></u>************************<br>
<br>
The NLR disclaimer is valid for NLR e-mail messages.<br>
<br>
This message is only meant for providing information. Nothing in this e-mail message amounts to a contractual<br>
or legal commitment on the part of the sender.<br>
This message may contain information that is not intended for you. If you are not the addressee or if this<br>
message was sent to you by mistake, you are requested to inform the sender and delete the message.<br>
Sender accepts no liability for damage of any kind resulting from the risks inherent in the electronic<br>
transmission of messages.<br>
<br>
******************************<u></u>******************************<u></u>******************************<u></u>************************<div class="HOEnZb"><div class="h5"><br>
<br>
______________________________<u></u>_________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/<u></u>mailman/listinfo/xymon</a><br>
</div></div></blockquote></div><br>