diff --git a/bin/zbx_discover_oradbs b/bin/zbxora_discover_dbs
similarity index 93%
rename from bin/zbx_discover_oradbs
rename to bin/zbxora_discover_dbs
index 54f1467..72d09df 100755
--- a/bin/zbx_discover_oradbs
+++ b/bin/zbxora_discover_dbs
@@ -32,7 +32,7 @@ list_listener()
fi
}
-cat $HOME/etc/$ME.cfg|while read group cluster nodes
+cat $HOME/etc/$ME.cfg|grep -v " *#"|while read group cluster nodes
do
echo nodes $nodes >&2
list_listener "$group" "$cluster" "$nodes"
diff --git a/etc/zbx_discover_oradbs.cfg b/etc/zbx_discover_oradbs.cfg
deleted file mode 100644
index c7d7a73..0000000
--- a/etc/zbx_discover_oradbs.cfg
+++ /dev/null
@@ -1,3 +0,0 @@
-customerA clusterA nodeA1.intra.customerA.nl nodeA2.intra.customerA.nl
-customerA clusterB nodeB1.intra.customerA.nl nodeB2.intra.customerA.nl
-customerA "" srv-ora-001.intra.customerA.nl
diff --git a/etc/zbxora_discover_dbs.cfg b/etc/zbxora_discover_dbs.cfg
new file mode 100644
index 0000000..3182110
--- /dev/null
+++ b/etc/zbxora_discover_dbs.cfg
@@ -0,0 +1,12 @@
+# just a blank separated list
+# col1 group
+# col2 clusterID
+# col3- machines that need to be discovered
+# conventions are:
+# 1) hostname will be {group}_{clusterID}_{dbname}
+# 2) hostname will be {group}_{instance_name} when clusterID is ""
+# 3) dbname the instance_names without the trailing digit
+# so instance orcl1 and orcl2 will form dbname orcl when in cluster
+customerA clusterA nodeA1.intra.customerA.nl nodeA2.intra.customerA.nl
+customerA clusterB nodeB1.intra.customerA.nl nodeB2.intra.customerA.nl
+customerA "" srv-ora-001.intra.customerA.nl
diff --git a/zbxora_alertlog_template_zabbix-3.0.xml b/zbxora_alertlog_template_zabbix-3.0.xml
new file mode 100644
index 0000000..b6328b6
--- /dev/null
+++ b/zbxora_alertlog_template_zabbix-3.0.xml
@@ -0,0 +1,200 @@
+
+
+ 3.0
+ 2018-02-15T08:52:30Z
+
+
+ TEMPLATES
+
+
+
+
+ template zbx_alertlog
+ template zbx_alertlog
+ for alertlog discovery on every database server with a zabbix agent
+
+
+ TEMPLATES
+
+
+
+
+ oracle
+
+
+
+
+
+ oracle.alertlog.lld
+ 7
+
+
+ oracle.alertlog.lld
+ 600
+ 0
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+
+ 14
+
+
+
+ {#INSTANCE_NAME}[alertlog]
+ 7
+
+ 0
+
+ log[{#ALERTLOG},(ORA-|time=|ERROR)]
+ 60
+ 8
+ 0
+ 0
+ 2
+
+
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1
+
+
+
+ 0
+ 0
+
+
+
+
+
+
+ 0
+
+
+ oracle
+
+
+
+ <msg time='yyyy-MM-ddThh:mm:ss
+
+
+
+
+
+ {template zbx_alertlog:log[{#ALERTLOG},(ORA-|time=|ERROR)].iregexp("^ORA-0*403(0|1|2|3|5|6):",2h)}=1
+ {#INSTANCE_NAME}[alertlog] allocate pga/shared
+
+ 0
+ 3
+ memory problems shared pool or pga
+ 0
+
+
+
+ {template zbx_alertlog:log[{#ALERTLOG},(ORA-|time=|ERROR)].iregexp("^ORA-0*1578:",1h)}=1
+ {#INSTANCE_NAME}[alertlog] corrupted block[s]
+
+ 0
+ 4
+ block corruption
+ 0
+
+
+
+ {template zbx_alertlog:log[{#ALERTLOG},(ORA-|time=|ERROR)].iregexp(".*DEADLOCK.*",5m)}=1
+ {#INSTANCE_NAME}[alertlog] deadlock
+
+ 0
+ 1
+ kan zijn: ORA-00060 maar ook: Global Enqueue Services Deadlock detected dus op text blijven scannen
+ 0
+
+
+
+ {template zbx_alertlog:log[{#ALERTLOG},(ORA-|time=|ERROR)].iregexp("^ORA-12012:",1h)}=1
+ {#INSTANCE_NAME}[alertlog] error on auto executed job
+
+ 0
+ 1
+
+ 0
+
+
+
+ {template zbx_alertlog:log[{#ALERTLOG},(ORA-|time=|ERROR)].iregexp("^ORA-0*(600|7445):",2h)}=1
+ {#INSTANCE_NAME}[alertlog] has internal error[s]
+
+ 0
+ 1
+ internal errors like 00600 07445
+ 0
+
+
+
+ {template zbx_alertlog:log[{#ALERTLOG},(ORA-|time=|ERROR)].iregexp(".*ORA-0*(1652|1653|1683|1691|1692|30036):",2h)}=1
+ {#INSTANCE_NAME}[alertlog] has unable to extend ...
+
+ 0
+ 4
+
+ 0
+
+
+
+ {template zbx_alertlog:log[{#ALERTLOG},(ORA-|time=|ERROR)].iregexp("^ORA-0*(19809|18|20|1000):",2h)}=1
+ {#INSTANCE_NAME}[alertlog] limit exceeded
+
+ 0
+ 4
+ ORA-00018.Maximum number of sessions exceed
+ORA-00020: maximum number of processes exceeded
+ORA-01000: maximum open cursors exceeded
+ORA-19809 limit exceeded for recovery files
+ 0
+
+
+
+ {template zbx_alertlog:log[{#ALERTLOG},(ORA-|time=|ERROR)].iregexp("^ERROR: Unable to get logical block size for spfile",10m)}=1
+ {#INSTANCE_NAME}[alertlog] spfile problem
+
+ 0
+ 1
+ ERROR: Unable to get logical block size for spfile
+mogelijk spfile opnieuw aanmaken en alias maken naar actieve locatie
+ 0
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/zbx_export_templates.xml b/zbxora_template_zabbix-2.0.xml
similarity index 100%
rename from zbx_export_templates.xml
rename to zbxora_template_zabbix-2.0.xml
diff --git a/zbxora_template_zabbix-3.0.xml b/zbxora_template_zabbix-3.0.xml
new file mode 100644
index 0000000..64d6ec1
--- /dev/null
+++ b/zbxora_template_zabbix-3.0.xml
@@ -0,0 +1,5168 @@
+
+
+ 3.0
+ 2018-02-15T08:50:04Z
+
+
+ TEMPLATES
+
+
+
+
+ template zbxORA
+ template zbxORA
+ Oracle monitoring done by zbxora
+
+
+ TEMPLATES
+
+
+
+
+ ACFS
+
+
+ ASM
+
+
+ ASMVG
+
+
+ backup
+
+
+ db
+
+
+ inst
+
+
+ inst.parm
+
+
+ locks
+
+
+ tsmaxsize
+
+
+ tspctfree
+
+
+ tssize
+
+
+ tsused
+
+
+ ttsmaxsize
+
+
+ ttspctfree
+
+
+ ttssize
+
+
+ ttsused
+
+
+ undoTS
+
+
+ users
+
+
+ zbxora
+
+
+
+ -
+ blocked[count]
+ 2
+
+ 0
+
+ blocked[count]
+ 0
+ 7
+ 365
+ 0
+ 3
+
+
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1
+
+
+
+ 0
+ 0
+
+
+
+
+
+
+ 0
+
+
+ locks
+
+
+
+
+
+ -
+ blocked[topsid]
+ 2
+
+ 0
+
+ blocked[topsid]
+ 0
+ 14
+ 0
+ 0
+ 1
+
+
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1
+
+
+
+ 0
+ 0
+
+
+
+
+
+ instance#/sid(#victims)
+ 0
+
+
+ locks
+
+
+
+
+
+ -
+ db[current_scn]
+ 2
+
+ 0
+
+ db[current_scn]
+ 0
+ 7
+ 365
+ 0
+ 3
+
+
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1
+
+
+
+ 0
+ 0
+
+
+
+
+
+ system change delta, useful for activity comparisons
+ 0
+
+
+ db
+
+
+
+
+
+ -
+ db[delta_scn]
+ 2
+
+ 0
+
+ db[delta_scn]
+ 0
+ 7
+ 365
+ 0
+ 0
+
+
+ 1
+
+
+ 0
+ 0
+
+ 0
+
+ 1
+
+
+
+ 0
+ 0
+
+
+
+
+
+
+ 0
+
+
+ db
+
+
+
+
+
+ -
+ db[last_patch_hist]
+ 2
+
+ 0
+
+ db[last_patch_hist]
+ 0
+ 700
+ 0
+ 0
+ 1
+
+
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1
+
+
+
+ 0
+ 0
+
+
+
+
+
+ last patch action in the registry
+ 0
+
+
+ db
+
+
+
+
+
+ -
+ fra[files]
+ 2
+
+ 0
+
+ fra[files]
+ 0
+ 7
+ 365
+ 0
+ 3
+
+
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1
+
+
+
+ 0
+ 0
+
+
+
+
+
+
+ 0
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 365
+ 0
+ 3
+
+ B
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1048576
+
+
+
+ 0
+ 0
+
+
+
+
+
+
+ 0
+
+
+ ASMVG
+
+
+
+
+
+
+
+
+
+ {template zbxORA:acfs[{#ASMVOL},pct_free].timeleft(14d,0,0)}<14d or {template zbxORA:acfs[{#ASMVOL},pct_free].timeleft(7d,0,0)}<14d
+ asmVG {#ASMVOL} loopt binnen 14d vol
+
+ 0
+ 0
+ gebaseerd op de gegevens van de laatste 14 of van de laatste 7 dagen lijkt dit asm volume vol te lopen binnen 14 dagen.
+ 0
+
+
+
+
+
+
+
+ acfs_fs
+ 2
+
+
+ acfs_fs.lld
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+
+ 30
+ acfs filesystems
+
+
+ acfs_fs[{#ACFS_FS},pct_free]
+ 2
+
+ 0
+
+ acfs_fs[{#ACFS_FS},pct_free]
+ 0
+ 7
+ 365
+ 0
+ 0
+
+ %
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1
+
+
+
+ 0
+ 0
+
+
+
+
+
+
+ 0
+
+
+ ACFS
+
+
+
+
+
+
+
+ acfs_fs[{#ACFS_FS},total_mb]
+ 2
+
+ 1
+
+ acfs_fs[{#ACFS_FS},total_mb]
+ 0
+ 7
+ 365
+ 0
+ 3
+
+ B
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1048567
+
+
+
+ 0
+ 0
+
+
+
+
+
+
+ 0
+
+
+ ACFS
+
+
+
+
+
+
+
+ acfs_fs[{#ACFS_FS},used_mb]
+ 2
+
+ 1
+
+ acfs_fs[{#ACFS_FS},used_mb]
+ 0
+ 7
+ 365
+ 0
+ 3
+
+ B
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1048576
+
+
+
+ 0
+ 0
+
+
+
+
+
+
+ 0
+
+
+ ACFS
+
+
+
+
+
+
+
+
+
+ {template zbxORA:acfs_fs[{#ACFS_FS},pct_free].timeleft(14d,0,0)}<14d or {template zbxORA:acfs_fs[{#ACFS_FS},pct_free].timeleft(7d,0,0)}<14d
+ acfs fs {#ACFS_FS} loopt binnen 14d vol
+
+ 0
+ 2
+ gebaseerd op de gegevens van de laatste 14 of 7 dagen lijkt dit fs vol te lopen binnen 14 dagen.
+ 0
+
+
+
+
+
+
+
+ arl_dest.lld
+ 2
+
+
+ arl_dest.lld
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+
+ 30
+ active archive log destinations
+
+
+ arl_dest[{#INST_NAME},{#ARL_DEST},error]
+ 2
+
+ 0
+
+ arl_dest[{#INST_NAME},{#ARL_DEST},error]
+ 0
+ 90
+ 0
+ 0
+ 4
+
+
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1
+
+
+
+ 0
+ 0
+
+
+
+
+
+
+ 0
+
+
+ backup
+
+
+
+
+
+
+
+ arl_dest[{#INST_NAME},{#ARL_DEST},sequence]
+ 2
+
+ 0
+
+ arl_dest[{#INST_NAME},{#ARL_DEST},sequence]
+ 0
+ 7
+ 365
+ 0
+ 3
+
+
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1
+
+
+
+ 0
+ 0
+
+
+
+
+
+
+ 0
+
+
+ backup
+
+
+
+
+
+
+
+ arl_dest[{#INST_NAME},{#ARL_DEST},status]
+ 2
+
+ 0
+
+ arl_dest[{#INST_NAME},{#ARL_DEST},status]
+ 0
+ 7
+ 365
+ 0
+ 3
+
+
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1
+
+
+
+ 0
+ 0
+
+
+
+
+
+ archive destination status
+ 0
+
+
+ backup
+
+
+
+ zbxora arl_dest
+
+
+
+
+
+
+
+ {template zbxORA:arl_dest[{#INST_NAME},{#ARL_DEST},status].last(30m)}>1
+ arl_dest[{#INST_NAME},{#ARL_DEST}] ! VALID
+
+ 0
+ 4
+ ARL destination not in (VALID(0) and DEFERRED(1))
+ 0
+
+
+
+
+
+
+
+ dbnames
+ 2
+
+
+ db.lld
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+
+ 30
+
+
+
+ {#PDB} openstatus
+ 2
+
+ 0
+
+ db[{#PDB},openstatus]
+ 0
+ 7
+ 365
+ 0
+ 3
+
+
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1
+
+
+
+ 0
+ 0
+
+
+
+
+
+
+ 0
+
+
+ db
+
+
+
+ zbxora db.openstatus
+
+
+
+
+
+
+
+ {template zbxORA:db[{#PDB},openstatus].delta(10m)}<>0
+ db[{#PDB},openstatus] changed
+
+ 0
+ 2
+
+ 0
+
+
+
+
+
+
+
+ ASM dgroups
+ 2
+
+
+ dgrp.lld
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+
+ 30
+ ASM disk groups
+https://prutser.wordpress.com/2013/01/03/demystifying-asm-required_mirror_free_mb-and-usable_file_mb/
+
+
+ dgrp[{#DGRP},filesize]
+ 2
+
+ 1
+
+ dgrp[{#DGRP},filesize]
+ 0
+ 7
+ 365
+ 0
+ 3
+
+ B
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1048576
+
+
+
+ 0
+ 0
+
+
+
+
+
+
+ 0
+
+
+ ASM
+
+
+
+
+
+
+
+ dgrp[{#DGRP},leftfree1d]
+ 15
+
+ 0
+
+ dgrp[{#DGRP},leftfree1d]
+ 3600
+ 7
+ 365
+ 0
+ 3
+
+ s
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1
+
+ timeleft("dgrp[{#DGRP},pctfree]",1d,,0)
+
+ 0
+ 0
+
+
+
+
+
+
+ 0
+
+
+ ASM
+
+
+
+
+
+
+
+ dgrp[{#DGRP},leftfree7d]
+ 15
+
+ 0
+
+ dgrp[{#DGRP},leftfree7d]
+ 3600
+ 7
+ 365
+ 0
+ 3
+
+ s
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1
+
+ timeleft("dgrp[{#DGRP},pctfree]",7d,,0)
+
+ 0
+ 0
+
+
+
+
+
+
+ 0
+
+
+ ASM
+
+
+
+
+
+
+
+ dgrp[{#DGRP},leftfree14d]
+ 15
+
+ 0
+
+ dgrp[{#DGRP},leftfree14d]
+ 43200
+ 7
+ 365
+ 0
+ 3
+
+ s
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1
+
+ timeleft("dgrp[{#DGRP},pctfree]",14d,,0)
+
+ 0
+ 0
+
+
+
+
+
+
+ 0
+
+
+ ASM
+
+
+
+
+
+
+
+ dgrp[{#DGRP},leftfree30d]
+ 15
+
+ 0
+
+ dgrp[{#DGRP},leftfree30d]
+ 86400
+ 7
+ 365
+ 0
+ 3
+
+ s
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1
+
+ timeleft("dgrp[{#DGRP},pctfree]",30d,,0)
+
+ 0
+ 0
+
+
+
+
+
+ ruimte om vol te lopen gebaseerd op laatste 30 dagen.
+ 0
+
+
+ ASM
+
+
+
+
+
+
+
+ dgrp[{#DGRP},leftfree180d]
+ 15
+
+ 0
+
+ dgrp[{#DGRP},leftfree180d]
+ 86400
+ 7
+ 365
+ 0
+ 3
+
+ s
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1
+
+ timeleft("dgrp[{#DGRP},pctfree]",180d,,0)
+
+ 0
+ 0
+
+
+
+
+
+ tijd die nog rest om vol te lopen, gebaseerd op laatste half jaar.
+ 0
+
+
+ ASM
+
+
+
+
+
+
+
+ dgrp[{#DGRP},pctfree]
+ 2
+
+ 0
+
+ dgrp[{#DGRP},pctfree]
+ 0
+ 7
+ 365
+ 0
+ 0
+
+ %
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1
+
+
+
+ 0
+ 0
+
+
+
+
+
+
+ 0
+
+
+ ASM
+
+
+
+
+
+
+
+ dgrp[{#DGRP},usedbytes]
+ 2
+
+ 1
+
+ dgrp[{#DGRP},usedbytes]
+ 0
+ 7
+ 365
+ 0
+ 3
+
+ B
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1048576
+
+
+
+ 0
+ 0
+
+
+
+
+
+
+ 0
+
+
+ ASM
+
+
+
+
+
+
+
+
+
+ {template zbxORA:dgrp[{#DGRP},pctfree].last(0)}<{$ZBXORA_ASM_PCTFREE_HIGH} and {template zbxORA:dgrp[{#DGRP},pctfree].min(12h,7d)}-{template zbxORA:dgrp[{#DGRP},pctfree].last(0)}>0
+ dg[{#DGRP},pctfree] < {$ZBXORA_ASM_PCTFREE_HIGH}
+
+ 0
+ 4
+ low space and changed in last week
+ 0
+
+
+
+ {template zbxORA:dgrp[{#DGRP},pctfree].last(0)}< {$ZBXORA_ASM_PCTFREE_INFO} and {template zbxORA:dgrp[{#DGRP},pctfree].min(12h,7d)}-{template zbxORA:dgrp[{#DGRP},pctfree].last(0)}>0
+ dg[{#DGRP},pctfree] < {$ZBXORA_ASM_PCTFREE_INFO}
+
+ 0
+ 1
+ low space and changing
+ 0
+
+
+ dg[{#DGRP},pctfree] < {$ZBXORA_ASM_PCTFREE_WARN}
+ {template zbxORA:dgrp[{#DGRP},pctfree].last(0)}< {$ZBXORA_ASM_PCTFREE_WARN} and
+{template zbxORA:dgrp[{#DGRP},pctfree].min(24h,7d)}>
+{template zbxORA:dgrp[{#DGRP},pctfree].last(0)}
+
+
+
+
+ {template zbxORA:dgrp[{#DGRP},pctfree].last(0)}< {$ZBXORA_ASM_PCTFREE_WARN} and
+{template zbxORA:dgrp[{#DGRP},pctfree].min(24h,7d)}>
+{template zbxORA:dgrp[{#DGRP},pctfree].last(0)}
+ dg[{#DGRP},pctfree] < {$ZBXORA_ASM_PCTFREE_WARN}
+
+ 0
+ 2
+ pct free < warning level and
+current pct free < minimum pct free of a week ago
+ 0
+
+
+ dg[{#DGRP},pctfree] < {$ZBXORA_ASM_PCTFREE_HIGH}
+ {template zbxORA:dgrp[{#DGRP},pctfree].last(0)}<{$ZBXORA_ASM_PCTFREE_HIGH} and {template zbxORA:dgrp[{#DGRP},pctfree].min(12h,7d)}-{template zbxORA:dgrp[{#DGRP},pctfree].last(0)}>0
+
+
+
+
+ {template zbxORA:dgrp[{#DGRP},pctfree].timeleft(14d,,0)} < 100d and {template zbxORA:dgrp[{#DGRP},pctfree].timeleft(14d,,0)} < 2d or {template zbxORA:dgrp[{#DGRP},pctfree].timeleft(14d,,0)} >= 100d and ( {template zbxORA:dgrp[{#DGRP},pctfree].timeleft(7d,,0)} < 100d and {template zbxORA:dgrp[{#DGRP},pctfree].timeleft(7d,,0)} < 2d or {template zbxORA:dgrp[{#DGRP},pctfree].timeleft(7d,,0)} >= 100d and ( {template zbxORA:dgrp[{#DGRP},pctfree].timeleft(1d,,0)} < 100d and {template zbxORA:dgrp[{#DGRP},pctfree].timeleft(1d,,0)} < 2d or {template zbxORA:dgrp[{#DGRP},pctfree].timeleft(1d,,0)} >= 100d and ( {template zbxORA:dgrp[{#DGRP},pctfree].timeleft(6h,,0)} < 100d and {template zbxORA:dgrp[{#DGRP},pctfree].timeleft(6h,,0)} < 2d)))
+ dg[{#DGRP} loopt binnen 2d vol
+
+ 0
+ 3
+ poging om op tijd te waarschuwen ondanks zaagtandjes.
+als gebaseerd
+ op laatste 14d < 2d
+of als laatste 7d < 2d
+of als laatste 1d < 2d
+of als laatste 6h < 2d tijd geeft komt de trigger.
+ 0
+
+
+
+ {template zbxORA:dgrp[{#DGRP},pctfree].timeleft(14d,,0)} < 100d and {template zbxORA:dgrp[{#DGRP},pctfree].timeleft(14d,,0)} < 14d or {template zbxORA:dgrp[{#DGRP},pctfree].timeleft(14d,,0)} >= 100d and ( {template zbxORA:dgrp[{#DGRP},pctfree].timeleft(7d,,0)} < 100d and {template zbxORA:dgrp[{#DGRP},pctfree].timeleft(7d,,0)} < 14d )
+ dg[{#DGRP} loopt binnen 14d vol
+
+ 0
+ 2
+ poging om op tijd te waarschuwen ondanks zaagtandjes.
+als gebaseerd
+ op laatste 14d < 14d
+of als laatste 7d < 14d tijd geeft komt de trigger.
+ 0
+
+
+
+
+
+ dgrp[{#DGRP},usage]
+ 900
+ 200
+ 0.0000
+ 100.0000
+ 1
+ 1
+ 0
+ 1
+ 0
+ 0.0000
+ 0.0000
+ 0
+ 0
+ 0
+ 0
+
+
+ 0
+ 0
+ C80000
+ 0
+ 2
+ 0
+ -
+ template zbxORA
+ dgrp[{#DGRP},filesize]
+
+
+
+ 1
+ 0
+ 00C800
+ 0
+ 2
+ 0
+ -
+ template zbxORA
+ dgrp[{#DGRP},usedbytes]
+
+
+
+
+
+
+
+
+ expu.lld
+ 2
+
+
+ expu.lld
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+
+ 3
+ discover users about to expire
+
+
+ expu[{#PDB},{#USERNAME},expiring]
+ 2
+
+ 0
+
+ expu[{#PDB},{#USERNAME},expiring]
+ 0
+ 7
+ 365
+ 0
+ 0
+
+ s
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1
+
+
+
+ 0
+ 0
+
+
+
+
+
+ days left before expiration takes place
+ 0
+
+
+ users
+
+
+
+
+
+
+
+
+
+ {template zbxORA:expu[{#PDB},{#USERNAME},expiring].last(0)}< 7d and {template zbxORA:expu[{#PDB},{#USERNAME},expiring].last(0)} > 0
+ account expiration {#PDB} {#USERNAME} in 1 week
+
+ 0
+ 2
+ and {template zbxORA:expu[{#PDB},{#USERNAME},expiring].nodata(2h)}=0
+ 0
+
+
+ account expiration {#PDB} {#USERNAME} in 5 days
+ {template zbxORA:expu[{#PDB},{#USERNAME},expiring].last(0)}<5d and {template zbxORA:expu[{#PDB},{#USERNAME},expiring].last(0)} > 0
+
+
+
+
+ {template zbxORA:expu[{#PDB},{#USERNAME},expiring].last(0)}<14d and {template zbxORA:expu[{#PDB},{#USERNAME},expiring].last(0)} > 0
+ account expiration {#PDB} {#USERNAME} in 2 weeks
+
+ 0
+ 1
+ acount to expire within 14 days, nodata when password has been changed.
+
+
+and {template zbxORA:expu[{#PDB},#USERNAME},expiring].nodata(2h)}=0
+ 0
+
+
+ account expiration {#PDB} {#USERNAME} in 1 week
+ {template zbxORA:expu[{#PDB},{#USERNAME},expiring].last(0)}< 7d and {template zbxORA:expu[{#PDB},{#USERNAME},expiring].last(0)} > 0
+
+
+
+
+ {template zbxORA:expu[{#PDB},{#USERNAME},expiring].last(0)}<5d and {template zbxORA:expu[{#PDB},{#USERNAME},expiring].last(0)} > 0
+ account expiration {#PDB} {#USERNAME} in 5 days
+
+ 0
+ 3
+ when password is reset, the user is no longer reported so the reset error should be on nodata
+
+and {template zbxORA:expu[{#PDB},{#USERNAME},expiring].nodata(2h)}=0
+ 0
+
+
+
+
+
+
+
+ inst.lld
+ 2
+
+
+ inst.lld
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+
+ 30
+ discovered instances
+
+
+ inst[{#INST_NAME},log]
+ 2
+
+ 0
+
+ inst[{#INST_NAME},log]
+ 0
+ 10
+ 0
+ 0
+ 4
+
+
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1
+
+
+
+ 0
+ 0
+
+
+
+
+
+ alert log name
+ 0
+
+
+ inst
+
+
+
+
+
+
+
+ inst[{#INST_NAME},uptime]
+ 2
+
+ 0
+
+ inst[{#INST_NAME},uptime]
+ 0
+ 7
+ 365
+ 0
+ 3
+
+ uptime
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1
+
+
+
+ 0
+ 0
+
+
+
+
+
+ time since instance opened
+ 0
+
+
+ inst
+
+
+
+
+
+
+
+ inst[{#INST_NAME},version]
+ 2
+
+ 0
+
+ inst[{#INST_NAME},version]
+ 0
+ 700
+ 0
+ 0
+ 1
+
+
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1
+
+
+
+ 0
+ 0
+
+
+
+
+
+ version info is only collected at connection time (minutes=0) so only a few samples.
+ 0
+
+
+ inst
+
+
+
+
+
+
+
+
+
+ {template zbxORA:inst[{#INST_NAME},uptime].change(0)}<0
+ {HOST.NAME} {#INST_NAME} restarted
+
+ 0
+ 1
+
+ 0
+
+
+
+
+
+ inst[{#INST_NAME},uptime
+ 900
+ 200
+ 0.0000
+ 100.0000
+ 1
+ 1
+ 0
+ 1
+ 0
+ 0.0000
+ 0.0000
+ 0
+ 0
+ 0
+ 0
+
+
+ 0
+ 0
+ 00C800
+ 0
+ 2
+ 0
+ -
+ template zbxORA
+ inst[{#INST_NAME},uptime]
+
+
+
+
+
+
+
+
+ parm.lld
+ 2
+
+
+ parm.lld
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+
+ 30
+ non default numeric parameters
+
+
+ parm[{#INST_NAME},{#PARAMETER},size]
+ 2
+
+ 0
+
+ parm[{#INST_NAME},{#PARAMETER},size]
+ 0
+ 7
+ 365
+ 0
+ 3
+
+ B
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1
+
+
+
+ 0
+ 0
+
+
+
+
+
+
+ 0
+
+
+ inst.parm
+
+
+
+
+
+
+
+ parm[{#INST_NAME},{#PARAMETER},value]
+ 2
+
+ 0
+
+ parm[{#INST_NAME},{#PARAMETER},value]
+ 0
+ 7
+ 365
+ 0
+ 3
+
+
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1
+
+
+
+ 0
+ 0
+
+
+
+
+
+ non default numeric parameters
+ 0
+
+
+ inst.parm
+
+
+
+
+
+
+
+
+
+ {template zbxORA:parm[{#INST_NAME},{#PARAMETER},size].change(0)}<>0
+ parm[{#INST_NAME},{#PARAMETER}] changed to {ITEM.LASTVALUE}
+
+ 0
+ 1
+
+ 0
+
+
+
+ {template zbxORA:parm[{#INST_NAME},{#PARAMETER},value].change(0)}<>0
+ parm[{#INST_NAME},{#PARAMETER}] changed to {ITEM.LASTVALUE}
+
+ 0
+ 1
+
+ 0
+
+
+
+
+
+
+
+ perm TS
+ 2
+
+
+ p_ts.lld
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+
+ 30
+
+
+
+ p_ts[{#PDB},{#TS_NAME},filesize]
+ 2
+
+ 0
+
+ p_ts[{#PDB},{#TS_NAME},filesize]
+ 0
+ 7
+ 365
+ 0
+ 3
+
+ B
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1
+
+
+
+ 0
+ 0
+
+
+
+
+
+
+ 0
+
+
+ tssize
+
+
+
+
+
+
+
+ p_ts[{#PDB},{#TS_NAME},maxsize]
+ 2
+
+ 0
+
+ p_ts[{#PDB},{#TS_NAME},maxsize]
+ 0
+ 7
+ 365
+ 0
+ 3
+
+ B
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1
+
+
+
+ 0
+ 0
+
+
+
+
+
+
+ 0
+
+
+ tsmaxsize
+
+
+
+
+
+
+
+ p_ts[{#PDB},{#TS_NAME},pctfreeMAX,timeleft1d]
+ 15
+
+ 0
+
+ p_ts[{#PDB},{#TS_NAME},pctfreeMAX,timeleft1d]
+ 3600
+ 7
+ 365
+ 0
+ 3
+
+ s
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1
+
+ timeleft("p_ts[{#PDB},{#TS_NAME},pctfreeMAX]",1d,,0)
+
+ 0
+ 0
+
+
+
+
+
+ time left to depletion based on last day of measurements
+ 0
+
+
+ tspctfree
+
+
+
+
+
+
+
+ p_ts[{#PDB},{#TS_NAME},pctfreeMAX,timeleft7d]
+ 15
+
+ 0
+
+ p_ts[{#PDB},{#TS_NAME},pctfreeMAX,timeleft7d]
+ 3600
+ 7
+ 365
+ 0
+ 3
+
+ s
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1
+
+ timeleft("p_ts[{#PDB},{#TS_NAME},pctfreeMAX]",7d,,0)
+
+ 0
+ 0
+
+
+
+
+
+ time to depletion based on last week of measurements
+ 0
+
+
+ tspctfree
+
+
+
+
+
+
+
+ p_ts[{#PDB},{#TS_NAME},pctfreeMAX,timeleft14d]
+ 15
+
+ 0
+
+ p_ts[{#PDB},{#TS_NAME},pctfreeMAX,timeleft14d]
+ 3600
+ 7
+ 365
+ 0
+ 3
+
+ s
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1
+
+ timeleft("p_ts[{#PDB},{#TS_NAME},pctfreeMAX]",14d,,0)
+
+ 0
+ 0
+
+
+
+
+
+ time to depletion based on last 14 days of measurements
+ 0
+
+
+ tspctfree
+
+
+
+
+
+
+
+ p_ts[{#PDB},{#TS_NAME},pctfreeMAX]
+ 2
+
+ 0
+
+ p_ts[{#PDB},{#TS_NAME},pctfreeMAX]
+ 0
+ 7
+ 365
+ 0
+ 0
+
+ %
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1
+
+
+
+ 0
+ 0
+
+
+
+
+
+ same as pctfree but based on max filesize
+ 0
+
+
+ tspctfree
+
+
+
+
+
+
+
+ p_ts[{#PDB},{#TS_NAME},pctfree]
+ 2
+
+ 0
+
+ p_ts[{#PDB},{#TS_NAME},pctfree]
+ 0
+ 7
+ 365
+ 0
+ 0
+
+ %
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1
+
+
+
+ 0
+ 0
+
+
+
+
+
+
+ 0
+
+
+ tspctfree
+
+
+
+
+
+
+
+ p_ts[{#PDB},{#TS_NAME},usedbytes]
+ 2
+
+ 0
+
+ p_ts[{#PDB},{#TS_NAME},usedbytes]
+ 0
+ 7
+ 365
+ 0
+ 3
+
+ B
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1
+
+
+
+ 0
+ 0
+
+
+
+
+
+
+ 0
+
+
+ tsused
+
+
+
+
+
+
+
+
+
+ {template zbxORA:p_ts[{#PDB},{#TS_NAME},pctfreeMAX].last(0)}< {$ZBXORA_TS_HIGH}
+and
+{template zbxORA:p_ts[{#PDB},{#TS_NAME},usedbytes].last(0)}-{template zbxORA:p_ts[{#PDB},{#TS_NAME},usedbytes].max(7d,1d)} > 0
+ p_ts[{#PDB},{#TS_NAME},pctfreeMAX]< {$ZBXORA_TS_HIGH}
+
+ 0
+ 4
+ TS grows since a week and hits HIGH alert treshhold
+ 0
+
+
+
+ {template zbxORA:p_ts[{#PDB},{#TS_NAME},pctfreeMAX].last(0)}< {$ZBXORA_TS_WARN} and
+{template zbxORA:p_ts[{#PDB},{#TS_NAME},usedbytes].last(0)}-{template zbxORA:p_ts[{#PDB},{#TS_NAME},usedbytes].max(7d,1d)} > 0
+ p_ts[{#PDB},{#TS_NAME},pctfreeMAX]< {$ZBXORA_TS_WARN}
+
+ 0
+ 2
+ TS is growing since last week and hits WARN level
+ 0
+
+
+ p_ts[{#PDB},{#TS_NAME},pctfreeMAX]< {$ZBXORA_TS_HIGH}
+ {template zbxORA:p_ts[{#PDB},{#TS_NAME},pctfreeMAX].last(0)}< {$ZBXORA_TS_HIGH}
+and
+{template zbxORA:p_ts[{#PDB},{#TS_NAME},usedbytes].last(0)}-{template zbxORA:p_ts[{#PDB},{#TS_NAME},usedbytes].max(7d,1d)} > 0
+
+
+
+
+ {template zbxORA:p_ts[{#PDB},{#TS_NAME},pctfreeMAX].timeleft(14d,,0)} < 5d or {template zbxORA:p_ts[{#PDB},{#TS_NAME},pctfreeMAX].timeleft(14d,,0)} >= 100d and {template zbxORA:p_ts[{#PDB},{#TS_NAME},pctfreeMAX].timeleft(7d,,0)} < 5d or {template zbxORA:p_ts[{#PDB},{#TS_NAME},pctfreeMAX].timeleft(7d,,0)} >= 100d and {template zbxORA:p_ts[{#PDB},{#TS_NAME},pctfreeMAX].timeleft(1d,,0)} < 2d
+ p_ts[{#PDB},{#TS_NAME}] loopt binnen 5d vol
+
+ 0
+ 3
+ loopt de tablespace binnen 5 dagen vol?
+gebaseerd op laatste 14 dagen, laatste 7 dagen of laatste dag.
+ 0
+
+
+
+ {template zbxORA:p_ts[{#PDB},{#TS_NAME},pctfreeMAX].timeleft(14d,,0)} < 100d and {template zbxORA:p_ts[{#PDB},{#TS_NAME},pctfreeMAX].timeleft(14d,,0)} < 14d or {template zbxORA:p_ts[{#PDB},{#TS_NAME},pctfreeMAX].timeleft(14d,,0)} >= 100d and ( {template zbxORA:p_ts[{#PDB},{#TS_NAME},pctfreeMAX].timeleft(7d,,0)} < 100d and {template zbxORA:p_ts[{#PDB},{#TS_NAME},pctfreeMAX].timeleft(7d,,0)} < 7d or {template zbxORA:p_ts[{#PDB},{#TS_NAME},pctfreeMAX].timeleft(7d,,0)} >= 100d and ( {template zbxORA:p_ts[{#PDB},{#TS_NAME},pctfreeMAX].timeleft(1d,,0)} < 100d and {template zbxORA:p_ts[{#PDB},{#TS_NAME},pctfreeMAX].timeleft(1d,,0)} < 1d))
+ p_ts[{#PDB},{#TS_NAME}] loopt binnen 14d vol
+
+ 0
+ 2
+ gebaseerd op data van laatste 14 dagen maar ook op de laatste 7 dagen waarbij dan getriggerred wordt als minder dan 7 dagen over zijn en nog eens op de laatste dag waarbij de prognose minder dan een dag te gaan wordt getest.
+ 0
+
+
+ p_ts[{#PDB},{#TS_NAME}] loopt binnen 5d vol
+ {template zbxORA:p_ts[{#PDB},{#TS_NAME},pctfreeMAX].timeleft(14d,,0)} < 5d or {template zbxORA:p_ts[{#PDB},{#TS_NAME},pctfreeMAX].timeleft(14d,,0)} >= 100d and {template zbxORA:p_ts[{#PDB},{#TS_NAME},pctfreeMAX].timeleft(7d,,0)} < 5d or {template zbxORA:p_ts[{#PDB},{#TS_NAME},pctfreeMAX].timeleft(7d,,0)} >= 100d and {template zbxORA:p_ts[{#PDB},{#TS_NAME},pctfreeMAX].timeleft(1d,,0)} < 2d
+
+
+
+
+ {template zbxORA:p_ts[{#PDB},{#TS_NAME},pctfreeMAX].last()}<{template zbxORA:p_ts[{#PDB},{#TS_NAME},pctfreeMAX].last(1)}
+and
+{template zbxORA:p_ts[{#PDB},{#TS_NAME},pctfreeMAX,timeleft1d].last()}<4d
+and
+{template zbxORA:p_ts[{#PDB},{#TS_NAME},pctfreeMAX,timeleft1d].last()}<{template zbxORA:p_ts[{#PDB},{#TS_NAME},pctfreeMAX,timeleft1d].last(1)}
+and {template zbxORA:p_ts[{#PDB},{#TS_NAME},pctfreeMAX,timeleft7d].last()}<14d
+and
+{template zbxORA:p_ts[{#PDB},{#TS_NAME},pctfreeMAX,timeleft7d].last()}<{template zbxORA:p_ts[{#PDB},{#TS_NAME},pctfreeMAX,timeleft7d].last(1)}
+and {template zbxORA:p_ts[{#PDB},{#TS_NAME},pctfreeMAX,timeleft14d].last()}<30d
+and
+{template zbxORA:p_ts[{#PDB},{#TS_NAME},pctfreeMAX,timeleft14d].last()}<{template zbxORA:p_ts[{#PDB},{#TS_NAME},pctfreeMAX,timeleft14d].last(1)}
+ p_ts[{#PDB},{#TS_NAME}] loopt vol
+
+ 0
+ 0
+ vrije ruimte neemt af, tijd tot vollopen neemt af en is kleiner dan 4d volgens laatste dag aan metingen
+ 0
+
+
+
+
+
+ usage {#PDB}.{#TS_NAME} permament
+ 900
+ 200
+ 0.0000
+ 100.0000
+ 1
+ 1
+ 0
+ 1
+ 0
+ 0.0000
+ 0.0000
+ 0
+ 0
+ 0
+ 0
+
+
+ 0
+ 0
+ 0000CC
+ 0
+ 2
+ 0
+ -
+ template zbxORA
+ p_ts[{#PDB},{#TS_NAME},filesize]
+
+
+
+ 1
+ 0
+ 009900
+ 0
+ 2
+ 0
+ -
+ template zbxORA
+ p_ts[{#PDB},{#TS_NAME},usedbytes]
+
+
+
+ 2
+ 0
+ FF3333
+ 0
+ 2
+ 0
+ -
+ template zbxORA
+ p_ts[{#PDB},{#TS_NAME},maxsize]
+
+
+
+
+
+
+
+
+ rman.lld
+ 2
+
+
+ rman.lld
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+
+ 0
+ rman backup info by object_type from v$rman_status
+
+
+ rman[{#OBJ_TYPE},age]
+ 2
+
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ACTOR} * older than usual avg
+
+ 0
+ 2
+ try to report when last backup far over average age. Age is taken from last 30 days.
+Set macro {$ZBXORA_BKUP_AGE_FACTOR} to 0 if backups are not important for the given host
+ 0
+
+
+
+ ({template zbxORA:rman[{#OBJ_TYPE},status].last(0)}=1 or {template zbxORA:rman[{#OBJ_TYPE},status].last(0)}=3)
+
+and {$ZBXORA_BKUP_AGE_FACTOR} > 0
+ rman[{#OBJ_TYPE}].last bkup failed
+
+ 0
+ 3
+ set macro {$ZBXORA_BKUP_AGE_FACTOR} to 0 when backups are not of any importance.
+
+Trigger fires immdiatly, not sent to standby: not fatal
+ 0
+
+
+
+
+
+ rman {#OBJ_TYPE}
+ 900
+ 200
+ 0.0000
+ 100.0000
+ 1
+ 1
+ 0
+ 1
+ 0
+ 0.0000
+ 0.0000
+ 0
+ 0
+ 0
+ 0
+
+
+ 0
+ 0
+ 00C800
+ 0
+ 2
+ 0
+ -
+ template zbxORA
+ rman[{#OBJ_TYPE},age]
+
+
+
+ 1
+ 0
+ C80000
+ 0
+ 4
+ 0
+ -
+ template zbxORA
+ rman[{#OBJ_TYPE},age]
+
+
+
+ 2
+ 0
+ 0000C8
+ 0
+ 2
+ 0
+ -
+ template zbxORA
+ rman[{#OBJ_TYPE},ela]
+
+
+
+
+
+
+
+
+ services
+ 2
+
+
+ service.lld
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+
+ 30
+ database servcie definitions
+
+
+ service[{#PDB},{#INST_NAME},{#SERVICE_NAME},sess]
+ 2
+
+ 0
+
+ service[{#PDB},{#INST_NAME},{#SERVICE_NAME},sess]
+ 0
+ 7
+ 365
+ 0
+ 3
+
+
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1
+
+
+
+ 0
+ 0
+
+
+
+
+
+ Sessions counted by database, instance, service.
+ 0
+
+
+ inst
+
+
+
+
+
+
+
+
+
+
+
+
+ temp TS
+ 2
+
+
+ t_ts.l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
+ 0
+
+
+
+
+
+
+ 0
+
+
+ ttsused
+
+
+
+
+
+
+
+
+
+ {template zbxORA:t_ts[{#PDB},{#TS_NAME},pctfree].last(0)}<2
+ t_ts[{#PDB},{#TS_NAME},pctfree] < $1
+
+ 0
+ 3
+
+ 0
+
+
+
+ {template zbxORA:t_ts[{#PDB},{#TS_NAME},pctfree].last(0)}<5
+ t_ts[{#PDB},{#TS_NAME},pctfree] < $1
+
+ 0
+ 2
+
+ 0
+
+
+ t_ts[{#PDB},{#TS_NAME},pctfree] < $1
+ {template zbxORA:t_ts[{#PDB},{#TS_NAME},pctfree].last(0)}<2
+
+
+
+
+
+
+ usage {#PDB}.{#TS_NAME} temp
+ 900
+ 200
+ 0.0000
+ 100.0000
+ 1
+ 1
+ 0
+ 1
+ 0
+ 0.0000
+ 0.0000
+ 0
+ 0
+ 0
+ 0
+
+
+ 0
+ 0
+ 00C800
+ 0
+ 2
+ 0
+ -
+ template zbxORA
+ t_ts[{#PDB},{#TS_NAME},filesize]
+
+
+
+ 1
+ 0
+ C80000
+ 0
+ 2
+ 0
+ -
+ template zbxORA
+ t_ts[{#PDB},{#TS_NAME},usedbytes]
+
+
+
+
+
+
+
+
+ ustat.lld
+ 2
+
+
+ ustat.lld
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+
+ 30
+ counts per database per account_status
+
+
+ ustat[{#PDB},{#STATUS},count]
+ 2
+
+ 0
+
+ ustat[{#PDB},{#STATUS},count]
+ 0
+ 7
+ 365
+ 0
+ 3
+
+
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1
+
+
+
+ 0
+ 0
+
+
+
+
+
+ count per account_status
+ 0
+
+
+ users
+
+
+
+
+
+
+
+
+
+
+
+
+ undo TS
+ 2
+
+
+ u_ts.lld
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+
+ 7
+
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eMAX].last(0)}< {$ZBXORA_TS_HIGH}
+ u_ts[{#PDB},{#TS_NAME},pctfreeMAX]< {$ZBXORA_TS_HIGH}
+
+ 0
+ 4
+ undo tablespace almost FULL
+ 0
+
+
+
+ {template zbxORA:u_ts[{#PDB},{#TS_NAME},pctfreeMAX].last(0)}< {$ZBXORA_TS_WARN}
+ u_ts[{#PDB},{#TS_NAME},pctfreeMAX]< {$ZBXORA_TS_WARN}
+
+ 0
+ 3
+ undo tablespace loopt bijna vol
+ 0
+
+
+ u_ts[{#PDB},{#TS_NAME},pctfreeMAX]< {$ZBXORA_TS_HIGH}
+ {template zbxORA:u_ts[{#PDB},{#TS_NAME},pctfreeMAX].last(0)}< {$ZBXORA_TS_HIGH}
+
+
+
+
+
+
+ usage {#PDB}.{#TS_NAME} undo
+ 900
+ 200
+ 0.0000
+ 100.0000
+ 1
+ 1
+ 0
+ 1
+ 0
+ 0.0000
+ 0.0000
+ 0
+ 0
+ 0
+ 0
+
+
+ 0
+ 0
+ 00C800
+ 0
+ 2
+ 0
+ -
+ template zbxORA
+ u_ts[{#PDB},{#TS_NAME},filesize]
+
+
+
+ 1
+ 0
+ C80000
+ 0
+ 2
+ 0
+ -
+ template zbxORA
+ u_ts[{#PDB},{#TS_NAME},usedbytes]
+
+
+
+
+
+
+
+
+ zbxora.files
+ 2
+
+
+ zbxora.files.lld
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+
+ 30
+ Which files are in use?
+
+
+ zbxora[checks,{#CHECKS_FILE},lmod]
+ 2
+
+ 0
+
+ zbxora[checks,{#CHECKS_FILE},lmod]
+ 0
+ 7
+ 365
+ 0
+ 3
+
+ unixtime
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1
+
+
+
+ 0
+ 0
+
+
+
+
+
+
+ 0
+
+
+ zbxora
+
+
+
+
+
+
+
+ zbxora[checks,{#CHECKS_FILE},name]
+ 2
+
+ 0
+
+ zbxora[checks,{#CHECKS_FILE},name]
+ 0
+ 365
+ 0
+ 0
+ 1
+
+
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1
+
+
+
+ 0
+ 0
+
+
+
+
+
+
+ 0
+
+
+ zbxora
+
+
+
+
+
+
+
+ zbxora[checks,{#CHECKS_FILE},status]
+ 2
+
+ 0
+
+ zbxora[checks,{#CHECKS_FILE},status]
+ 0
+ 7
+ 365
+ 0
+ 3
+
+
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1
+
+
+
+ 0
+ 0
+
+
+
+
+
+
+ 0
+
+
+ zbxora
+
+
+
+ zbxora[checks,status]
+
+
+
+
+
+
+
+
+
+
+ zbxora queries
+ 2
+
+
+ zbxora.query.lld
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+
+ 1
+ queries found in the zbxora checks file
+
+
+ query[{#SECTION},{#KEY},ela]
+ 2
+
+ 0
+
+ zbxora[query,{#SECTION},{#KEY},ela]
+ 0
+ 7
+ 365
+ 0
+ 0
+
+ s
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1
+
+
+
+ 0
+ 0
+
+
+
+
+
+ part of self health check; how long takes processing of a check section?
+ 0
+
+
+ zbxora
+
+
+
+
+
+
+
+ query[{#SECTION},{#KEY},fetch] time
+ 2
+
+ 0
+
+ zbxora[query,{#SECTION},{#KEY},fetch]
+ 0
+ 7
+ 30
+ 0
+ 0
+
+ s
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1
+
+
+
+ 0
+ 0
+
+
+
+
+
+
+ 0
+
+
+ zbxora
+
+
+
+
+
+
+
+ query[{#SECTION},{#KEY},status]
+ 2
+
+ 0
+
+ zbxora[query,{#SECTION},{#KEY},status]
+ 0
+ 3
+ 0
+ 0
+ 1
+
+
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1
+
+
+
+ 0
+ 0
+
+
+
+
+
+ status of query execution, part of self health check
+0 == OK, all others ERROR_CODE from database
+ 0
+
+
+ zbxora
+
+
+
+ zbxora[query,,,status]
+
+
+
+
+
+
+
+ {template zbxORA:zbxora[query,{#SECTION},{#KEY},status].last(0)}<>0
+ zbxora[query,{#SECTION},{#KEY}] failed
+
+ 0
+ 0
+ could be due to anything, query syntax, lost connection, permissions etc.
+ 0
+
+
+
+
+
+
+
+ zbxora sections
+ 2
+
+
+ zbxora.section.lld
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+
+ 1
+ sections found in the checks parameter file, kind of self discovery
+
+
+ section[query,{#SECTION},,ela]
+ 2
+
+ 0
+
+ zbxora[query,{#SECTION},,ela]
+ 0
+ 7
+ 30
+ 0
+ 0
+
+ s
+ 0
+
+
+ 0
+ 0
+
+ 0
+
+ 1
+
+
+
+ 0
+ 0
+
+
+
+
+
+ time taken to process 1 section of checks
+ 0
+
+
+ zbxora
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {$ZBXORA_ASM_LEFT_HIGH}
+ 7d
+
+
+ {$ZBXORA_ASM_LEFT_INFO}
+ 30d
+
+
+ {$ZBXORA_ASM_LEFT_WARN}
+ 14d
+
+
+ {$ZBXORA_ASM_PCTFREE_HIGH}
+ 5
+
+
+ {$ZBXORA_ASM_PCTFREE_INFO}
+ 20
+
+
+ {$ZBXORA_ASM_PCTFREE_WARN}
+ 10
+
+
+ {$ZBXORA_BKUP_AGE_FACTOR}
+ 4
+
+
+ {$ZBXORA_CONNECT_FAILED}
+ 6m
+
+
+ {$ZBXORA_NODATA}
+ 30m
+
+
+ {$ZBXORA_SCN_INCREASE}
+ 30m
+
+
+ {$ZBXORA_STANDBY_LAG_WINDOW}
+ #10
+
+
+ {$ZBXORA_STBYHOST}
+ standby_host
+
+
+ {$ZBXORA_TS_HIGH}
+ 3
+
+
+ {$ZBXORA_TS_LEFTTIME}
+ 1d
+
+
+ {$ZBXORA_TS_LEFT_WARN}
+ 7d
+
+
+ {$ZBXORA_TS_WARN}
+ 10
+
+
+
+
+
+
+
+
+ {template zbxORA:blocked[count].min(10m)}>0
+ blocked during > 10m
+
+ 0
+ 1
+
+ 0
+
+
+
+ {template zbxORA:fra[usable,pct].timeleft(1h,,0)}<4h
+ fra loop snel vol(<4h)
+
+ 0
+ 3
+ aan de hand van de gegevens van afgelopen 6 uur is de schatting dat fra binnen 4 uur volloopt
+ 0
+
+
+ fra zit vol
+ {template zbxORA:fra[usable,pct].last()}<2
+
+
+
+
+ {template zbxORA:fra[usable,pct].last()}<2
+ fra zit vol
+
+ 0
+ 5
+ fra heeft minder dan 2% bruikbare ruimte
+ 0
+
+
+
+ {template zbxORA:db[current_scn].max(2m,{$ZBXORA_SCN_INCREASE})}=
+{template zbxORA:db[current_scn].last(0)}
+ no SCN increase since {$ZBXORA_SCN_INCREASE}
+
+ 0
+ 3
+ SCN's are not increasing since {$ZBXORA_SCN_INCREASE}. Is this a standby database? Check redo transport and redo apply.
+ 0
+
+
+ zbxora Connect nodata {HOSTNAME} since {$ZBXORA_NODATA}
+ {template zbxORA:zbxora[connect,status].nodata({$ZBXORA_NODATA})}<>0
+
+
+ zbxora Connect {HOSTNAME} failed
+ {template zbxORA:zbxora[connect,status].last(0)}<>0
+
+
+
+
+ {template zbxORA:zbxora[connect,status].nodata({$ZBXORA_NODATA})}<>0
+ zbxora Connect nodata {HOSTNAME} since {$ZBXORA_NODATA}
+
+ 0
+ 2
+ no info received during a long period
+ 0
+
+
+
+ {template zbxORA:zbxora[connect,status].last(0)}<>0
+ zbxora Connect {HOSTNAME} failed
+
+ 0
+ 3
+ Connect to database failed. Could be any thing from listener down to database down, account locked etc.
+ 0
+
+
+ zbxora connect {HOSTNAME} failed >{$ZBXORA_CONNECT_FAILED}
+ {template zbxORA:zbxora[connect,status].last(,{$ZBXORA_CONNECT_FAILED})}<>0
+and
+{template zbxORA:zbxora[connect,status].last({$ZBXORA_CONNECT_FAILED})}<>0
+
+
+
+
+ {template zbxORA:zbxora[connect,status].last(,{$ZBXORA_CONNECT_FAILED})}<>0
+and
+{template zbxORA:zbxora[connect,status].last({$ZBXORA_CONNECT_FAILED})}<>0
+ zbxora connect {HOSTNAME} failed >{$ZBXORA_CONNECT_FAILED}
+
+ 0
+ 4
+ failed {$ZBXORA_CONNECT_FAILED} ago and still fails.
+ 0
+
+
+
+
+
+ zbxora cpu
+ 900
+ 200
+ 0.0000
+ 100.0000
+ 1
+ 1
+ 0
+ 1
+ 0
+ 0.0000
+ 0.0000
+ 0
+ 0
+ 0
+ 0
+
+
+ 0
+ 0
+ C80000
+ 0
+ 2
+ 0
+ -
+ template zbxORA
+ zbxora[cpu,sys]
+
+
+
+ 1
+ 0
+ 00C800
+ 0
+ 2
+ 0
+ -
+ template zbxORA
+ zbxora[cpu,user]
+
+
+
+
+
+ zbxora mem
+ 900
+ 200
+ 0.0000
+ 100.0000
+ 1
+ 1
+ 0
+ 1
+ 0
+ 0.0000
+ 0.0000
+ 0
+ 0
+ 0
+ 0
+
+
+ 0
+ 0
+ 00C800
+ 0
+ 2
+ 0
+ -
+ template zbxORA
+ zbxora[mem,maxrss]
+
+
+
+
+
+ zbxora query ela
+ 900
+ 200
+ 0.0000
+ 100.0000
+ 1
+ 1
+ 0
+ 1
+ 0
+ 0.0000
+ 0.0000
+ 0
+ 0
+ 0
+ 0
+
+
+ 0
+ 0
+ 00C800
+ 0
+ 2
+ 0
+ -
+ template zbxORA
+ zbxora[query,,,ela]
+
+
+
+
+
+
+
+ zbxora arl_dest
+
+
+ 0
+ OK
+
+
+ 1
+ DEFERRED
+
+
+ 2
+ ERROR
+
+
+ 3
+ UNK
+
+
+
+
+ zbxora db.openstatus
+
+
+ 0
+ *unknown*
+
+
+ 1
+ MOUNTED
+
+
+ 2
+ READ ONLY
+
+
+ 3
+ READ WRITE
+
+
+ 4
+ READ ONLY WITH APPLY
+
+
+
+
+ zbxora rman status
+
+
+ 0
+ COMPLETED
+
+
+ 1
+ FAILED
+
+
+ 2
+ COMPLETED WITH WARNINGS
+
+
+ 3
+ COMPLETED WITH ERRORS
+
+
+ 4
+ noinfo
+
+
+ 5
+ RUNNING
+
+
+ 9
+ unk
+
+
+
+
+ zbxora[bct,status]
+
+
+ 0
+ ENABLED
+
+
+ 1
+ DISABLED
+
+
+ 2
+ unknown
+
+
+
+
+ zbxora[checks,status]
+
+
+ 0
+ OK
+
+
+ 11
+ unreadable
+
+
+ 13
+ parse error[s]
+
+
+
+
+ zbxora[connect,status]
+
+
+ 0
+ OK
+
+
+
+
+ zbxora[query,,,status]
+
+
+ 0
+ OK
+
+
+
+
+