Zabbix-PyOra-ActiveCheck icon indicating copy to clipboard operation
Zabbix-PyOra-ActiveCheck copied to clipboard

Multiple instance in the same server

Open ccbezerra opened this issue 6 years ago • 4 comments

Hi,

I have 5 instance, sometimes more, in the same server. How can I monitor all instances ?

ccbezerra avatar Nov 09 '18 01:11 ccbezerra

You can use macros {$DATABASE} - databases SID. Or slightly change script pyora-discovery.py and use different ports (not 1521). pyora-active.py already have argument --port.

Lelik13a avatar Nov 09 '18 03:11 Lelik13a

How can I do ? On macro ${DATABASE} I tried to use "orcl, prod" or "orcl prod" but didn´t work.

ccbezerra avatar Nov 09 '18 11:11 ccbezerra

You must use own zabbix host for every SID. Like: "Host_ORCL"; macro ${DATABASE} "ORCL" "Host_PROD"; macro ${DATABASE} "PROD"

Lelik13a avatar Nov 09 '18 12:11 Lelik13a

And what about monitoring 12c with pluggable databases? Each of them have separate set fo tablespaces, but only one sid for entire CDB.

dan-aksenov avatar Apr 19 '19 11:04 dan-aksenov