IIS Monitoring with Applicare

Community post

Shared by the Applicare community. It has not been re-checked against Applicare 10.0, so confirm the steps in your environment or contact Support.

Applicare Server and Agent

Ports Configuration

Applicare server - any port can be chosen for this at the time of install. This port should be accessible from outside. The default is 8880.

Applicare standalone agents (IIS Log monitoring) - any port can be chosen at the time of install. The default is 9880.

Applicare database server - Any open port can be chosen for either of these - MySQL (default 3306), Oracle (default 1521) or Derby (default 1527)

Communications

Applicare Server -> Applicare agent

Applicare Agent -> Applicare server

Applicare Agent -> Applicare Database (any port can be assigned to this)

Java Dependency

Java 1.8 for Applicare server and Java 1.6 or above for Applicare Agents.

Admin or root User access

All our agents on Windows should be run with Administrator privileges.

IIS Log Monitor Configuration

Please make sure the below settings are available in the IIS.

1. Go to Agent machine (i.e IIS machine) and in “Start” type “IIS” and select “Internet Information Services (IIS) Manager”.

[Screenshot 1 is not available on this page.]

2. Select the “IIS User” and double click the “Logging”.

[Screenshot 2 is not available on this page.]

3. Please make sure the below four settings are the same in the Logging window.

  • One log file per -> Site
  • Format -> W3C and Encoding ->UTF-8. The directory may contain any path.
  • Log Event Destination -> Log file only
  • Do not create new log files -> Should be unchecked

[Screenshot 3 is not available on this page.]

4. Please make sure the below specified W3C Logging Fields are enabled in the same format. Other than the below-enabled fields no other fields should be enabled.

[Screenshot 4 is not available on this page.]

5. Likewise, all the sites should have the same Logging settings in the Logging window and W3C Logging fields.

[Screenshot 5 is not available on this page.]

6. Select the site and double click the Logging option and check the Logging and W3C Logging Fields for that site. Likewise check for other sites as well.

[Screenshot 6 is not available on this page.]

7. Please make sure all the above-specified settings are the same in the IIS.

If anything is different Apply the above-specified settings.

If there are no changes done in the Logging then close the (IIS) Manager window. If any changes made in the Logging then “Apply” the changes and restart the IIS.

[Screenshot 7 is not available on this page.]

8. To restart the IIS. (Needed only if we would have changed the settings).

[Screenshot 8 is not available on this page.]

[Screenshot 9 is not available on this page.]

9. Please make sure we have access to all the IIS Log folders and Log files for all the sites.

To view the IIS Log folder and files select the site and double click the Logging option and copy the path in the Directory field.

[Screenshot 10 is not available on this page.]

[Screenshot 11 is not available on this page.]

Note: Please make sure that Applicare Agent have access to all the folders and files in the above path.

For Example,

Let us consider that we are going to check for "Default Web Site".

Please execute the below steps and check whether we can able to view the log folder and log files of the "Default Web Site".

1. Go to IIS, expand the Sites and note down the ID for the site we are going to check.

[Screenshot 12 is not available on this page.]

2. Go to the IIS Log folder path and open the "W3SVC1" folder (i.e "W3SVC" + "ID of the site". Here the Default Web Site id is "1". So we need to check the "W3SVC1" folder). Inside the folder please make sure that we have access to all the files.

First try to open the folder and files manually. While opening the folder and files if it asks for permission please provide the permission.

[Screenshot 13 is not available on this page.]

Installing Applicare Stand-alone Agent Application

1. First, you will have to build the stand-alone collector. Once you install Applicare you can build

the stand-alone agent by running

<ApplicareServer Install Dir>/agent/Standalonecollector/build/ build_collector.bat

[Screenshot 14 is not available on this page.]

This will create a new folder,

<Applicare Server Install Dir>/agent/Standalonecollector/Applicare

and,

<Applicare Install Dir>/agent/Standalonecollector/Applicare.jar

2. If you are going to deploy the agent in the new machine then copy the "Applicare" folder or "Applicare.jar " from the Applicare server machine to Agent machine. If you copied the "Applicare.jar" file then create a folder named "Applicare" and extract the files in that directory.

[Screenshot 15 is not available on this page.]

3. Download the "data-importer.war" file from the below link and go to the "Applicare" folder directory in the agent machine and paste the "data-importer.war" file inside the webapps folder in the path "Applicare/server/webapps".

