<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style style="display: none;" id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style><style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Tahoma}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif"}
span.BalloonTextChar
        {font-family:"Tahoma","sans-serif"}
span.EmailStyle19
        {font-family:"Calibri","sans-serif";
        color:#1F497D}
.MsoChpDefault
        {font-family:"Calibri","sans-serif"}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
-->
</style>
</head>
<body id="" tabindex="0" aria-label="Message body" fpstyle="1" dir="ltr">
<div name="divtagdefaultwrapper" id="divtagdefaultwrapper" style="font-family: Calibri,Arial,Helvetica,sans-serif; font-size: 12pt; color: #000000; margin: 0">
as root 'chmod 4755 /usr/sbin/fping/' (adjust path as necessary)...make sure it's owned by root.  However you installed fping should have done this for you.<br>
<br>
=G=<br>
<br>
<div style="color: rgb(40, 40, 40);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> Xymon <xymon-bounces@xymon.com> on behalf of Peng, Kingston <kpeng@partycity.com><br>
<b>Sent:</b> Tuesday, February 25, 2014 2:52 PM<br>
<b>To:</b> Galen Johnson<br>
<b>Cc:</b> xymon@xymon.com<br>
<b>Subject:</b> Re: [Xymon] Xymon conn icon shows white, rather than green</font>
<div> </div>
</div>
<div>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">OK, thanks!
</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">It’s true
<b>when I use ID xymon to fping, then I got problem</b>: </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">-bash-4.1$ id</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">uid=501(xymon) gid=501(xymon) groups=501(xymon) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">-bash-4.1$ fping BOOMIAPP01</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">fping: can't create raw socket (must run as root?) : Operation not permitted</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">How can I fix it</span></b><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> then?
</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif""> Galen Johnson [mailto:solitaryr@gmail.com]
<br>
<b>Sent:</b> Monday, February 24, 2014 10:47 PM<br>
<b>To:</b> Peng, Kingston<br>
<b>Cc:</b> John Thurston; xymon@xymon.com<br>
<b>Subject:</b> Re: [Xymon] Xymon conn icon shows white, rather than green</span></p>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">Just curious but is fping setuid root?  You're running the command as root but xymon should be running as the xymon user.</p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"> </p>
<div>
<p class="MsoNormal">On Mon, Feb 24, 2014 at 9:27 PM, Peng, Kingston <<a href="mailto:kpeng@partycity.com" target="_blank">kpeng@partycity.com</a>> wrote:</p>
<p class="MsoNormal">Here is the info you asked (only one line):<br>
 [root@island-vm hist]# more /home/xymon/data/hist/BOOMIAPP01.conn<br>
Mon Feb 24 16:12:55 2014 clear 1393276375<br>
<br>
As I click the white icon named "conn" for server BOOMIAPP01, I see the<br>
following message (same error for all my servers monitored):<br>
--------------------------------------------------<br>
Mon Feb 24 21:18:57 2014 conn ok : System failure of the ping test<br>
<br>
Service conn on BOOMITEST01 is OK<br>
Xymon system error<br>
--------------------------------------------------<br>
<br>
However, if I manually run ping or fping, both results are good (also,<br>
same result for all my servers monitored):<br>
<br>
--------------------------------------------------<br>
[root@island-vm hist]# ping BOOMIAPP01<br>
PING boomiapp01 (172.33.1.39) 56(84) bytes of data.<br>
64 bytes from boomiapp01 (172.33.1.39): icmp_seq=1 ttl=126 time=0.000 ms<br>
64 bytes from boomiapp01 (172.33.1.39): icmp_seq=2 ttl=126 time=0.906 ms<br>
^C<br>
--- boomiapp01 ping statistics ---<br>
2 packets transmitted, 2 received, 0% packet loss, time 1611ms<br>
rtt min/avg/max/mdev = 0.000/0.453/0.906/0.453 ms<br>
[root@island-vm hist]# fping BOOMIAPP01<br>
BOOMIAPP01 is alive<br>
--------------------------------------------------</p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
-----Original Message-----<br>
From: Xymon [mailto:<a href="mailto:xymon-bounces@xymon.com">xymon-bounces@xymon.com</a>] On Behalf Of John Thurston<br>
Sent: Monday, February 24, 2014 9:00 PM<br>
To: <a href="mailto:xymon@xymon.com">xymon@xymon.com</a><br>
Subject: Re: [Xymon] Xymon conn icon shows white, rather than green</p>
</div>
<div>
<div>
<p class="MsoNormal">On 2/24/2014 4:25 PM, Peng, Kingston wrote:<br>
> I didn't put anything on /etc/hosts.cfg.  When I said hosts.cfg, it is<br>
> /home/xymon/server/etc/hosts.cfg.<br>
<br>
Sorry for the confusion. My fingers auto-corrected as they typed. I<br>
don't understand why you are making any changes to /etc/hosts<br>
... especially after seeing your hosts.cfg  If you have embedded short<br>
hostnames and ip addresses in hosts.cfg, there is no need to dual-enter<br>
the same information in /etc/hosts<br>
<br>
Does your xymon behave any better if your hosts.cfg looks like:<br>
> # We are not going to use FQDNs or DNS. Use testip instead.<br>
> 0.0.0.0               .default.       # testip<br>
> 127.0.0.1     localhost       # bbd   <a href="http://localhost/" target="_blank">
http://localhost/</a><br>
> 10.1.2.159    island-vm       # bbd   <a href="http://localhost/" target="_blank">
http://localhost/</a><br>
><br>
> # group-compress is a hold-over from BB. 'group' does the same thing.<br>
> group Boomi<br>
> 172.33.1.39   BOOMIAPP01      # ssh ntp<br>
<a href="http://172.33.1.39:28080/connect/Interchange.html" target="_blank">http://172.33.1.39:28080/connect/Interchange.html</a><br>
> 172.33.1.38   BOOMITEST01     # ssh ntp<br>
> 172.33.1.81   RAMPDEV         # ssh ntp<br>
<br>
<br>
Is there anything in ~/data/hist/BOOMIAPP01.conn ?<br>
<br>
If you insert --debug on the xymonnet line in tasks.cfg, does anything<br>
interesting appear in the log file (named in that section)?<br>
<br>
<br>
--<br>
    Do things because you should, not just because you can.<br>
<br>
John Thurston    907-465-8591<br>
<a href="mailto:John.Thurston@alaska.gov">John.Thurston@alaska.gov</a><br>
Enterprise Technology Services<br>
Department of Administration<br>
State of Alaska<br>
_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
<br>
<br>
_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a></p>
</div>
</div>
</div>
<p class="MsoNormal"> </p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>