Add Microsoft IIS
You can add Microsoft IIS entities using the Add Entity UI or using the cloud agent command line interface (omcli
) with the appropriate JSON files.
Step 1: Prepare Microsoft IIS for monitoring.
Prerequisites |
---|
Local Monitoring: Credentials are not required. The agent user is used for monitoring. Remote Monitoring via WMI: Credentials are required. The credentials to be provided include the username and password used to log into the remote Windows host. Before you can monitor Microsoft IIS entities, you must ensure the following prerequisites have been met:
|
Step 2: Decide how you want to add the Microsoft IIS.
You can add Microsoft IIS entities using one of two ways:
- Add them from UI
- Use the agent's
omcli add_entity
command with the appropriate JSON files
Adding Entities from the UI
- From the Management Cloud main menu, select Administration, Discovery, and then Add Entity. The Add Entity page displays.
- Select the Microsoft IIS Entity Type.
- Enter the following UI properties.
Microsoft Internet Information Services UI Fields - Entity Name: Name of this entity displayed in the Oracle Management Cloud console.
- Host Name: Hostname of Microsoft IIS Server
- Installation Directory: Absolute installation path of the Microsoft IIS Server. You need to specify the path using double backslashes ( \\).
Example:
C:\\Windows\\system32\\inetsrv
- Logging Directory: Absolute path to log file directory.
- Cloud Agent: Cloud agent monitoring the host where Microsoft Internet Information Services is installed.
Monitoring Credentials
- Host Username: Windows user on the Microsoft IIS Server host
- Host Password: Password for the Windows user
See Add Entities from the Console for detailed instructions on using the Add Entity UI.
Using omcli
and the Appropriate JSON Files
- Download and extract the required JSON file(s) from the master JSON zip file. See the table below for the specific JSON files you'll need.
- Edit the file(s) and specify the requisite properties shown below.
Microsoft Internet Information Services JSON Files and Properties Definition Files
omc_microsoft_iis_server_local_sample.json
- host_name: Hostname of Microsoft IIS Server
- install_dir: Absolute installation path of the Microsoft IIS Server. You need to specify the path using double backslashes ( \\).
Example:
C:\\Windows\\system32\\inetsrv
omc_microsoft_iis_server_remote_sample.json
- omc_is_remote: Property to indicate if the Microsoft IIS Server is local(no) or remote(yes)
Credential File: omc_microsoft_iis_server_remote_creds_sample.json
Credential properties (Applicable for remote monitoring via WMI)
- wbem_username: Windows user on the Microsoft IIS Server host
- wbem_password: Password for the Windows user
- Add the entity using
omcli
.omcli add_entity agent DEFINITION_FILE [-credential_file CREDENTIAL_FILE [-encryption_method_gpg]]
- Verify the status of the newly added entity.
omcli status_entity agent DEFINITION_FILE
See step 4. Adding Entities to Your Service of Add Entities Using JSON Files for more information.
Step 3: (Optional but recommended) Set up alerts.
To enable lights-out monitoring, you can set up alert rules to generate alerts and send notifications if your entities have performance issues.
See Set Up Alert Rules and Set Up Alert Thresholds and Notifications.Troubleshooting
If you run into any issues regarding discovery or monitoring of Microsoft IIS, see the following: