Saphana db monitoring

i have copied the mkp_sap hana file to usr/lib/check_mk_agent/plugins . will agent pickit up from there? or do i need to use any other configuration here?
CMK version: Checkmk Raw Edition 2.2.0p8
OS version: sles 15 sp3

Error message:

Output of “cmk --debug -vvn hostname”: (If it is a problem with checks or plugins)

Agent plugins often contain a comment section documenting their use. Here it is:

Hi Sairam,

the good guys at checkmk have a KB entry for sap hana: SAP HANA - Checkmk Knowledge Base - Checkmk Knowledge Base

1 Like

Hi @gstolz ,

i went through the link, tried to run the plugin manually using this command
MK_CONFDIR= /etc/check_mk /usr/lib/check_mk_agent/plugins/mk_sap_hana

and i m getting this error
hdbsql ERROR: * 10: authentication failed SQLSTATE: 28000.

However, the credentials thats been used here are valid and can able to login with those

Hi @SairamObili,

can you run:

export MK_CONFDIR=/etc/check_mk
(no space after the =)

and then
bash -x /usr/lib/check_mk_agent/plugins/mk_sap_hana
this will show you exactly how the hdbsql command is called and that makes it easier to spot the credential issue.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.