SAP Host Agent

Configuring SAP Host Agent Monitoring

1. In the IT-Conductor main menu, navigate to Dashboards > Administrator.

4. A dialog pop-up confirming the entry has been created will appear. Click OK.

Note: Please refer to the Setting Up Accounts for SAP Host Agent Monitoring for the privileges required for the host agent to work properly.

6. A pop-up message will confirm that the account has been created. Click OK to complete the process.

This will add the configuration for monitoring the host agent.

Setting Up Accounts for SAP Host Agent Monitoring

On Microsoft Windows, we recommend using a single domain user for all host agents.

The user account(s) must be a member of:

  • On Linux/Unix: sapsys group

  • On Windows: SAP_LocalAdmin group

IT-Conductor uses web services provided by the SAP host agent, which are protected and can only be used by an authenticated caller (see SAP Note 927637). To authorize users to access SAP host agent services, the following need to be performed for all hosts to be monitored, after ensuring the executable <DIR_EXECUTABLE>/sapuxuserchk has 4750 permission (on Linux/Unix).

Note: Only needed if not using adm; we recommend sapadm or daaadm.

For All Instances in a Host:

  1. Open the file:

/usr/sap/hostctrl/exe/host_profile

2. Add the "service/admin_users" parameter with the following values (separated by a blank space):

service/admin_users = <user1> <user2>

3. Restart SAP Host Agent with:

/usr/sap/hostctrl/exe/saphostexec -restart

4. Log on with the OS user to be checked and execute:

sapcontrol -prot GSOAP_HTTP -nr -user "<User Name>" "<User Password>" -function AccessCheck <function>

where "Functions" in IT-Conductor include:

  • GetAccessPointList

  • GetProcessList

  • GetEnvironment

  • GetInstanceProperties

  • ABAPGetWPTable

  • GetSystemInstanceList

  • GetQueueStatistic

  • GetAlertTree

  • GetAlerts

  • EnqGetStatistic

  • EnqGetLockTable

  • ICMGetProxyConnectionList

  • ICMGetCacheEntries

  • ICMGetThreadList

  • WebDispGetServerList

  • WebDispGetGroupList

  • WebDispGetVirtHostList

1. Open the SAP instance profile "<DIR_INSTALL>/profile/DEFAULT.PFL"

2. Add the following parameters:

service/admin_users = <sid>adm daaadm sapadm service/protectedwebmethods = -GetAccessPointList -GetProcessList -GetEnvironment -GetInstanceProperties -ABAPGetWPTable -GetSystemInstanceList -GetQueueStatistic -GetAlertTree -GetAlerts -EnqGetStatistic -EnqGetLockTable -ICMGetThreadList -ICMGetConnectionList -ICMGetProxyConnectionList -ICMGetCacheEntries -WebDispGetServerList -WebDispGetVirtHostList -J2EEGetProcessList -J2EEGetProcessList2 -J2EEGetThreadList -J2EEGetThreadList2 -J2EEGetCacheStatistic -J2EEGetCacheStatistic2 -J2EEGetWebSessionList - J2EEGetWebSessionList2 -J2EEGetEJBSessionList -J2EEGetRemoteObjectList -J2EEGetSharedTableInfo -J2EEGetVMHeapInfo

3. On Unix: As root user - restart the relevant "sapstartsrv" process for the sap instance using: "systemctl restart sapinit", which requires an SAP downtime, so make sure to do it during maintenance.

Video

Last updated

Change request #660: