<html><body><p>I have always ran the Xymon client as root.  It's never been a problem and make things easier.  If that's not an option, change the xymonclient-linux.sh (or whatever OS you are using) and modify the "df" command to use sudo.  I've done the same to modify the df command to tell it to monitor NFS mounted drives when desired.<br><br>I'll be watching this thread for a more elegant solution.<br><br>David<br><br><img width="16" height="16" src="cid:1__=8FBB0A0DDFC4AA368f9e8a93df938690918c8FB@" border="0" alt="Inactive hide details for Scot Kreienkamp ---01/04/2017 10:43:29 AM---Hi everyone, I am having a problem with some of my disk r"><font color="#424282">Scot Kreienkamp ---01/04/2017 10:43:29 AM---Hi everyone, I am having a problem with some of my disk reporting.  Postgres requires 700 permission</font><br><br><font size="2" color="#5F5F5F">From:        </font><font size="2">Scot Kreienkamp <Scot.Kreienkamp@la-z-boy.com></font><br><font size="2" color="#5F5F5F">To:        </font><font size="2">"xymon@xymon.com" <xymon@xymon.com></font><br><font size="2" color="#5F5F5F">Date:        </font><font size="2">01/04/2017 10:43 AM</font><br><font size="2" color="#5F5F5F">Subject:        </font><font size="2">[Xymon] Disk not being reported</font><br><font size="2" color="#5F5F5F">Sent by:        </font><font size="2">"Xymon" <xymon-bounces@xymon.com></font><br><hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br><br><br><font face="Calibri">Hi everyone,</font><br><font face="Calibri"> </font><br><font face="Calibri">I am having a problem with some of my disk reporting.  Postgres requires 700 permissions on its data directory, which in my case is also a mount.  That causes non-root users (xymon) to get a permission denied error when running checks like inode and df.  I can’t change the permissions on the directory or postgres won’t start so the only other options I can come up with are to make xymon run as root (not a good idea), or have it use sudo to run its disk tests somehow.  Anyone run into this before?  Any words of wisdom on if it’s possible to use sudo to run the df/inode tests in xymon?</font><p><b><font size="2">Scot Kreienkamp | Senior Systems Engineer | La-Z-Boy Corporate</font></b><font size="2" face="Calibri"><br>One La-Z-Boy Drive | Monroe, Michigan 48162  |</font><font face="Calibri"> </font><font face="Wingdings">(</font><font face="Calibri"> 734-384-6403 | </font><font face="Tahoma">| </font><font size="2" face="Wingdings">)</font><font size="2" face="Calibri"> </font><font size="2" face="Calibri">7349151444</font><font size="2" face="Calibri"> </font><font size="2">| </font><font face="Wingdings">*</font><font size="2">  </font><a href="mailto:%7BE-mail%7D"><u><font size="2" color="#0563C1" face="Calibri">Scot.Kreienkamp@la-z-boy.com</font></u></a><u><font size="2" color="#0563C1"><br></font></u><a href="http://www.la-z-boy.com/"><u><font size="2" color="#0563C1">www</font></u></a><a href="http://www.la-z-boy.com/"><u><font size="2" color="#0563C1">.la-z-boy.com</font></u></a><font size="2"> | </font><a href="https://www.facebook.com/lazboy"><u><font size="2" color="#0563C1">facebook.</font></u></a><a href="https://www.facebook.com/lazboy"><u><font size="2" color="#0563C1">com</font></u></a><a href="https://www.facebook.com/lazboy"><u><font size="2" color="#0563C1">/</font></u></a><a href="http://facebook.com/lazboy"><u><font size="2" color="#0563C1" face="Calibri">lazboy</font></u></a><font size="2"> | </font><a href="https://twitter.com/lazboy"><u><font size="2" color="#0563C1" face="Calibri">twitter.com/lazboy</font></u></a><font size="2" face="Calibri"> | </font><a href="https://www.youtube.com/user/lazboy"><u><font size="2" color="#0563C1" face="Calibri">youtube.com/</font></u></a><a href="https://www.youtube.com/user/lazboy"><u><font size="2" color="#0563C1" face="Calibri">lazboy</font></u></a><font size="2" face="Calibri"><br></font><font size="4"><br></font><img src="cid:2__=8FBB0A0DDFC4AA368f9e8a93df938690918c8FB@" width="192" height="45"><font size="4">  </font><p><font size="4"> </font><p><font size="2">This message is intended only for the individual or entity to which it is addressed.  It may contain privileged, confidential information which is exempt from disclosure under applicable laws.  If you are not the intended recipient, you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information.  If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you.</font><tt>_______________________________________________<br>Xymon mailing list<br>Xymon@xymon.com<br></tt><tt><a href="http://lists.xymon.com/mailman/listinfo/xymon">http://lists.xymon.com/mailman/listinfo/xymon</a></tt><tt><br></tt><p><p><BR>
</body></html>