Link: https://s3.amazonaws.com/arc-temp/data-importer.war (download no longer available — ask Support for this file)

From Applicare 757 and above use the below link Link: https://arc-temp.s3.amazonaws.com/DataImporter_fromApplicare757/data-importer.war (download no longer available — ask Support for this file)

4. Follow step 2 & 3 for other stand-alone agents.

5. Please note that the agent by default runs on port 9880. If needed you can change the port number by

modifying the agent server.xml file.

Applicare /server/conf/server.xml

[Screenshot 16 is not available on this page.]

6. Set "SERVER_NAME" and "JAVA_HOME" property in the agent "Catalina.bat" file before starting the agent.

Go to the path Applicare/server/bin/catalina.bat

Edit Catalina.bat and set the "SERVER_NAME" &

"JAVA_HOME" and save the file.

SERVER_NAME - You can give any name without spaces.

JAVA_HOME - Java JDK path of the Agent machine.

Note: For every agent, the SERVER_NAME should be unique.

[Screenshot 17 is not available on this page.]

Running Applicare server and Agent:- (Run as Administrator)

To start Applicare Server:

1. Go to the Aplicare server installed directory.

2. Open a command prompt in "Administrator mode".

  1. Go to the path <ApplicareServerHomeDir>/server/bin.

4. Execute the "startup.bat/sh" script file.

For Windows execute "startup.bat" and for Linux execute "startup.sh" script file.

[Screenshot 18 is not available on this page.]

[Screenshot 19 is not available on this page.]

To start Agent:

1. Go to the Aplicare Agent installed directory.

2. Open a command prompt in "Administrator mode".

  1. Go to the path Applicare/server/bin.

4. Execute the "startup.bat" script file.

[Screenshot 20 is not available on this page.]

[Screenshot 21 is not available on this page.]

Adding the Agent in Applicare server:

1. Open the overview screen in the Applicare console and click the “Add server” button to add the agent.

[Screenshot 22 is not available on this page.]

Note: **Please make sure that both the "IIS Logging Directory path" and the path specified in the "Add IIS Server Log Location" are same. Replace %SystemDrive% with the exact Directory.

For Example:**

  • Consider the IIS Logging Directory path is "%SystemDrive%\inetpub\logs\LogFiles".
  • Copy "%SystemDrive%\inetpub\logs\LogFiles" path and open a file explorer and paste that path in the address bar and hit enter.

[Screenshot 23 is not available on this page.]

  • It will specify the full path with the exact directory name.
  • Now copy that path and add it in the "Add IIS Server Log Location".

[Screenshot 24 is not available on this page.]

2. To add the app name to the Agent.

[Screenshot 25 is not available on this page.]

3. Business Transactions

Key Business Transactions allows you to capture performance statistics.

Top Business Transactions

[Screenshot 26 is not available on this page.]

Adding Business Transactions as KBT

Right click the row which we are going to add as "KBT" and select the "Add as Key Business Transaction" option.

[Screenshot 27 is not available on this page.]

Enter the "Name" and click "Save" button in the Add as Key Business Transactions popup.

[Screenshot 28 is not available on this page.]

Key Business Transactions Load

Using the KBT tab you can view the performance stats of key business transactions across the environment as well as on a per server basis.

[Screenshot 29 is not available on this page.]

Key Business Transactions Load Distribution

It displays the state of Key Business Transactions across all servers in the domain.

[Screenshot 30 is not available on this page.]

Transaction

Transaction view displays individual transaction execution details.

[Screenshot 31 is not available on this page.]

4. HTTP

HTTP Analyzer provides performance statistics on HTTP requests for the selected server.

[Screenshot 32 is not available on this page.]

By Selecting the particular transaction it will show when the calls came in, how many and how was the response time for that time.

[Screenshot 33 is not available on this page.]

5. HTTP Errors

HTTP Errors shows URI, failure time, http error code, exception and IP address where the call came from.

[Screenshot 34 is not available on this page.]

Note:

For debug add this JVM argument in the standalone agent and restart -Dapplicare.importerlog=true

Join the discussion

Comments, voting and following are kept by Zendesk and need a Help Center account. This button opens the original discussion there.

Opens Zendesk · needs internet and sign-in

Still stuck? Contact support