Deleting old comments

Daniel Wittenberg daniel.wittenberg.r0ko at statefarm.com
Mon Aug 15 16:42:46 CEST 2011


I have seen cases where there can be enough comments to start slowing the interface down considerably.  We have a script that removes them if they are > 30 days old or more than X number per host. 

Dan

-----Original Message-----
From: William Muriithi [mailto:w.muriithi at syncapse.com] 
Sent: 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 past performance.

William



On 11-08-10 2:10 PM, "Jim Avery" <jim at jimavery.me.uk> wrote:

>f 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!


------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. 
http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list