<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div>Hi all<br><br></div>Not sure if this really classifies as a bug or not.<br></div>I am inclined to think it is.<br><br></div>In clientlocal.cfg, I have <br>

</div><span style="font-family:courier new,monospace">[sunos]<br>file:`/usr/bin/sudo /usr/bin/find /var/crash/ -type f 2> /dev/null`</span><br><br></div>And this finds 2 files.<br></div><span style="font-family:courier new,monospace">/var/crash/bounds<br>
</span></div><span style="font-family:courier new,monospace">/var/crash/vmdump.0</span><br></div>So far so good.<br><br></div>However, <span style="font-family:courier new,monospace">/var/crash/</span> is a symlink to <span style="font-family:courier new,monospace">/var/share/crash/</span><br>

</div>And /var/share/crash has permissions or 700<br></div>So Xymon can determine there is a file, but cannot collect any metadata on the file, since it cannot stat the files in <span style="font-family:courier new,monospace">/var/share/crash/</span><br>
<br></div><div>In analysis.cfg I have this line (with appropriate HOST= value, of course)<br><span style="font-family:courier new,monospace">
FILE    %^/var/cores/.*         NOEXIST         red</span><br>When I go to the "files" page, I see the file names there.<br>Clicking on the file names, I get this info.<br><span style="font-family:courier new,monospace">[file:/var/crash/vmdump.0]<br>
ERROR: Permission denied</span></div><div><br></div>But no red status appears on the test.<br></div>Testing, using a similar directory structure, where Xymon can stat the files, does give a red status.<br></div><div></div>
<div><br></div>I can understand that Xymon can't give any info on the file because of permissions, but in this case, all I care about is that the file exists, which Xymon has determined. <br>That should trigger a red status.<br>
<br></div><div>Using Xymon 4.3.10<br><br></div><div>Regards<br>Vernon<br><br></div><br><div><div><br><div><div><div><div><div><div><div><div><div><pre><br></pre><br clear="all"><div><div><div><div><div><div><br>-- <br><span>"Accept the challenges so that you can feel the exhilaration of victory"</span><div>

<span>- General George Patton</span></div>
</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>