I have a script that loads in the status and comments.dat file, and
looks for any services that are OK, that have acknowlege comments
associated with them, and the give the option to delete.
I don't consider this ready for prime time, so I havent thought about
putting it up on nagios exchange yet. But you are free to try to adapt
it.
Rename to complean.tar.gz, Unzip, untar, edit for your paths, and run
comclean.pl
-Andrew
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf
> Of ankush grover
> Sent: Friday, January 26, 2007 9:14 AM
> To: Nagios Users Mailinglist
> Subject: [Nagios-users] removing acknowledge comments
> associated with theservices or host from nagios
>
> hi friends,
>
> I have configured Nagios 2.6 in a Production Environment.
> There are about 200 servers and about 1000 services which are
> being monitored by nagios.
>
> I want to remove acknowledge comments associated with the
> hosts or services is there any command through which I can
> achieve this.
>
>
> Thanks & Regards
>
>
> Ankush Grover
>
> --------------------------------------------------------------
> -----------
> Take Surveys. Earn Cash. Influence the Future of IT Join
> SourceForge.net's Techsay panel and you'll get the chance to
> share your opinions on IT & business topics through brief
> surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge
> &CID=DEVDEV
> _______________________________________________
> Nagios-users mailing list
> [email protected]
> 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
>
--
_________________________________________________________
This communication is intended only for the addressee(s) and may contain
confidential information. We do not waive any confidentiality by misdelivery.
If you receive this communication in error, any use, dissemination, printing or
copying is strictly prohibited; please destroy all electronic and paper copies
and notify the sender immediately.
nºE complean.tar íXQoÛ6Ϋõ+®²Ù+ IvH¼-XÛ[EMAIL
PROTECTED];æ?·ýgcËÙÝÝk;ûíý=ßj;;ÛÎYd´¹ÝUºSw(üÕ|·Ñi&mÇÑjß¿¡Óª¹Zß
E4µª_B!e&ËþÈ
XXÙÔkÔiBm(.çãÁëþ¡eUPøPÿéìM§ 6óØ
"zì×ÿ!fQÀíЪ0òk"!ÞK9ÆÑÁ4¨wÈ
O'$zC÷¥>{¡ôX<'®¨^m"±L])ñ;<?»Û{þ¦Aö|¼òH¸
ÔÙº-BUlÁ$
ôá¯Lj}¬¶û=ù¬ÆCØ«·ê½îóôµVRkØ84ZY7§R©e
[Ü'|úHR`ÔóÁ{GõÍg¶9ůmìö0(äIøâxQÛJa%ø³^·ù7å-´Â£«¢ÕUèøCF Å
ö?u0a2ý=;ñ7Ø´ÙvÕð®}WdÉľïÎ0~¶z¸[¼ì*$S´'Ä
ÈÃ4ÇÊÚÇr¸7¢Y.¯Y4F(ä
òBZ3òÚ{À¢vù¤R_5/M_0½Æä<Øz/qNç³ÐãÁ¾Ü
{7ÜÙBspøÝÿdºÚâ«Ph7·¯¬(w9¡9pÁ_
Oâ wv:x´8¼Ëy,¤¥ò©O̧;5G¤Ý9É?:æªÃxaTëqäi"[EMAIL PROTECTED]
¯¡¥`[ ªèuAå8rsT.Ñw°)ß«èh^»)¶C%q_;)Ý<{&VÈ éôfpÕ5CY°^
]LÒCW{WâÔÒÃVH6<é¡y¾^ÚZúNÒÈZòãci
Bf.Ip.é
.J "&£©`YIÀÚZy÷ýiçâãäÅÅùÅ4«üÊ¿ÞuDò¦ÓWRÜë¡)[EMAIL
PROTECTED]&m©²¶Ôi{mZäݪèËH7ä däÚ¾%Ë
÷ÊÐïɽ²J×ùÞ=,«{V®q®¦¹³PºgMâ&È5Ê5²ÐþmuX ¬*+0Ôh¦YIVõêë/ÌÉV¿ßywÚï[Ö÷¾Fÿo.é`*\3>zÿÙßÝ]õþÓnïîñûÏîþöγCï?;û8öøþóðú$ÿ Tµ¬9EñÁÁÀÇØO#¾~*ÄsG©t¤ùJtt
vë³µ¦Á¸
^ [EMAIL PROTECTED] YÒÕ[EMAIL PROTECTED]
)V²Äf*&>/ê
&Mºõ<²Õ
µÙqI!gê©è;çµ6ª
[EMAIL PROTECTED]
µB>ÁýÖ¥À/çÝ÷]Ìùe£´¶ªË
A×è]ÎòHâþÄl¿è&®?ÆùÂKÜ©÷òfÞP§ÌÏIz!ÊWôFEéµAgåÆ<h11ó:
pñN"xf#xmØ^V£ )6^Èjª0ÒëlmuGý6]YѺ¹óx·LE& ` "®%7þ¯`M7Ïk
x3r¶iÓãï2Y¾ºõlJR
P®Kó#æçëöÜ¢§¡÷²$®l[réRѺ(»Êe:u¬7¸~2ðx´,Íù¦NÂMåtv#}eÔÀjýzÇykÀpþk¾2M¨
°2énçâÃÙIçgÖ'c]6Ø×ué줯åÕorì2¹;úö-Pî}«{½»ûáä^Z?/²qG 'Þ(Ö/uzþéVw!fÁgñ
[EMAIL PROTECTED]'!ÂÆØ+ôîõ¯ggïè!1ÈùÃÄ õñªån¡wþ²=ÌÈJûO&þ§7ýÚ
Mú'çoßvÞ½?¤ØËë>fÁB^I¼Ðe
i#èijÏcàÊAX¤µúÛDK¾FoyÙ&¬`uV0ß»Z{lí±=¶ûkÿøNx "