Changing the default xymon port
Hi,
Found the problem.
First, the server is running on port 1985.
But, used the full name in bb-hosts so I didn't get a match.
After changing that all the normal hobbitclient.sh tests came through.
I though the problem was the port....
My manual test still didn't work.
The manual test fault was because the hobbitclient.cfg don't export variables and so didn't get the BBPORT setting.
Just a simple "export BBPORT=1985" made the trick.
bash-2.05$ export BBPORT=1985
bash-2.05$ ./bb --debug 192.168.34.72 test
2010-01-27 08:41:59 Transport setup is:
2010-01-27 08:41:59 bbdportnumber = 1985
2010-01-27 08:41:59 bbdispproxyhost = NONE
2010-01-27 08:41:59 bbdispproxyport = 0
2010-01-27 08:41:59 Recipient listed as '192.168.34.72'
2010-01-27 08:41:59 Standard BB protocol on port 1985
2010-01-27 08:41:59 Will connect to address 192.168.34.72 port 1985
2010-01-27 08:41:59 Connect status is 0
2010-01-27 08:41:59 Sent 4 bytes
2010-01-27 08:41:59 Closing connection
bash-2.05$
Malcoms test will also do the trick
bash-2.05$ ./bb --debug 192.168.34.72:1986 test
2010-01-27 08:44:10 Transport setup is:
2010-01-27 08:44:10 bbdportnumber = 1985
2010-01-27 08:44:10 bbdispproxyhost = NONE
2010-01-27 08:44:10 bbdispproxyport = 0
2010-01-27 08:44:10 Recipient listed as '192.168.34.72:1986'
2010-01-27 08:44:10 Standard BB protocol on port 1986
2010-01-27 08:44:10 Will connect to address 192.168.34.72 port 1986
- Roland
On 25/01/10 07:49 PM, Malcolm Hunter wrote:
Found the problem.
First, the server is running on port 1985.
But, used the full name in bb-hosts so I didn't get a match.
After changing that all the normal hobbitclient.sh tests came through.
I though the problem was the port....
My manual test still didn't work.
The manual test fault was because the hobbitclient.cfg don't export variables and so didn't get the BBPORT setting.
Just a simple "export BBPORT=1985" made the trick.
bash-2.05$ export BBPORT=1985
bash-2.05$ ./bb --debug 192.168.34.72 test
2010-01-27 08:41:59 Transport setup is:
2010-01-27 08:41:59 bbdportnumber = 1985
2010-01-27 08:41:59 bbdispproxyhost = NONE
2010-01-27 08:41:59 bbdispproxyport = 0
2010-01-27 08:41:59 Recipient listed as '192.168.34.72'
2010-01-27 08:41:59 Standard BB protocol on port 1985
2010-01-27 08:41:59 Will connect to address 192.168.34.72 port 1985
2010-01-27 08:41:59 Connect status is 0
2010-01-27 08:41:59 Sent 4 bytes
2010-01-27 08:41:59 Closing connection
bash-2.05$
Malcoms test will also do the trick
bash-2.05$ ./bb --debug 192.168.34.72:1986 test
2010-01-27 08:44:10 Transport setup is:
2010-01-27 08:44:10 bbdportnumber = 1985
2010-01-27 08:44:10 bbdispproxyhost = NONE
2010-01-27 08:44:10 bbdispproxyport = 0
2010-01-27 08:44:10 Recipient listed as '192.168.34.72:1986'
2010-01-27 08:44:10 Standard BB protocol on port 1986
2010-01-27 08:44:10 Will connect to address 192.168.34.72 port 1986
- Roland
On 25/01/10 07:49 PM, Malcolm Hunter wrote:
I'm running Hobbit server version 4.3.0-0.beta2 on Solaris 10 X86. I'm running Hobbit client version 4.3.0-0.beta2 on Solaris 9 SPARC. Currently we have a BB server running on port 1984 To test and migrate to Xymon I tried to run Xymon on port 1985 But it doesn't seem to work. It uses default 1984 even though I specify port 1985. bash-2.05$ bin/bb --debug 192.168.34.72 test 2010-01-25 11:42:55 Transport setup is: 2010-01-25 11:42:55 bbdportnumber = 1984 2010-01-25 11:42:55 bbdispproxyhost = NONE 2010-01-25 11:42:55 bbdispproxyport = 0 2010-01-25 11:42:55 Recipient listed as '192.168.34.72' 2010-01-25 11:42:55 Standard BB protocol on port 1984 2010-01-25 11:42:55 Will connect to address 192.168.34.72 port 1984 2010-01-25 11:42:55 Connect status is 0 2010-01-25 11:42:55 Sent 4 bytes 2010-01-25 11:42:55 Closing connection bash-2.05$ pwd /usr/local/xymon/client bash-2.05$ ls etc clientlaunch.cfg hobbitclient.cfg localclient.cfg bash-2.05$ grep 198 etc/hobbitclient.cfg etc/hobbitclient.cfg:BBPORT="1985" # Portnumber wherehobbitd listens Any ideas why this isn't working.Try: bin/bb --debug 192.168.34.72:1985 test Malcolm
--
Best Regards,
|
Roland
Soderstrom | Senior
System
Administrator |
|
Disclaimer: This message contains privileged and confidential
information intended only for the use of the addressee named above.
If you are not the intended recipient of this message you must not
disseminate, copy or take any action in reliance on it.
Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be the views of the
company.