Xymon Mailing List Archive search

Oratns

2 messages in this thread

list Vernon Everett · Wed, 2 Aug 2006 09:36:28 +0800 ·
Hi all

Some assistance with bb-hosts please.

If I want to check for an oracle listener, my line looks like this

1.2.3.4	name.domain.com # oratns:1545
This will check for an Oracle listener on port 1545

How do I make it check for more than one Oracle listener?
For reasons unknown to me, we are running multiple listeners on separate
ports on a server.
Should I have multiple oratns entries (so my line looks like this)
1.2.3.4	name.domain.com # oratns:1545 oratns 1546

Or can we do it like this
1.2.3.4	name.domain.com # oratns:1545:1546

Ordinarily, I would just run a few tests, but bring down one of the
listeners on a production server as a test could prove to be a serious
CLM.

Regards
   Vernon
list Henrik Størner · Wed, 2 Aug 2006 09:25:58 +0200 ·
quoted from Vernon Everett
On Wed, Aug 02, 2006 at 09:36:28AM +0800, Everett, Vernon wrote:
How do I make it check for more than one Oracle listener?
For reasons unknown to me, we are running multiple listeners on separate
ports on a server.
I'm surprised - I thought you could not have more than one tns listener
per system. Oh well - I don't know one bit about Oracle DB; I've only
worked with their J2EE application server.

The problem with it is that even though you can put multiple "oratns"
tests into the bb-hosts file, each of them will cause a separate status
message. So what you'll see on the Hobbit display is the result of only 
one of the tests.

My best suggestion is to copy the [oratns] section in bb-services so
you have [oratns], [oratns1], [oratns2] and so up to the number of
listeners you have on a single host. Then you can define them with
their respective port numbers in the bb-hosts file, like

1.2.3.4	name.domain.com # oratns1:1545 oratns2:1546

Then there will be separate status columns for each of the listeners.


Regards,
Henrik