Hi Everybody,
We have tried to implement python monitoring scripts https://exchange.nagios.org/directory/P ... se/details
to be able to monitor SAP HANA 2.0 with SAP kernel 7.53.
With local test under NAGIO user it is working but remoutly from NAGIOS server we are getting :
GetAlertTree FAIL: NIECONN_REFUSED (Connection refused), NiRawConnect failed in plugin_fopen -> The sap-system-nr is incorrect.
FAIL: HTTP error, HTTP/1.1 401 Unauthorized -> You use a new sap-kernel binarie (greater then 7.21)
In this new version the sapstartsrv service have security features enabled.
Set the paramter service/protectedwebmethods=NONE in the sap-instance profile
NONE->sapstartsrv-security-features disabled
For more information have a look at SAP-Note 927637.
Other solution, you can create a monitoring user in sap-profile!
Anybody has faced already with this issue ?
To change service/protectedwebmethods = NONE is not a way as this is opening big security hole in system and also did not helped.
Any hint is appreciate,
Thank you,
Martin
SAP HANA Monitoring
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: SAP HANA Monitoring
Hi Martin,
If it runs successfully locally when logged in as the nagios user account, it should work remotely as well. There must be something else going on, are you sure the service, sapstartsrv, is running?
If it runs successfully locally when logged in as the nagios user account, it should work remotely as well. There must be something else going on, are you sure the service, sapstartsrv, is running?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: SAP HANA Monitoring
Hi,
Yes, sapstartsrv is running for HANA dba even SAP applications.
Regards,
Martin
Yes, sapstartsrv is running for HANA dba even SAP applications.
Regards,
Martin
Re: SAP HANA Monitoring
Please post the full command with options that you are running from the Nagios server.
Attach your nrpe.cfg file from the remote SAP server as well so that we can see how you have the command defined.
Attach your nrpe.cfg file from the remote SAP server as well so that we can see how you have the command defined.