To monitor a webgate status, OAM webgates have a status page: webgate.cgi. It does not reveal much information, but the page shows (at least) two important things:
- Whether the webgate is working (getting a response means it works)
- The attached OAM instance (so you don’t have to check the local ObAccessClient.xml file)
Looking at the layout of this page, it used to show more info, but appearantly it is not working anymore.
To enable the status page, some changes to the webgate and resources must be made.
- Add a user-defined parameter to the SSO webgate in OAM
- Unprotect the resource /ohs/modules/** (exclude) or modify webgate.conf and add
- For security reasons, you might add a pre-authorization rule allowing access from a limited range of ip addresses.
The webgate.cgi page is located at different url’s for different Application Servers:
- OHS = http(s)://hostname:port/ohs/modules/webgate.cgi?progid=1
- Apache = http(s)://hostname:port/apache/modules/webgate.cgi?progid=1
- IIS = http(s)://hostname:port/webgate/webgate.dll?progid=1