<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">We keep those files under RCS revision control and make people check them out and in to add new information. If we wanted to, I'd probably write an rcsdiff to see if anything's checked out that's not been checked back in.<div><br></div><div>Otherwise, two ideas come to mind: </div><div>- Create a daily cron job to check those files for a date newer than (last-checked-time) and email if they exist</div><div>*or*</div><div>- Create a daily cron job to diff those files against a save version of the files and email any diffs it finds, and when done, copy the current files to the saved versions again.</div><div><div><br><div><div>On Dec 3, 2010, at 9:28 AM, trm asn wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">I am looking for a plugin which will check the hosts.cfg, contacts.cfg, command.cfg and if found any new entry has been added into those files , then will be notified to the specific email id .<br><br><br><br><br><div class="gmail_quote">
On Fri, Dec 3, 2010 at 4:23 PM, trm asn <span dir="ltr"><<a href="mailto:trm.nagios@gmail.com">trm.nagios@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Dear List,<br><br>Is there any plug-in available for nagios to check the newly added Host/Services/Contacts and notify by email.<br><br><br><br>/\<br>dE  <br>
</blockquote></div><br>
------------------------------------------------------------------------------<br>Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!<br>Tap into the largest installed PC base & get more eyes on your game by<br>optimizing for Intel(R) Graphics Technology. Get started today with the<br>Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.<br><a href="http://p.sf.net/sfu/intelisp-dev2dev_______________________________________________">http://p.sf.net/sfu/intelisp-dev2dev_______________________________________________</a><br>Nagios-users mailing list<br>Nagios-users@lists.sourceforge.net<br>https://lists.sourceforge.net/lists/listinfo/nagios-users<br>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. <br>::: Messages without supporting info will risk being sent to /dev/null</blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">--</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Rick Carter, Unix/Linux SysAdmin</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">  University of Michigan, ITS System Support Team</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; "><span class="Apple-converted-space"> <span class="Apple-converted-space"> </span></span>"The best way to find out where you are from is find out where you are going and work backwards." - The Doctor</font></p></div><br class="Apple-interchange-newline"></span></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline">
</div>
<br></div></div></body></html>