Xymon Mailing List Archive search

xympnproxy and xymonnet

4 messages in this thread

list Steve Holmes · Tue, 29 Jan 2013 13:03:45 -0500 ·
I have a dual Xymon server setup. There is a main display server in a
network context that allows connections to apache, etc, There is a network
tester which is buried deep in the middle of the network which can do
network tests to everything in the network. We also have a legacy private
network which can't send client messages to the display server, but the
network test server has an interface on that private network. The network
tester is also running xymond because I didn't realize I could run the
server without it. [The network test server is configured with $XYMSRV set
to the IP of the display server.  The docs are really not clear on how to
set up a network test server.]

In tasks,cfg I see

# This is the main Xymon daemon. This must be running on at least
# one server in your setup. If you are setting up a server to do
# just network tests or run xymonproxy, it is OK to disable this (then
# you also need to remove the "NEEDS xymond" lines for the tasks
# you want to run).
[xymond]

which implies I don't need xymond on the network tester. But, of course it
will need xymonnet.

Can I safely turn off xymond there (removing the mentioned NEEDS) and turn
on xymonproxy to try to get our private network hosts in the game? Will the
network tester then continue to send data messages to the display server as
it currently does or do I need to do something different to get it to use
xymonproxy for that? I'm not really sure how it would know to send data to
the display server without xymond running, but apparently it would (?).

Thanks,
Steve

-- 
If they give you ruled paper, write the other way. -Juan Ramon Jimenez,
poet, Nobel Prize in literature (1881-1958)
I prayed for freedom for twenty years, but received no answer until I
prayed with my legs. -Frederick Douglass, Former slave, abolitionist,
editor, and orator (1817-1895)
list Japheth Cleaver · Tue, 29 Jan 2013 13:26:35 -0800 (PST) ·
quoted from Steve Holmes
I have a dual Xymon server setup. There is a main display server in a
network context that allows connections to apache, etc, There is a network
tester which is buried deep in the middle of the network which can do
network tests to everything in the network. We also have a legacy private
network which can't send client messages to the display server, but the
network test server has an interface on that private network. The network
tester is also running xymond because I didn't realize I could run the
server without it. [The network test server is configured with $XYMSRV set
to the IP of the display server.  The docs are really not clear on how to
set up a network test server.]

In tasks,cfg I see

# This is the main Xymon daemon. This must be running on at least
# one server in your setup. If you are setting up a server to do
# just network tests or run xymonproxy, it is OK to disable this (then
# you also need to remove the "NEEDS xymond" lines for the tasks
# you want to run).
[xymond]

which implies I don't need xymond on the network tester. But, of course it
will need xymonnet.

Can I safely turn off xymond there (removing the mentioned NEEDS) and turn
on xymonproxy to try to get our private network hosts in the game? Will
the
network tester then continue to send data messages to the display server
as
it currently does or do I need to do something different to get it to use
xymonproxy for that? I'm not really sure how it would know to send data to
the display server without xymond running, but apparently it would (?).
Correct; you can set up the system on the network poller exactly as if it
were a full xymon server running xymond locally, then disable [xymond],
remove the 'NEEDS xymond' from [xymonnet], and enable [xymonproxy] with
--server= in the relevant tasks.cfg stanza set to the IP of the real
server.

Theoretically, it should be pretty transparent for both your xymonnet
instance as well as any pollers or clients reporting in to it.

Regards,

-jc
list Sean Clark · Wed, 30 Jan 2013 10:36:58 -0500 ·
An intestesting thing to do (if you have a lot of pollers especially) is
to setup xymonproxy on each poller, and have things downstream report to
it, and have the poller report up to your main xymon display. This will
smooth out messages via combo-ing to your  main display.

But yeah, the polling tasks are actually independent of xymond -- they
don't need it to run - just things that talk to the channel require it


