Ok, I've written the script and submitted it to Nagios Exchange - it
should appear there in the next few days. I doubt it's the prettiest
code you've seen as this is probably the first perl script I've
written from scratch but it works pretty well (for me anyway - ymmv).
I haven't yet tried to
: Thursday, August 11, 2011 9:18 AM
To: Nagios Users List
Subject: Re: [Nagios-users] Deleting old comments
Jim,
Why would you want to delete old comments against a host? I usually like
them, as it can help identify a recurring problem on the hardware.
Generally, it's a documentation of the hardware
Jim,
Why would you want to delete old comments against a host? I usually like
them, as it can help identify a recurring problem on the hardware.
Generally, it's a documentation of the hardware past performance.
William
On 11-08-10 2:10 PM, Jim Avery j...@jimavery.me.uk wrote:
f way through
On 11 August 2011 15:17, William Muriithi w.murii...@syncapse.com wrote:
Jim,
Why would you want to delete old comments against a host? I usually like
them, as it can help identify a recurring problem on the hardware.
Generally, it's a documentation of the hardware past performance.
I'm about half way through writing a perl script to delete old
comments (more than n days old) from Nagios. Before I spend more time
on it though, if anyone else already has something that does that,
please shout!
--