I have installed check_oracle_health version 184.108.40.206 without issue from labs.console.de. I see there are already checks defined for that plugin in /usr/share/icinga2/include/plugins-contrib.d/databases.conf (Thank you!)
I have created a check to be run via the icinga2 agent on the db server. When I run the check via the CLI as user icinga, it returns without any issue.
When I run the check from icinga2, it returns the result but also as unknown status.
For example: --mode=connect-time
returns OK - rman had 0 problems during the last 3 days
<Terminated by signal 11 (Segmentation fault).>
In the log I see this: [2018-12-17 16:33:29 -0500] warning/PluginCheckTask: Check command for object ‘dbserver.domain.com’ (PID: 22122, arguments: ‘/usr/lib64/nagios/plugins/check_oracle_health’ ‘–connect’ ‘dbname’ ‘–mode’ ‘connection-time’ ‘–password’ ‘dbpasswd’ ‘–username’ ‘nagios’) terminated with exit code 128, output: OK - 0.08 seconds to connect as NAGIOS | connection_time=0.0833;1;5
Anyone know why this would be happening? I used this plug in without issue for years with icinga1 and I’m trying to migrate to icinga2.