<div dir="ltr">Hi Tim,Bill<div><br></div><div>Thanks for that.</div><div>That's exactly how I thought I had it, and how I have it configured now.</div><div>But it doesn't seem to work.</div><div>Also, on the files status page, I see the directory, but clicking on it, I get nothing. Blank page.</div><div>In the client data page, it gives me </div><div>ERROR: No such file or directory</div><div><br></div><div>The directory does exist. I would have the world breathing down my neck right now if it didn't.</div><div>I have tried to ls the directory as Xymon to ensure I have read permissions in the parent directory, and it works there.</div><div><br></div><div>But good to know I am on the right track. Something else must be wrong. I will investigate further.</div><div><br></div><div>And yes, I am expecting this to end with a face-palm moment.</div><div>Most of the problems I face in IT get resolved that way. :-)</div><div><br></div><div>Regards</div><div>Vernon</div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On 3 December 2014 at 07:25, Tim McCloskey <span dir="ltr"><<a href="mailto:tm@freedom.com" target="_blank">tm@freedom.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I just tested this using file instead of dir.  It works for UNIX (everything is a file), can't speak for windows.  I'm not sure that it is designed or intended to work this way and I doubt you can mix DIR and FILE for the same O/S directory.<br>
<br>
analysis.cfg<br>
# DIR /foo SIZE<8192  SIZE>4096 COLOR=yellow<br>
 FILE /foo MODE=0644 COLOR=RED TRACK<br>
 FILE /foo OWNERID=johndoe COLOR=yellow<br>
<br>
client-local.cfg<br>
file:/foo:md5<br>
<br>
<br>
Good Luck.<br>
<br>
<br>
<br>
<br>
________________________________________<br>
From: Xymon [<a href="mailto:xymon-bounces@xymon.com">xymon-bounces@xymon.com</a>] on behalf of Vernon Everett [<a href="mailto:everett.vernon@gmail.com">everett.vernon@gmail.com</a>]<br>
Sent: Tuesday, December 2, 2014 2:08 PM<br>
To: Xymon mailinglist<br>
<span class="">Subject: Re: [Xymon] Monitoring Directory Permissions<br>
<br>
</span><span class="">I know, it's a lot simpler to put it right quietly with a cron, or even part of the update process, and I have considered this, but as always, it's political.<br>
The client wants it this way.<br>
<br>
With their previous installation of Xymon, I had it working, so I know it's possible.<br>
However, it was all lost in a catastrophic system failure (with no backups).<br>
I rebuilt Xymon on a new server for them, but and I can't a hell remember how I configured the directory monitoring.<br>
<br>
Regards<br>
Vernon<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</span><span class="">On 2 December 2014 at 22:26, Steve Coile <<a href="mailto:scoile@mcclatchyinteractive.com">scoile@mcclatchyinteractive.com</a><mailto:<a href="mailto:scoile@mcclatchyinteractive.com">scoile@mcclatchyinteractive.com</a>>> wrote:<br>
What's the point of monitoring for it?  To let you know you need to correct them?  If that, why not just put a cron job in place that sets them properly?<br>
<br>
<br>
--<br>
Steve Coile<br>
</span>Senior Network and Systems Engineer, McClatchy Interactive<<a href="http://www.mcclatchyinteractive.com/" target="_blank">http://www.mcclatchyinteractive.com/</a>><br>
Office: <a href="tel:919-861-1247" value="+19198611247">919-861-1247</a><tel:<a href="tel:919-861-1247" value="+19198611247">919-861-1247</a>> | Mobile: <a href="tel:919-622-5369" value="+19196225369">919-622-5369</a><tel:<a href="tel:919-622-5369" value="+19196225369">919-622-5369</a>> | Fax: <a href="tel:919-861-1300" value="+19198611300">919-861-1300</a><tel:<a href="tel:919-861-1300" value="+19198611300">919-861-1300</a>><br>
<span class=""><br>
On Tue, Dec 2, 2014 at 2:28 AM, Vernon Everett <<a href="mailto:everett.vernon@gmail.com">everett.vernon@gmail.com</a><mailto:<a href="mailto:everett.vernon@gmail.com">everett.vernon@gmail.com</a>>> wrote:<br>
Hi guys<br>
<br>
I have a directory on a client system, and it needs to have permission of 777<br>
>From time to time, automated software updates sets it to 770.<br>
I am looking for a way to check this, and alert when permissions are not as they should be.<br>
Any advice appreciated.<br>
<br>
Regards<br>
Vernon<br>
<br>
--<br>
"Accept the challenges so that you can feel the exhilaration of victory"<br>
- General George Patton<br>
<br>
_______________________________________________<br>
Xymon mailing list<br>
</span><a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><mailto:<a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a>><br>
<div class="HOEnZb"><div class="h5"><a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
<br>
<br>
<br>
<br>
<br>
--<br>
"Accept the challenges so that you can feel the exhilaration of victory"<br>
- General George Patton<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><span>"Accept the challenges so that you can feel the exhilaration of victory"</span><div><span>- General George Patton</span></div></div>
</div></div>