Re: check_oracle_health does not work as provided
Posted: Fri Apr 08, 2016 10:11 am
- my mistake, not thatrkennedy wrote:Where are you seeing an incomplete $ARG5$ and $ARG6$?
Support for Nagios products and services
https://support.nagios.com/forum/
- my mistake, not thatrkennedy wrote:Where are you seeing an incomplete $ARG5$ and $ARG6$?
Still not workingrkennedy wrote:Can you try putting it in double quotes rather than single? It could be the special characters that are causing an issue (:/).
you can try modifying your "check_oracle_health" command and your service in a way that you would pass:/usr/bin/env LD_LIBRARY_PATH=/usr/lib/oracle/11.2/client64/lib ORACLE_HOME=/usr/lib/oracle/11.2/client64 /usr/local/nagios/libexec/check_oracle_health --connect='10.102.35.237:1532/KCTCQA.konecranes.com' --username=nagiosxi --password=KsaXer3587 --mode=rman-backup-problems --warning 1 --critical 2
Code: Select all
'10.102.35.237:1532/KCTCQA.konecranes.com'Not workinglmiltchev wrote:Since this is working from the CLI,you can try modifying your "check_oracle_health" command and your service in a way that you would pass:/usr/bin/env LD_LIBRARY_PATH=/usr/lib/oracle/11.2/client64/lib ORACLE_HOME=/usr/lib/oracle/11.2/client64 /usr/local/nagios/libexec/check_oracle_health --connect='10.102.35.237:1532/KCTCQA.konecranes.com' --username=nagiosxi --password=KsaXer3587 --mode=rman-backup-problems --warning 1 --critical 2
as one piece to $ARG1$, wrapped in single quotes. See example below:Code: Select all
'10.102.35.237:1532/KCTCQA.konecranes.com'
Save, and apply configuration. Don't test from the CCM. Click on the service under the "Service Detail" page, schedule an immediate forced check, and see if you will get the expected output.
Please close this support threadrkennedy wrote:Where are you seeing an incomplete $ARG5$ and $ARG6$?