check_xi_oraclequery doesn't work!!!
Posted: Fri Mar 22, 2024 8:51 am
Hi all,
We are trying this check from Nagios XI 5.11.3:
check_xi_oraclequery!--connect=<CONN> --user=<USER> --password=<PASS> --mode=sql --name="select count(*) from TABLE where gls_tipo_pago='V' and cod=60 and exp_date=to_char(sysdate, 'dd-mm-yyyy') and oper_date=to_char(sysdate, 'dd-mm-yyyy')" --critical @1
And we're not getting any result or error message.
This SQL query works just fine in SQLDeveloper or SQLPlus...
We appreciate any help
We are trying this check from Nagios XI 5.11.3:
check_xi_oraclequery!--connect=<CONN> --user=<USER> --password=<PASS> --mode=sql --name="select count(*) from TABLE where gls_tipo_pago='V' and cod=60 and exp_date=to_char(sysdate, 'dd-mm-yyyy') and oper_date=to_char(sysdate, 'dd-mm-yyyy')" --critical @1
And we're not getting any result or error message.
This SQL query works just fine in SQLDeveloper or SQLPlus...
We appreciate any help