<br><br><div class="gmail_quote">On Mon, Apr 30, 2012 at 1:10 PM, Michael Baydoun <span dir="ltr"><<a href="mailto:indymichaelb@gmail.com" target="_blank">indymichaelb@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The tests are running on the xymon server itself<div><br></div><div>Somehow, 6 days ago, the xymon server processes were starting using root (even though that would seem to be impossible, as there is a username check in <span style="line-height:16px;font-size:12px;font-family:arial,FreeSans,Helvetica,sans-serif">/usr/lib64/xymon/server/hobbit.sh).  The OS was patched around that time.</span></div>

<div><font face="arial, FreeSans, Helvetica, sans-serif"><span style="font-size:12px;line-height:16px"><br></span></font></div><div><font face="arial, FreeSans, Helvetica, sans-serif"><span style="font-size:12px;line-height:16px">That was causing histlog files to be created with root ownership and mode 600, preventing accessing those details from the web gui.</span></font></div>

<div><font face="arial, FreeSans, Helvetica, sans-serif"><span style="font-size:12px;line-height:16px"><br></span></font></div><div><font face="arial, FreeSans, Helvetica, sans-serif"><span style="font-size:12px;line-height:16px">I killed all the xymon processes and restarted (service xymon start), which started them up correctly as user xymon</span></font></div>

<div><font face="arial, FreeSans, Helvetica, sans-serif"><span style="font-size:12px;line-height:16px">However, once I did that, the Ping test results all started failing, even though fping from the command line to the clients was working correctly, and xymonnet went yellow with the long run time warning.</span></font></div>

<div><font face="arial, FreeSans, Helvetica, sans-serif"><span style="font-size:12px;line-height:16px">Eventually, to get the ping tests working again for now I had to bypass the username check in </span></font><span style="line-height:16px;font-size:12px;font-family:arial,FreeSans,Helvetica,sans-serif">/usr/lib64/xymon/server/hobbit.sh and start everything back up as the root user</span></div>

<div><font face="arial, FreeSans, Helvetica, sans-serif"><span style="font-size:12px;line-height:16px"><br></span></font></div><div><font face="arial, FreeSans, Helvetica, sans-serif"><span style="font-size:12px;line-height:16px">I will have to find a time to switch it back to the xymon user, figure out the ping test failures, and correct all the histlog file permissions.<br>

</span></font><div><div class="h5"><br><div class="gmail_quote">On Mon, Apr 30, 2012 at 12:36 PM, Henrik Størner <span dir="ltr"><<a href="mailto:henrik@hswn.dk" target="_blank">henrik@hswn.dk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div>On 30-04-2012 16:13, Michael Baydoun wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
What could cause a very long time to send ping test results?<br>
<br>
PING test completed (166 hosts)              593954.047266          9.117369<br>
PING test results sent                       594410.634681        456.587415<br>
</blockquote>
<br></div></div>
Usually a network problem between the host doing the network tests, and the Xymon server - if those are two different systems.<br>
<br>
If you're running the network tests on the Xymon server itself, then I have no idea why that would take so long.<br>
<br>
<br>
Regards,<br>
Henrik<br>
______________________________<u></u>_________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/<u></u>mailman/listinfo/xymon</a><br>
</blockquote></div><br></div></div></div>
</blockquote></div><br><div><br></div><div>To followup, I figured out this issue.  The ownership of /usr/lib64/xymon/server/bin/xymonping was changed at some point, which clears the set-uid. Setting owner to root first, then chmod 4755 resolved the issue.</div>