Please note: it works for me, but it is far from perfect.
https://github.com/alcir/nagios/tree/master/check_oracle_query
Examples
./check_oracle_query.sh -H 192.168.1.10 -u user -w pass -p 1521
-s SID -n ID -q "select * from table" -e "^[1-9].* rows selected"
./check_oracle_query.sh -H 10.0.0.47 -u user -w pass -p 1521 -s SID01 -n ID1 -q "select * from dual" -e "^X"
No comments:
Post a Comment