Monitoring SAP R/3 + SAP HANA

Maybe this will help. I had some trouble getting the HANA plugin to work also. I’m running as agent and in the plugin I had to change the line:

result=“$(${hdbsql_path} -C -F; -x -a -n localhost -i “${instance}” “${credentials}” “$query” 2>/dev/null)”

to:

result=“$(${hdbsql_path} -C -F; -x -a -n localhost -i “${instance}” ${credentials} “$query” 2>/dev/null)”

(I removed the quotes around ${credentials}). I I didn’t do that it would pass -u -p as a single string to hdbsql and it didn’t like this.

Hopefully this will help you with your issue as well.

1 Like