Oracle Database
Common parts of every card (states, backoff, Unit and ExecReload, Test config, manual commands) are described in Monitor window.
| Detected by | systemd units oracle-ohasd, oracledb, dbora or binaries lsnrctl, sqlplus |
| Read every | 5 minutes while the Monitor window shows the tab |
| Active probe | yes, off by default |
| Test config | none |
What the card reads and shows
Section titled “What the card reads and shows”Oracle Database.
Passive: /etc/oratab (SID, home, autostart), the ora_pmon_<SID> and tnslsnr processes, the version from sqlplus -V (with the active probe only; only when the session is not root and owns the binary: B.029, no OPatch), and from each SID’s alert_<SID>.log (last 1 MiB, 2000 lines) only ORA-<code> with the time before it: count and the last five (A.9).
Active (off by default): lsnrctl status <listener> of the running listener’s home, only status, under the same conditions as sqlplus; filtered to version, start, uptime, endpoints, services and instances with their state. It writes to listener.log (and ~/oradiag_<user> on errors): interval 5 minutes. TNS-01189 (not allowed) pauses it until the user resumes it (Parsed::pause_active).
Active probe
Section titled “Active probe”Runs: lsnrctl status <listener> of the running listener’s ORACLE_HOME, under env -i, only when the session is the (non-root) account owning lsnrctl; filtered to version, start, uptime, endpoints, services and instance states
Traces on the host: one entry in listener.log (and the ADR) per run, every 5 minutes; on errors lsnrctl may create ~/oradiag_<user>
Test config
Section titled “Test config”None: KryoDesk has no configuration test for this service.