- my mistake, not thatrkennedy wrote:Where are you seeing an incomplete $ARG5$ and $ARG6$?
check_oracle_health does not work as provided
Re: check_oracle_health does not work as provided
Re: check_oracle_health does not work as provided
Can you try putting it in double quotes rather than single? It could be the special characters that are causing an issue (:/).
Former Nagios Employee
Re: check_oracle_health does not work as provided
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 (:/).
Re: check_oracle_health does not work as provided
Since this is working from the CLI,
as one piece to $ARG1$, wrapped in single quotes. See example below:
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.
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'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.
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: check_oracle_health does not work as provided
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.
This does not help our troubles with NAGIOS Oracle checks: we have to be able to manage single check for multiple hosts (and multiple tablespaces)
- essentially our Oracle admin would NOT consider NAGIOS if we cannot do that. (talking about hundreds tablespaces)
Re: check_oracle_health does not work as provided
Can you try moving everything to $ARG1$ and go from there?
The next option, is going to be using the resource.cfg, and seeing the variable to a $USER#$ variable. See this link for more of an explanation - https://assets.nagios.com/downloads/nag ... Macros.pdf
The next option, is going to be using the resource.cfg, and seeing the variable to a $USER#$ variable. See this link for more of an explanation - https://assets.nagios.com/downloads/nag ... Macros.pdf
Former Nagios Employee
Re: check_oracle_health does not work as provided
Please close this support threadrkennedy wrote:Where are you seeing an incomplete $ARG5$ and $ARG6$?
Thank you