<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
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
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
p.msochpdefault, li.msochpdefault, div.msochpdefault
        {mso-style-name:msochpdefault;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Calibri","sans-serif";}
span.balloontextchar0
        {mso-style-name:balloontextchar;
        font-family:"Tahoma","sans-serif";}
span.emailstyle19
        {mso-style-name:emailstyle19;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle23
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thank you very much!   Now it works:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>[root@island-vm ~]# chmod 4755 /usr/local/sbin/fping<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>[root@island-vm ~]# ls -ld /usr/local/sbin/fping<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>-rwsr-xr-x. 1 root root 67420 Feb 24 12:36 /usr/local/sbin/fping<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>[root@island-vm ~]# su - xymon<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>-bash-4.1$ fping BOOMIAPP01<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>BOOMIAPP01 is alive<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>And all my white icons turn green after ~10 minutes. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><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:Galen.Johnson@sas.com] <br><b>Sent:</b> Tuesday, February 25, 2014 3:02 PM<br><b>To:</b> Peng, Kingston; Galen Johnson<br><b>Cc:</b> xymon@xymon.com<br><b>Subject:</b> RE: [Xymon] Xymon conn icon shows white, rather than green<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div name=divtagdefaultwrapper id=divtagdefaultwrapper><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-family:"Calibri","sans-serif";color:black'>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=<o:p></o:p></span></p><div><div class=MsoNormal align=center style='text-align:center'><span style='font-family:"Calibri","sans-serif";color:#282828'><hr size=2 width="98%" align=center></span></div><div id=divRplyFwdMsg><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'> Xymon <<a href="mailto:xymon-bounces@xymon.com">xymon-bounces@xymon.com</a>> on behalf of Peng, Kingston <<a href="mailto:kpeng@partycity.com">kpeng@partycity.com</a>><br><b>Sent:</b> Tuesday, February 25, 2014 2:52 PM<br><b>To:</b> Galen Johnson<br><b>Cc:</b> <a href="mailto:xymon@xymon.com">xymon@xymon.com</a><br><b>Subject:</b> Re: [Xymon] Xymon conn icon shows white, rather than green</span><span style='font-family:"Calibri","sans-serif";color:#282828'> <o:p></o:p></span></p><div><p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#282828'> <o:p></o:p></span></p></div></div><div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>OK, thanks! </span><span style='color:#282828'><o:p></o:p></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><span style='color:#282828'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><span style='color:#282828'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>-bash-4.1$ id</span><span style='color:#282828'><o:p></o:p></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><span style='color:#282828'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><span style='color:#282828'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>-bash-4.1$ fping BOOMIAPP01</span><span style='color:#282828'><o:p></o:p></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><span style='color:#282828'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><span style='color:#282828'><o:p></o:p></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><span style='color:#282828'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><span style='color:#282828'><o:p></o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#282828'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#282828'> Galen Johnson [<a href="mailto:solitaryr@gmail.com">mailto:solitaryr@gmail.com</a>] <br><b>Sent:</b> Monday, February 24, 2014 10:47 PM<br><b>To:</b> Peng, Kingston<br><b>Cc:</b> John Thurston; <a href="mailto:xymon@xymon.com">xymon@xymon.com</a><br><b>Subject:</b> Re: [Xymon] Xymon conn icon shows white, rather than green</span><span style='color:#282828'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#282828'> <o:p></o:p></span></p><div><p class=MsoNormal><span style='color:#282828'>Just curious but is fping setuid root?  You're running the command as root but xymon should be running as the xymon user.<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><span style='color:#282828'> <o:p></o:p></span></p><div><p class=MsoNormal><span style='color:#282828'>On Mon, Feb 24, 2014 at 9:27 PM, Peng, Kingston <<a href="mailto:kpeng@partycity.com" target="_blank">kpeng@partycity.com</a>> wrote:<o:p></o:p></span></p><p class=MsoNormal><span style='color:#282828'>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>--------------------------------------------------<o:p></o:p></span></p><div><p class=MsoNormal style='margin-bottom:12.0pt'><span style='color:#282828'><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<o:p></o:p></span></p></div><div><div><p class=MsoNormal><span style='color:#282828'>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><o:p></o:p></span></p></div></div></div><p class=MsoNormal><span style='color:#282828'> <o:p></o:p></span></p></div></div></div></div></div></div></body></html>