[Xymon] Xymon conn icon shows white, rather than green
Peng, Kingston
kpeng at partycity.com
Tue Feb 25 20:52:30 CET 2014
OK, thanks!
It's true when I use ID xymon to fping, then I got problem:
-bash-4.1$ id
uid=501(xymon) gid=501(xymon) groups=501(xymon)
context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
-bash-4.1$ fping BOOMIAPP01
fping: can't create raw socket (must run as root?) : Operation not
permitted
How can I fix it then?
From: Galen Johnson [mailto:solitaryr at gmail.com]
Sent: Monday, February 24, 2014 10:47 PM
To: Peng, Kingston
Cc: John Thurston; xymon at xymon.com
Subject: Re: [Xymon] Xymon conn icon shows white, rather than green
Just curious but is fping setuid root? You're running the command as
root but xymon should be running as the xymon user.
On Mon, Feb 24, 2014 at 9:27 PM, Peng, Kingston <kpeng at partycity.com>
wrote:
Here is the info you asked (only one line):
[root at island-vm hist]# more /home/xymon/data/hist/BOOMIAPP01.conn
Mon Feb 24 16:12:55 2014 clear 1393276375
As I click the white icon named "conn" for server BOOMIAPP01, I see the
following message (same error for all my servers monitored):
--------------------------------------------------
Mon Feb 24 21:18:57 2014 conn ok : System failure of the ping test
Service conn on BOOMITEST01 is OK
Xymon system error
--------------------------------------------------
However, if I manually run ping or fping, both results are good (also,
same result for all my servers monitored):
--------------------------------------------------
[root at island-vm hist]# ping BOOMIAPP01
PING boomiapp01 (172.33.1.39) 56(84) bytes of data.
64 bytes from boomiapp01 (172.33.1.39): icmp_seq=1 ttl=126 time=0.000 ms
64 bytes from boomiapp01 (172.33.1.39): icmp_seq=2 ttl=126 time=0.906 ms
^C
--- boomiapp01 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1611ms
rtt min/avg/max/mdev = 0.000/0.453/0.906/0.453 ms
[root at island-vm hist]# fping BOOMIAPP01
BOOMIAPP01 is alive
--------------------------------------------------
-----Original Message-----
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of John Thurston
Sent: Monday, February 24, 2014 9:00 PM
To: xymon at xymon.com
Subject: Re: [Xymon] Xymon conn icon shows white, rather than green
On 2/24/2014 4:25 PM, Peng, Kingston wrote:
> I didn't put anything on /etc/hosts.cfg. When I said hosts.cfg, it is
> /home/xymon/server/etc/hosts.cfg.
Sorry for the confusion. My fingers auto-corrected as they typed. I
don't understand why you are making any changes to /etc/hosts
... especially after seeing your hosts.cfg If you have embedded short
hostnames and ip addresses in hosts.cfg, there is no need to dual-enter
the same information in /etc/hosts
Does your xymon behave any better if your hosts.cfg looks like:
> # We are not going to use FQDNs or DNS. Use testip instead.
> 0.0.0.0 .default. # testip
> 127.0.0.1 localhost # bbd http://localhost/
> 10.1.2.159 island-vm # bbd http://localhost/
>
> # group-compress is a hold-over from BB. 'group' does the same thing.
> group Boomi
> 172.33.1.39 BOOMIAPP01 # ssh ntp
http://172.33.1.39:28080/connect/Interchange.html
> 172.33.1.38 BOOMITEST01 # ssh ntp
> 172.33.1.81 RAMPDEV # ssh ntp
Is there anything in ~/data/hist/BOOMIAPP01.conn ?
If you insert --debug on the xymonnet line in tasks.cfg, does anything
interesting appear in the log file (named in that section)?
--
Do things because you should, not just because you can.
John Thurston 907-465-8591
John.Thurston at alaska.gov
Enterprise Technology Services
Department of Administration
State of Alaska
_______________________________________________
Xymon mailing list
Xymon at xymon.com
http://lists.xymon.com/mailman/listinfo/xymon
_______________________________________________
Xymon mailing list
Xymon at xymon.com
http://lists.xymon.com/mailman/listinfo/xymon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20140225/12b3537b/attachment.html>
More information about the Xymon
mailing list