On 1/29/13 4:26 PM, "user-87556346d4af@xymon.invalid" <user-87556346d4af@xymon.invalid>
quoted from Japheth Cleaver
wrote:
I have a dual Xymon server setup. There is a main display server in a
network context that allows connections to apache, etc, There is a
network
tester which is buried deep in the middle of the network which can do
network tests to everything in the network. We also have a legacy
private
network which can't send client messages to the display server, but the
network test server has an interface on that private network. The
network
tester is also running xymond because I didn't realize I could run the
server without it. [The network test server is configured with $XYMSRV
set
to the IP of the display server.  The docs are really not clear on how
to
set up a network test server.]

In tasks,cfg I see

# This is the main Xymon daemon. This must be running on at least
# one server in your setup. If you are setting up a server to do
# just network tests or run xymonproxy, it is OK to disable this (then
# you also need to remove the "NEEDS xymond" lines for the tasks
# you want to run).
[xymond]

which implies I don't need xymond on the network tester. But, of course
it
will need xymonnet.

Can I safely turn off xymond there (removing the mentioned NEEDS) and
turn
on xymonproxy to try to get our private network hosts in the game? Will
the
network tester then continue to send data messages to the display server
as
it currently does or do I need to do something different to get it to
use
xymonproxy for that? I'm not really sure how it would know to send data
to
the display server without xymond running, but apparently it would (?).
Correct; you can set up the system on the network poller exactly as if it
were a full xymon server running xymond locally, then disable [xymond],
remove the 'NEEDS xymond' from [xymonnet], and enable [xymonproxy] with
--server= in the relevant tasks.cfg stanza set to the IP of the real
server.

Theoretically, it should be pretty transparent for both your xymonnet
instance as well as any pollers or clients reporting in to it.

Regards,

-jc

This E-mail and any of its attachments may contain Time Warner Cable proprietary information, which is privileged, confidential, or subject to copyright belonging to Time Warner Cable. This E-mail is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient of this E-mail, you are hereby notified that any dissemination, distribution, copying, or action taken in relation to the contents of and attachments to this E-mail is strictly prohibited and may be unlawful. If you have received this E-mail in error, please notify the sender immediately and permanently delete the original and any copy of this E-mail and any printout.
list Steve Holmes · Wed, 30 Jan 2013 11:18:42 -0500 ·
It works like a charm.
Thanks!
Steve
quoted from Sean Clark

On Tue, Jan 29, 2013 at 4:26 PM, <user-87556346d4af@xymon.invalid> wrote:
I have a dual Xymon server setup. There is a main display server in a
network context that allows connections to apache, etc, There is a
network
tester which is buried deep in the middle of the network which can do
network tests to everything in the network. We also have a legacy private
network which can't send client messages to the display server, but the
network test server has an interface on that private network. The network
tester is also running xymond because I didn't realize I could run the
server without it. [The network test server is configured with $XYMSRV
set
to the IP of the display server.  The docs are really not clear on how to
set up a network test server.]

In tasks,cfg I see

# This is the main Xymon daemon. This must be running on at least
# one server in your setup. If you are setting up a server to do
# just network tests or run xymonproxy, it is OK to disable this (then
# you also need to remove the "NEEDS xymond" lines for the tasks
# you want to run).
[xymond]

which implies I don't need xymond on the network tester. But, of course
it
will need xymonnet.

Can I safely turn off xymond there (removing the mentioned NEEDS) and
turn
on xymonproxy to try to get our private network hosts in the game? Will
the
network tester then continue to send data messages to the display server
as
it currently does or do I need to do something different to get it to use
xymonproxy for that? I'm not really sure how it would know to send data
to
the display server without xymond running, but apparently it would (?).
Correct; you can set up the system on the network poller exactly as if it
were a full xymon server running xymond locally, then disable [xymond],
remove the 'NEEDS xymond' from [xymonnet], and enable [xymonproxy] with
--server= in the relevant tasks.cfg stanza set to the IP of the real
server.

Theoretically, it should be pretty transparent for both your xymonnet
instance as well as any pollers or clients reporting in to it.

Regards,

-jc

-- 
If they give you ruled paper, write the other way. -Juan Ramon Jimenez,
poet, Nobel Prize in literature (1881-1958)

I prayed for freedom for twenty years, but received no answer until I
prayed with my legs. -Frederick Douglass, Former slave, abolitionist,
editor, and orator (1817-1895)