Zabbix-PyOra-ActiveCheck
Zabbix-PyOra-ActiveCheck copied to clipboard
Multiple instance in the same server
Hi,
I have 5 instance, sometimes more, in the same server. How can I monitor all instances ?
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.
How can I do ? On macro ${DATABASE} I tried to use "orcl, prod" or "orcl prod" but didn´t work.
You must use own zabbix host for every SID. Like: "Host_ORCL"; macro ${DATABASE} "ORCL" "Host_PROD"; macro ${DATABASE} "PROD"
And what about monitoring 12c with pluggable databases? Each of them have separate set fo tablespaces, but only one sid for entire CDB.