Xymon Mailing List Archive search

talk to xymond on another port ?

4 messages in this thread

list Martin Flemming · Thu, 18 Nov 2010 11:56:25 +0100 (CET) ·
Hi !

i want to communicate with the xymond on my server,
where a xymonproxy is also running ..

The proxy is running with

bbproxy --servers=IP.NUM.BER:1985,IP.NUM.BER:1984

So, the xymond is running on port 1985, and the xymonproxy on 1984

Normaly i can make follows

e.g.:
remote

/usr/lib/hobbit/server/bin/bb IP.NUM.BER "hobbitdboard fields=hostname"

or local

/usr/lib/hobbit/server/bin/bb 127.0.0.1 "hobbitdboard fields=hostname"

But whats the right command for a request to xymond on a different Port ?


Thanks & cheers


        Martin
list Martin Flemming · Thu, 18 Nov 2010 22:24:13 +0100 (CET) ·
Hmm, stupid question :-(

export BBPORT=1985
or in perl
my $BBPORT = 1985;

cheers,
 	martin
quoted from Martin Flemming


On Thu, 18 Nov 2010, user-f286aaa49a76@xymon.invalid wrote:
Hi !

i want to communicate with the xymond on my server,
where a xymonproxy is also running ..

The proxy is running with

bbproxy --servers=IP.NUM.BER:1985,IP.NUM.BER:1984
/usr/lib/hobbit/server/bin/bb IP.NUM.BER "hobbitdboard fields=hostname"> 
quoted from Martin Flemming
So, the xymond is running on port 1985, and the xymonproxy on 1984
Normaly i can make follows

e.g.:
remote

/usr/lib/hobbit/server/bin/bb IP.NUM.BER "hobbitdboard fields=hostname"

or local

/usr/lib/hobbit/server/bin/bb 127.0.0.1 "hobbitdboard fields=hostname"

But whats the right command for a request to xymond on a different Port ?


Thanks & cheers


      Martin

list Tim McCloskey · Thu, 18 Nov 2010 13:31:30 -0800 ·
What about this:  /usr/lib/hobbit/server/bin/bb IP.NUM.BER:1985 "hobbitdboard fields=hostname"
or 127.0.0.1:1993
quoted from Martin Flemming
e.g.:
remote

/usr/lib/hobbit/server/bin/bb IP.NUM.BER "hobbitdboard fields=hostname"

or local

/usr/lib/hobbit/server/bin/bb 127.0.0.1 "hobbitdboard fields=hostname"
list Martin Flemming · Thu, 18 Nov 2010 22:37:51 +0100 (CET) ·

Yep, much better :-)

thanks
quoted from Tim McCloskey
 	martin


On Thu, 18 Nov 2010, Tim McCloskey wrote:
What about this:  /usr/lib/hobbit/server/bin/bb IP.NUM.BER:1985 "hobbitdboard fields=hostname"
or 127.0.0.1:1993
e.g.:
remote

/usr/lib/hobbit/server/bin/bb IP.NUM.BER "hobbitdboard fields=hostname"

or local

/usr/lib/hobbit/server/bin/bb 127.0.0.1 "hobbitdboard fields=hostname"
Gruss

        Martin Flemming


Martin Flemming
DESY / IT          office : Building 2b / 008a
Notkestr. 85       phone  : XXX - XXXX - XXXX
22603 Hamburg      mail   : user-f286aaa49a76@xymon.invalid