talk to xymond on another port ?
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
Hmm, stupid question :-(
export BBPORT=1985 or in perl my $BBPORT = 1985;
cheers, martin
On Thu, 18 Nov 2010, martin.flemming at desy.de 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"> 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
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"
Yep, much better :-)
thanks 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 : 040 - 8998 - 4667 22603 Hamburg mail : martin.flemming at desy.de
participants (2)
-
martin.flemming@desy.de
-
tm@freedom.com