Trying to send to dual xymon servers
list Tom Schmitt
Sorry for this entry being so long. I am trying to include as much info
as possible.
Running Xymon 4.3.0-0.beta2 on CentOS 5.3.
I am trying to send to 2 xymon servers (Primary - monitor1, Secondary -
monitor2) from multiple clients.
CLIENTS BEING TESTED:
o Linux (tomvip)
o BBWin (sltst03)
o Current BB clients that are in service (slcts00)
It worked after we set the 1984 TCP port in the firewall
for a short time and then quit.
I am also having the same problem when setting the BBWin to point to
both server (it works and then it stops to one of them).
If I add both addresses to the actual BB windows client, they both
report the exact same icons to both servers and the BB server.
I was able to get both the BB and the BBWin clients to run on the same
Windows server.
We setup a different registry name for the BBWin client (e.g. slcts00
vs. slcts00.csw.L-3com.com for BB).
I have the iptables firewalls on both monitor1 and monitor2 OFF.
cd /etc/init.d
./iptables stop
I get PURPLE icons on monitor1 and OK icons on monitor2: (for Linux,
but just dashed for BBWin).
G=green, W=white, P=purple
conn cpu disk files http info
memory/mem msgs ports procs ssh
sslcert trends svcs
Monitor1: tomvip.csw.l-3com.com G P P
P G G P
P P P G G
G
Monitor1: slcts00.csw.l-3com.com G G G
G G G
G G G
(BB Client)
Monitor1: sltst03.csw.L-3com.com G G G
G G G
G G G
(BBWin also uptime, who)
Monitor2: tomvip.csw.l-3com.com G G G
W G G G G
W W G G G
Monitor1: slcts00.csw.l-3com.com G G G
G G G
G G G
(BB Client)
Monitor1: sltst03.csw.L-3com.com G --
-- G --
-- --
G -- (BBWin)
tomvip.csw.l-3com.com:
Beginning of file from /root/XYMON/client/etc/hobbitclient.cfg:
#-----------------------------------------------------------------------
# You may not have to set HOBBITCLIENTHOME= or BBOSTYPE= but I set them
here
#-----------------------------------------------------------------------
#
Directory for the Hobbit client files
HOBBITCLIENTHOME=/root/XYMON/client
BBOSTYPE=linux # List can include:
#
aix, dynix, greebsd, hp-ux, irix, linux
#
redhat, debian, openbsd, netbds, osf
#
sco, unixware, sunos, solaris, etc.
# See: http://xymon.trantor.org/doku.php/monitors:bbswap
# For setup up of an extension script to monitor swap
space.
#-----------------------------------------------------------------------
# TO REPORT TO MORE THAN ONE XYMON SERVER JUST ADD MORE THAN ONE BBDISP=
LINE
# You can use either the IP Addresses or the URLs.
#-----------------------------------------------------------------------
BBDISP="monitor1.csw.l-3com.com" # IP address of the 1st Hobbit server
BBDISP="monitor2.csw.l-3com.com" # IP address of the 2nd Hobbit
server-if setup
BBDISPLAYS="0.0.0.0" # IP of multiple
Hobbit servers.
# BBDISP must be "0.0.0.0".
CONFIGCLASS="$BBOSTYPE" # Default configuration class for
logfiles
# PATH setting for the client scripts
PATH="/bin:/usr/bin:/sbin:/usr/sbin:/etc"
I have tried it without the BBDISPLAYS="" set - still the same output.
Messages on tomvip from /root/XYMON/client/logs/hobbitclient.log:
2009-10-26 13:21:26 Whoops ! bb failed to send message - Connection
failed
2009-10-26 13:31:31 Could not connect to
user-2b2e6ee2dc22@xymon.invalid:1984 - No route to host
2009-10-26 13:31:31 Whoops ! bb failed to send message - Connection
failed
2009-10-26 13:36:43 Could not connect to
user-2b2e6ee2dc22@xymon.invalid:1984 - No route to host
2009-10-26 13:36:43 Whoops ! bb failed to send message - Connection
failed
2009-10-26 13:41:37 Could not connect to
user-2b2e6ee2dc22@xymon.invalid:1984 - No route to host
2009-10-26 13:41:37 Whoops ! bb failed to send message - Connection
failed
I can ping the monitor1 server with no problems.
BB-HOSTS Entries for: (wrapped lines for ease of reading)
MONITOR1:
127.0.0.1 monitor1.csw.l-3com.com # bbd
conn ssh http://monitor1.csw.l-3com.com
apache=http://monitor1.csw.l-3com.com/server-status?
auto TRENDS:*,apache:apache|apache1|apache2|apache3
128.170.1.161 monitor2.csw.l-3com.com # bbd conn
ssh http://monitor2.csw.l-3com.com
apache=http://monitor2.csw.l-3com.com/server-status?
auto TRENDS:*,apache:apache|apache1|apache2|apache3
128.170.1.203 tomvip.csw.l-3com.com # conn ssh
tftp http://tomvip.csw.l-3com.com/ https://tomvip.csw.l-3com.com./
MONITOR2:
128.170.1.151 monitor1.csw.l-3com.com # bbd conn
ssh http://monitor1.csw.l-3com.com
apache=http://monitor1.csw.l-3com.com/server-status?
auto TRENDS:*,apache:apache|apache1|apache2|apache3
127.0.0.1 monitor2.csw.l-3com.com # bbd conn ssh
http://monitor2.csw.l-3com.com
apache=http://monitor2.csw.l-3com.com/server-status?
auto TRENDS:*,apache:apache|apache1|apache2|apache3
128.170.1.203 tomvip.csw.l-3com.com :q! # conn
ssh tftp http://tomvip.csw.l-3com.com/ https://tomvip.csw.l-3com.com/
RULES for iptables (iptables -L):
zCurrently Running: (iptables stopped)
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
[root at monitor2 ~]#
When firewall is enabled:
[root at monitor2 ~]# cat IPTABLES-L.txt
Chain INPUT (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain RH-Firewall-1-INPUT (2 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT icmp -- anywhere anywhere icmp any
ACCEPT esp -- anywhere anywhere
ACCEPT ah -- anywhere anywhere
ACCEPT udp -- anywhere 224.0.0.251 udp
dpt:mdns
ACCEPT udp -- anywhere anywhere udp dpt:ipp
ACCEPT tcp -- anywhere anywhere tcp dpt:ipp
ACCEPT all -- anywhere anywhere state
RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere state NEW
tcp dpt:smtp
ACCEPT tcp -- anywhere anywhere state NEW
tcp dpt:ssh
ACCEPT udp -- anywhere anywhere state NEW
udp dpt:netbios-ns
ACCEPT udp -- anywhere anywhere state NEW
udp dpt:netbios-dgm
ACCEPT tcp -- anywhere anywhere state NEW
tcp dpt:netbios-ssn
ACCEPT tcp -- anywhere anywhere state NEW
tcp dpt:microsoft-ds
ACCEPT tcp -- anywhere anywhere state NEW
tcp dpt:https
ACCEPT tcp -- anywhere anywhere state NEW
tcp dpt:http
ACCEPT tcp -- anywhere anywhere state NEW
tcp dpt:bb
REJECT all -- anywhere anywhere reject-with
icmp-host-prohibited
[root at monitor2 ~]#
I am getting more confused as I go along, something works and then it
stops working and I am not sure what I did to change the results?
Thanks,
Tom Schmitt
Senior IT Staff - R&D
Phone (XXX) XXX-XXXX
Cell (XXX) XXX-XXXX
user-9c1ae820b621@xymon.invalid
\\\\|||////
\ ~ ~ /
| @ @ |
--oOo---(_)---oOo--
list T.J. Yang
Looks like you have both BBDISP and BBDISPLAYS configured wrong, see following example. BBDISP="0.0.0.0" # IP address of the Hobbit server BBDISPLAYS="hobbit1.test.com hobbit2.test.com" # IP of multiple Hobbit servers. BBDISP must be "0.0.0.0". T.J. Yang
▸
From: user-9c1ae820b621@xymon.invalid Date: Mon, 2 Nov 2009 11:13:28 -0700 To: user-ae9b8668bcde@xymon.invalid Subject: [hobbit] Trying to send to dual xymon servers Sorry for this entry being so long. I am trying to include as much info as possible. Running Xymon 4.3.0-0.beta2 on CentOS 5.3. I am trying to send to 2 xymon servers (Primary – monitor1, Secondary – monitor2) from multiple clients. CLIENTS BEING TESTED: o Linux (tomvip) o BBWin (sltst03) o Current BB clients that are in service (slcts00) It worked after we set the 1984 TCP port in the firewall for a short time and then quit. I am also having the same problem when setting the BBWin to point to both server (it works and then it stops to one of them). If I add both addresses to the actual BB windows client, they both report the exact same icons to both servers and the BB server. I was able to get both the BB and the BBWin clients to run on the same Windows server. We setup a different registry name for the BBWin client (e.g. slcts00 vs. slcts00.csw.L-3com.com for BB). I have the iptables firewalls on both monitor1 and monitor2 OFF. cd /etc/init.d ./iptables stop I get PURPLE icons on monitor1 and OK icons on monitor2: (for Linux, but just dashed for BBWin). G=green, W=white, P=purple conn cpu disk files http info memory/mem msgs ports procs ssh sslcert trends svcs Monitor1: tomvip.csw.l-3com.com G P P P G G P P P P G G G Monitor1: slcts00.csw.l-3com.com G G G G G G G G G (BB Client) Monitor1: sltst03.csw.L-3com.com G G G G G G G G G (BBWin also uptime, who) Monitor2: tomvip.csw.l-3com.com G G G W G G G G W W G G G Monitor1: slcts00.csw.l-3com.com G G G G G G G G G (BB Client) Monitor1: sltst03.csw.L-3com.com G -- -- G -- -- -- G -- (BBWin) tomvip.csw.l-3com.com: Beginning of file from /root/XYMON/client/etc/hobbitclient.cfg: #------------------------------------------------------------------------------ # You may not have to set HOBBITCLIENTHOME= or BBOSTYPE= but I set them here #------------------------------------------------------------------------------ # Directory for the Hobbit client files HOBBITCLIENTHOME=/root/XYMON/client BBOSTYPE=linux # List can include: # aix, dynix, greebsd, hp-ux, irix, linux # redhat, debian, openbsd, netbds, osf # sco, unixware, sunos, solaris, etc. # See: http://xymon.trantor.org/doku.php/monitors:bbswap # For setup up of an extension script to monitor swap space. #------------------------------------------------------------------------------ # TO REPORT TO MORE THAN ONE XYMON SERVER JUST ADD MORE THAN ONE BBDISP= LINE # You can use either the IP Addresses or the URLs. #------------------------------------------------------------------------------ BBDISP="monitor1.csw.l-3com.com" # IP address of the 1st Hobbit server BBDISP="monitor2.csw.l-3com.com" # IP address of the 2nd Hobbit server-if setup BBDISPLAYS="0.0.0.0" # IP of multiple Hobbit servers. # BBDISP must be "0.0.0.0". CONFIGCLASS="$BBOSTYPE" # Default configuration class for logfiles # PATH setting for the client scripts PATH="/bin:/usr/bin:/sbin:/usr/sbin:/etc" I have tried it without the BBDISPLAYS=”” set – still the same output. Messages on tomvip from /root/XYMON/client/logs/hobbitclient.log: 2009-10-26 13:21:26 Whoops ! bb failed to send message - Connection failed 2009-10-26 13:31:31 Could not connect to user-2b2e6ee2dc22@xymon.invalid:1984 - No route to host 2009-10-26 13:31:31 Whoops ! bb failed to send message - Connection failed 2009-10-26 13:36:43 Could not connect to user-2b2e6ee2dc22@xymon.invalid:1984 - No route to host 2009-10-26 13:36:43 Whoops ! bb failed to send message - Connection failed 2009-10-26 13:41:37 Could not connect to user-2b2e6ee2dc22@xymon.invalid:1984 - No route to host 2009-10-26 13:41:37 Whoops ! bb failed to send message - Connection failed I can ping the monitor1 server with no problems. BB-HOSTS Entries for: (wrapped lines for ease of reading) MONITOR1: 127.0.0.1 monitor1.csw.l-3com.com # bbd conn ssh http://monitor1.csw.l-3com.com apache=http://monitor1.csw.l-3com.com/server-status? auto TRENDS:*,apache:apache|apache1|apache2|apache3 128.170.1.161 monitor2.csw.l-3com.com # bbd conn ssh http://monitor2.csw.l-3com.com apache=http://monitor2.csw.l-3com.com/server-status? auto TRENDS:*,apache:apache|apache1|apache2|apache3 128.170.1.203 tomvip.csw.l-3com.com # conn ssh tftp http://tomvip.csw.l-3com.com/ https://tomvip.csw.l-3com.com./ MONITOR2: 128.170.1.151 monitor1.csw.l-3com.com # bbd conn ssh http://monitor1.csw.l-3com.com apache=http://monitor1.csw.l-3com.com/server-status? auto TRENDS:*,apache:apache|apache1|apache2|apache3 127.0.0.1 monitor2.csw.l-3com.com # bbd conn ssh http://monitor2.csw.l-3com.com apache=http://monitor2.csw.l-3com.com/server-status? auto TRENDS:*,apache:apache|apache1|apache2|apache3 128.170.1.203 tomvip.csw.l-3com.com :q! # conn ssh tftp http://tomvip.csw.l-3com.com/ https://tomvip.csw.l-3com.com/ RULES for iptables (iptables –L): zCurrently Running: (iptables stopped) Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination [root at monitor2 ~]# When firewall is enabled: [root at monitor2 ~]# cat IPTABLES-L.txt Chain INPUT (policy ACCEPT) target prot opt source destination RH-Firewall-1-INPUT all -- anywhere anywhere Chain FORWARD (policy ACCEPT) target prot opt source destination RH-Firewall-1-INPUT all -- anywhere anywhere Chain OUTPUT (policy ACCEPT) target prot opt source destination Chain RH-Firewall-1-INPUT (2 references) target prot opt source destination ACCEPT all -- anywhere anywhere ACCEPT icmp -- anywhere anywhere icmp any ACCEPT esp -- anywhere anywhere ACCEPT ah -- anywhere anywhere ACCEPT udp -- anywhere 224.0.0.251 udp dpt:mdns ACCEPT udp -- anywhere anywhere udp dpt:ipp ACCEPT tcp -- anywhere anywhere tcp dpt:ipp ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:smtp ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh ACCEPT udp -- anywhere anywhere state NEW udp dpt:netbios-ns ACCEPT udp -- anywhere anywhere state NEW udp dpt:netbios-dgm ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:netbios-ssn ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:microsoft-ds ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:https ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:http ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:bb REJECT all -- anywhere anywhere reject-with icmp-host-prohibited [root at monitor2 ~]# I am getting more confused as I go along, something works and then it stops working and I am not sure what I did to change the results? Thanks, Tom Schmitt Senior IT Staff - R&D Phone (XXX) XXX-XXXX Cell (XXX) XXX-XXXX user-9c1ae820b621@xymon.invalid \\\\|||//// \ ~ ~ / | @ @ | --oOo---(_)---oOo--
Hotmail: Trusted email with powerful SPAM protection. http://clk.atdmt.com/GBL/go/177141665/direct/01/
list Tom Schmitt
It helps when you understand what you read.
Thanks T.J. Yang for the assistance - I is now working on the Linux servers.
I'll have to look at the BBWin fields next.
Thanks,
Tom Schmitt
Senior IT Staff - R&D
L-3 Communication Systems West
640 North 2200 West
P.O. Box 16850
Salt Lake City, UT XXXXX
Phone (XXX) XXX-XXXX
Cell (XXX) XXX-XXXX
eFax (XXX) XXX-XXXX
user-9c1ae820b621@xymon.invalid
\\\\|||////
\ ~ ~ /
| @ @ |
--oOo---(_)---oOo--
▸
-----Original Message-----
From: T.J. Yang [mailto:user-8e841282cda5@xymon.invalid]
Sent: Monday, November 02, 2009 12:15 PM
To: hobbit system monitoring
Subject: RE: [hobbit] Trying to send to dual xymon servers
Looks like you have both BBDISP and BBDISPLAYS configured wrong, see following example.
BBDISP="0.0.0.0" # IP address of the Hobbit server
BBDISPLAYS="hobbit1.test.com hobbit2.test.com" # IP of multiple Hobbit servers. BBDISP must be "0.0.0.0".
T.J. Yang
From: user-9c1ae820b621@xymon.invalid Date: Mon, 2 Nov 2009 11:13:28 -0700 To: user-ae9b8668bcde@xymon.invalid Subject: [hobbit] Trying to send to dual xymon servers Sorry for this entry being so long. I am trying to include as much info as possible. Running Xymon 4.3.0-0.beta2 on CentOS 5.3. I am trying to send to 2 xymon servers (Primary - monitor1, Secondary - monitor2) from multiple clients. CLIENTS BEING TESTED: o Linux (tomvip) o BBWin (sltst03) o Current BB clients that are in service (slcts00) It worked after we set the 1984 TCP port in the firewall for a short time and then quit. I am also having the same problem when setting the BBWin to point to both server (it works and then it stops to one of them). If I add both addresses to the actual BB windows client, they both report the exact same icons to both servers and the BB server. I was able to get both the BB and the BBWin clients to run on the same Windows server. We setup a different registry name for the BBWin client (e.g. slcts00 vs. slcts00.csw.L-3com.com for BB). I have the iptables firewalls on both monitor1 and monitor2 OFF. cd /etc/init.d ./iptables stop I get PURPLE icons on monitor1 and OK icons on monitor2: (for Linux, but just dashed for BBWin). G=green, W=white, P=purple conn cpu disk files http info memory/mem msgs ports procs ssh sslcert trends svcs Monitor1: tomvip.csw.l-3com.com G P P P G G P P P P G G G Monitor1: slcts00.csw.l-3com.com G G G G G G G G G (BB Client) Monitor1: sltst03.csw.L-3com.com G G G G G G G G G (BBWin also uptime, who) Monitor2: tomvip.csw.l-3com.com G G G W G G G G W W G G G Monitor1: slcts00.csw.l-3com.com G G G G G G G G G (BB Client) Monitor1: sltst03.csw.L-3com.com G -- -- G -- -- -- G -- (BBWin) tomvip.csw.l-3com.com: Beginning of file from /root/XYMON/client/etc/hobbitclient.cfg: #------------------------------------------------------------------------------ # You may not have to set HOBBITCLIENTHOME= or BBOSTYPE= but I set them here #------------------------------------------------------------------------------ # Directory for the Hobbit client files HOBBITCLIENTHOME=/root/XYMON/client BBOSTYPE=linux # List can include: # aix, dynix, greebsd, hp-ux, irix, linux # redhat, debian, openbsd, netbds, osf # sco, unixware, sunos, solaris, etc. # See: http://xymon.trantor.org/doku.php/monitors:bbswap # For setup up of an extension script to monitor swap space. #------------------------------------------------------------------------------ # TO REPORT TO MORE THAN ONE XYMON SERVER JUST ADD MORE THAN ONE BBDISP= LINE # You can use either the IP Addresses or the URLs. #------------------------------------------------------------------------------ BBDISP="monitor1.csw.l-3com.com" # IP address of the 1st Hobbit server BBDISP="monitor2.csw.l-3com.com" # IP address of the 2nd Hobbit server-if setup BBDISPLAYS="0.0.0.0" # IP of multiple Hobbit servers. # BBDISP must be "0.0.0.0". CONFIGCLASS="$BBOSTYPE" # Default configuration class for logfiles # PATH setting for the client scripts PATH="/bin:/usr/bin:/sbin:/usr/sbin:/etc" I have tried it without the BBDISPLAYS="" set - still the same output. Messages on tomvip from /root/XYMON/client/logs/hobbitclient.log: 2009-10-26 13:21:26 Whoops ! bb failed to send message - Connection failed 2009-10-26 13:31:31 Could not connect to user-2b2e6ee2dc22@xymon.invalid:1984 - No route to host 2009-10-26 13:31:31 Whoops ! bb failed to send message - Connection failed 2009-10-26 13:36:43 Could not connect to user-2b2e6ee2dc22@xymon.invalid:1984 - No route to host 2009-10-26 13:36:43 Whoops ! bb failed to send message - Connection failed 2009-10-26 13:41:37 Could not connect to user-2b2e6ee2dc22@xymon.invalid:1984 - No route to host 2009-10-26 13:41:37 Whoops ! bb failed to send message - Connection failed I can ping the monitor1 server with no problems. BB-HOSTS Entries for: (wrapped lines for ease of reading) MONITOR1: 127.0.0.1 monitor1.csw.l-3com.com # bbd conn ssh http://monitor1.csw.l-3com.com apache=http://monitor1.csw.l-3com.com/server-status? auto TRENDS:*,apache:apache|apache1|apache2|apache3 128.170.1.161 monitor2.csw.l-3com.com # bbd conn ssh http://monitor2.csw.l-3com.com apache=http://monitor2.csw.l-3com.com/server-status? auto TRENDS:*,apache:apache|apache1|apache2|apache3 128.170.1.203 tomvip.csw.l-3com.com # conn ssh tftp http://tomvip.csw.l-3com.com/ https://tomvip.csw.l-3com.com./ MONITOR2: 128.170.1.151 monitor1.csw.l-3com.com # bbd conn ssh http://monitor1.csw.l-3com.com apache=http://monitor1.csw.l-3com.com/server-status? auto TRENDS:*,apache:apache|apache1|apache2|apache3 127.0.0.1 monitor2.csw.l-3com.com # bbd conn ssh http://monitor2.csw.l-3com.com apache=http://monitor2.csw.l-3com.com/server-status? auto TRENDS:*,apache:apache|apache1|apache2|apache3 128.170.1.203 tomvip.csw.l-3com.com :q! # conn ssh tftp http://tomvip.csw.l-3com.com/ https://tomvip.csw.l-3com.com/ RULES for iptables (iptables -L): zCurrently Running: (iptables stopped) Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination [root at monitor2 ~]# When firewall is enabled: [root at monitor2 ~]# cat IPTABLES-L.txt Chain INPUT (policy ACCEPT) target prot opt source destination RH-Firewall-1-INPUT all -- anywhere anywhere Chain FORWARD (policy ACCEPT) target prot opt source destination RH-Firewall-1-INPUT all -- anywhere anywhere Chain OUTPUT (policy ACCEPT) target prot opt source destination Chain RH-Firewall-1-INPUT (2 references) target prot opt source destination ACCEPT all -- anywhere anywhere ACCEPT icmp -- anywhere anywhere icmp any ACCEPT esp -- anywhere anywhere ACCEPT ah -- anywhere anywhere ACCEPT udp -- anywhere 224.0.0.251 udp dpt:mdns ACCEPT udp -- anywhere anywhere udp dpt:ipp ACCEPT tcp -- anywhere anywhere tcp dpt:ipp ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:smtp ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh ACCEPT udp -- anywhere anywhere state NEW udp dpt:netbios-ns ACCEPT udp -- anywhere anywhere state NEW udp dpt:netbios-dgm ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:netbios-ssn ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:microsoft-ds ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:https ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:http ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:bb REJECT all -- anywhere anywhere reject-with icmp-host-prohibited [root at monitor2 ~]# I am getting more confused as I go along, something works and then it stops working and I am not sure what I did to change the results? Thanks, Tom Schmitt Senior IT Staff - R&D Phone (XXX) XXX-XXXX Cell (XXX) XXX-XXXX user-9c1ae820b621@xymon.invalid \\\\|||//// \ ~ ~ / | @ @ | --oOo---(_)---oOo--
Hotmail: Trusted email with powerful SPAM protection. http://clk.atdmt.com/GBL/go/177141665/direct/01/
list T.J. Yang
<user-7d2540db798f@xymon.invalid> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Hi=2C Tom You are welcome. The hobbit windows client does use the syntax of bbdisplay per-line=2C Mine looks like following and it work in an intranet setting. <bbwin> =A0=A0=A0 <setting name=3D"bbdisplay" value=3D"hobbit1.test.com" /> =A0=A0=A0 <setting name=3D"bbdisplay" value=3D"hobbit2.test.com" /> =A0=A0=A0=A0=A0=A0 =A0=A0=A0 <!-- BB Pager Part --> =A0=A0=A0 <!--<setting name=3D"usepager" value=3D"false" /> =A0=A0=A0 <setting name=3D"bbpager" value=3D"hobbit1.test.com" /> =A0=A0=A0 <setting name=3D"bbpager" value=3D"hobbit2.test.com" /> =A0=A0=A0 <setting name=3D"pagerlevels" value=3D"red yellow" />=20 =A0=A0=A0=A0=A0=A0=A0 --> =A0=A0=A0=20 =A0=A0=A0 <!-- proxy connection settings --> =A0=A0=A0 <!-- =A0=A0=A0 <setting name=3D"useproxy" value=3D"false" /> =A0=A0=A0 <setting name=3D"proxy" value=3D"[user:password@]host[:port]'/> =A0=A0=A0 --> =A0=A0=A0=20 =A0=A0=A0 <!-- bbwin mode local or central --> =A0=A0=A0 <setting name=3D"mode" value=3D"central" /> =A0=A0=A0 <setting name=3D"configclass" value=3D"win32" /> <snip>=A0=A0=A0=20 T.J. Yang
▸
From: user-9c1ae820b621@xymon.invalid Date: Mon=2C 2 Nov 2009 13:36:19 -0700 To: user-ae9b8668bcde@xymon.invalid Subject: RE: [hobbit] Trying to send to dual xymon servers It helps when you understand what you read.
Thanks T.J. Yang for the assistance - I is now working on the Linux serve=
rs.
I'll have to look at the BBWin fields next.
Thanks=2C
▸
Tom Schmitt
Senior IT Staff - R&D
L-3 Communication Systems West
640 North 2200 West
P.O. Box 16850
Salt Lake City=2C UT XXXXX
▸
Phone (XXX) XXX-XXXX
Cell (XXX) XXX-XXXX
eFax (XXX) XXX-XXXX
user-9c1ae820b621@xymon.invalid
\\\\|||////
\ ~ ~ /
| @ @ |
--oOo---(_)---oOo--
-----Original Message-----
From: T.J. Yang [mailto:user-8e841282cda5@xymon.invalid]
Sent: Monday=2C November 02=2C 2009 12:15 PM
To: hobbit system monitoring
Subject: RE: [hobbit] Trying to send to dual xymon servers
Looks like you have both BBDISP and BBDISPLAYS configured wrong=2C see fo=
llowing example.
BBDISP=3D"0.0.0.0" # IP address of the Hobbit server
BBDISPLAYS=3D"hobbit1.test.com hobbit2.test.com" # IP of multiple Hobbit =
▸
servers. BBDISP must be "0.0.0.0". T.J. YangFrom: user-9c1ae820b621@xymon.invalid Date: Mon=2C 2 Nov 2009 11:13:28 -0700 To: user-ae9b8668bcde@xymon.invalid Subject: [hobbit] Trying to send to dual xymon servers Sorry for this entry being so long. I am trying to include as much info as possible. Running Xymon 4.3.0-0.beta2 on CentOS 5.3.
I am trying to send to 2 xymon servers (Primary - monitor1=2C
▸
Secondary - monitor2) from multiple clients. CLIENTS BEING TESTED: o Linux (tomvip) o BBWin (sltst03) o Current BB clients that are in service (slcts00) It
worked after we set the 1984 TCP port in the firewall for a short time a= nd then
▸
quit. I am also having the same problem when setting the BBWin to point to both server (it works and then it stops to one of them).
If I add both addresses to the actual BB windows client=2C they
▸
both report the exact same icons to both servers and the BB server. I was able to get both the BB and the BBWin clients to run on the same Windows server. We setup a different registry name for the BBWin client (e.g. slcts00 vs. slcts00.csw.L-3com.com for BB). I have the iptables firewalls on both monitor1 and monitor2 OFF. cd /etc/init.d ./iptables stop I get PURPLE icons on monitor1 and OK icons on
monitor2: (for Linux=2C but just dashed for BBWin). G=3Dgreen=2C W=3Dwhite=2C P=3Dpurple
▸
conn cpu disk files http info memory/mem msgs ports procs ssh sslcert trends svcs Monitor1: tomvip.csw.l-3com.com G P P P G G P P P P G G G Monitor1: slcts00.csw.l-3com.com G G G G G G G G G (BB Client) Monitor1: sltst03.csw.L-3com.com G G G G G G G G G
(BBWin also uptime=2C who)
▸
Monitor2: tomvip.csw.l-3com.com G G G W G G G G W W G G G Monitor1: slcts00.csw.l-3com.com G G G G G G G G G (BB Client) Monitor1: sltst03.csw.L-3com.com G -- -- G -- -- -- G -- (BBWin) tomvip.csw.l-3com.com: Beginning of file from /root/XYMON/client/etc/hobbitclient.cfg: #-----------------------------------------------------------------------= # You may not have to set
HOBBITCLIENTHOME=3D or BBOSTYPE=3D but I set them here #-----------------------------------------------------------------------= # Directory for the Hobbit client files HOBBITCLIENTHOME=3D/root/XYMON/client BBOSTYPE=3Dlinux # List can include: # aix=2C dynix=2C greebsd=2C hp-ux=2C irix=2C linux # redhat=2C debian=2C openbsd=2C netbds=2C osf # sco=2C unixware=2C sunos=2C solaris=2C etc.
▸
# See: http://xymon.trantor.org/doku.php/monitors:bbswap # For setup up of an extension script to monitor swap space. #-----------------------------------------------------------------------= # TO REPORT TO MORE THAN ONE XYMON SERVER
JUST ADD MORE THAN ONE BBDISP=3D LINE # You can use either the IP Addresses or the URLs. #-----------------------------------------------------------------------= BBDISP=3D"monitor1.csw.l-3com.com" # IP address of the 1st Hobbit server BBDISP=3D"monitor2.csw.l-3com.com" # IP address of the 2nd Hobbit server-if setup BBDISPLAYS=3D"0.0.0.0" # IP of multiple Hobbit servers. # BBDISP must be "0.0.0.0". CONFIGCLASS=3D"$BBOSTYPE" # Default configuration class for logfiles # PATH setting for the client scripts PATH=3D"/bin:/usr/bin:/sbin:/usr/sbin:/etc" I have tried it without the BBDISPLAYS=3D""
▸
set - still the same output. Messages on tomvip from /root/XYMON/client/logs/hobbitclient.log: 2009-10-26 13:21:26 Whoops ! bb failed to send message - Connection failed 2009-10-26 13:31:31 Could not connect to user-2b2e6ee2dc22@xymon.invalid:1984 - No route to host 2009-10-26 13:31:31 Whoops ! bb failed to send message - Connection failed 2009-10-26 13:36:43 Could not connect to user-2b2e6ee2dc22@xymon.invalid:1984 - No route to host 2009-10-26 13:36:43 Whoops ! bb failed to send message - Connection failed 2009-10-26 13:41:37 Could not connect to user-2b2e6ee2dc22@xymon.invalid:1984 - No route to host 2009-10-26 13:41:37 Whoops ! bb failed to send message - Connection failed I can ping the monitor1 server with no problems. BB-HOSTS Entries for: (wrapped lines for ease of reading) MONITOR1: 127.0.0.1 monitor1.csw.l-3com.com # bbd conn ssh http://monitor1.csw.l-3com.com
apache=3D http://monitor1.csw.l-3com.com/server-status? auto TRENDS:*=2Capache:apache|apache1|apache2|apache3 128.170.1.161 monitor2.csw.l-3com.com # bbd conn ssh http://monitor2.csw.l-3com.com apache=3D http://monitor2.csw.l-3com.com/server-status? auto TRENDS:*=2Capache:apache|apache1|apache2|apache3 128.170.1.203 tomvip.csw.l-3com.com # conn ssh tftp http://tomvip.csw.l-3com.com/ https://tomvip.csw.l-3com.co= m./ MONITOR2: 128.170.1.151 monitor1.csw.l-3com.com # bbd conn ssh http://monitor1.csw.l-3com.com apache=3D http://monitor1.csw.l-3com.com/server-status? auto TRENDS:*=2Capache:apache|apache1|apache2|apache3 127.0.0.1 monitor2.csw.l-3com.com # bbd conn ssh http://monitor2.csw.l-3com.com apache=3D http://monitor2.csw.l-3com.com/server-status? auto TRENDS:*=2Capache:apache|apache1|apache2|apache3
▸
128.170.1.203 tomvip.csw.l-3com.com :q! # conn ssh tftp http://tomvip.csw.l-3com.com/ https://tomvip.csw.l-3com.com/ RULES for iptables (iptables -L): zCurrently Running: (iptables stopped) Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination [root at monitor2 ~]# When firewall is enabled: [root at monitor2 ~]# cat IPTABLES-L.txt Chain INPUT (policy ACCEPT) target prot opt source destination RH-Firewall-1-INPUT all -- anywhere anywhere Chain FORWARD (policy ACCEPT) target prot opt source destination RH-Firewall-1-INPUT all -- anywhere anywhere Chain OUTPUT (policy ACCEPT) target prot opt source destination Chain RH-Firewall-1-INPUT (2 references) target prot opt source destination ACCEPT all -- anywhere anywhere ACCEPT icmp -- anywhere anywhere icmp any ACCEPT esp -- anywhere anywhere ACCEPT ah -- anywhere anywhere ACCEPT udp -- anywhere 224.0.0.251 udp dpt:mdns ACCEPT udp -- anywhere anywhere udp dpt:ipp ACCEPT tcp -- anywhere anywhere tcp dpt:ipp ACCEPT all -- anywhere anywhere
state RELATED=2CESTABLISHED
▸
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:smtp ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh ACCEPT udp -- anywhere anywhere state NEW udp dpt:netbios-ns ACCEPT udp -- anywhere anywhere state NEW udp dpt:netbios-dgm ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:netbios-ssn ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:microsoft-ds ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:https ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:http ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:bb REJECT all -- anywhere anywhere reject-with icmp-host-prohibited [root at monitor2 ~]# I am getting more confused as
I go along=2C something works and then it stops working and I am not sur= e what I did to change the results? Thanks=2C
▸
Tom Schmitt Senior IT Staff - R&D Phone (XXX) XXX-XXXX Cell (XXX) XXX-XXXX user-9c1ae820b621@xymon.invalid \\\\|||//// \ ~ ~ / | @ @ | --oOo---(_)---oOo--Hotmail: Trusted email with powerful SPAM protection. http://clk.atdmt.com/GBL/go/177141665/direct/01/
To unsubscribe from the hobbit list=2C send an e-mail to
user-095ef1c764a2@xymon.invalid
9 07:51:00
To unsubscribe from the hobbit list=2C send an e-mail to user-095ef1c764a2@xymon.invalid
=20 Windows 7: It works the way you want. http://www.microsoft.com/Windows/windows-7/default.aspx?ocid=3DPID24727::T:= WLMTAGL:ON:WL:en-US:WWL_WIN_evergreen2:112009=