Follow Us:

Server Monitoring

MS Windows Server Monitor

Every application requires a physical server machine and that machine must have an operating system on it. The OS manages CPU, memory, network, disks and all other subsystems. Server monitoring for windows server in AppDiagnos monitors the basic server attributes related to disk, memory and system resources like system CPU load, free physical memory etc.

Pre-requisite:

The installer needs windows 2003 or above configuration with dot net 4 framework in order to install and operate successfully. The installer works by using native dot net APIs in order to gather information about the windows server.
To monitor a Operating System Server monitoring in Windows environment follow the steps shown below.
Open AppDiagnos APM Portal URL in a browser.
‍Login with valid credentials.
Click on Ops View menu, Select Servers

Server Monitoring ops view

Click on “+” Icon to add New Server

Create DB server monitor

Select Server from the Create Server Monitor page

Choose Module Server

Enter Valid Server Name,Description, Server Type as Microsoft(R) Windows and Windows Version as shown below and click Save

DB sign up form

On Successful saving of Server, System will allow to download the Windows monitor agent from below page

Download MYSQL server monitor

Windows Monitor Agent – Installation Set up Instruction:

Extract the Downloaded Windows Agent in a desired location.

In the Extracted Folder, double click on the Setup.exe Icon. Click Run.

Welcome to appdiagnos: windows agent

Follow the Installation Wizard and Select required Installation options.

Installation folder

On Successful Installation, Click Close button.

Appdiagnos windows agent Installation

On Selection of the Newly added Windows Monitor Agent, the Default graphs will appear in the APM Portal.

MS server

NOTE: On successful installation of the “Server Monitor Agent”, the Monitor Agent Icon will appear in green color.

After Installation, the AppDiagnos Windows Monitor Agent will be running as Services. This can be seen, if you see the list of services running on that Windows machine. You can go to Control panel – Services, or Windows Task Manager – Services tab.

Configuring Counters

Navigate to AppDiagnos APM Portal, OPS View >> Servers page
A list of Servers will appear
Click on the “Configure Metrics” (Wheel Icon to the left of Card Layout) Option.
Choose the metrics that are needed to be measured.

Server configure metrics

Click SAVE button.

Newly added counters graph will start appearing on the APM portal.

On Click on Card Layout will appear the monitoring graph that can be viewed as below.

Server analytics

Linux Monitoring

AppDiagnos monitors the health of servers that run on Linux(OS) Operating System. Performance details that are important to the operations team, such as CPU Usage, Available Memory, Bytes sent across network etc. are monitored by AppDiagnos.

Pre-requisite:

JDK 1.6+

Java path setting: To set the java class path

  • ‍Open bash profile using vi ~/.bash_profile command.
  • Set JAVA_HOME as follows
  • export JAVA_HOME=. (E.x. If your path is set to /usr/java/jdk1.5.0_07/bin/java,Set it as follows: export JAVA_HOME=/usr/java/jdk1.5.0_07/bin/java)
  • Set PATH as follows: export PATH=$PATH:/usr/java/jdk1.5.0_07/bin
  • Replace /usr/java/jdk1.5.0_07 as per your location of java folder
  • Save and close the file.

To monitor a tomcat application in Linux environment follow the steps shown below.

Open AppDiagnos APM Portal URL in a browser.

Login with valid credentials.

Click on Ops View menu, Select Servers

Click on “+” Icon to add New Server

db_create

Select Server from the Create Server Monitor page

3-2

Select Server from the Create Server Monitor page

56875c69172915f31671cf91_mysql4

Enter Valid Server Name,Description, Select the Server Type that matches your server (supported flavors are as shown below) and Version as shown below and click Save

567e7ec6203747ba0dcb0312_linuxflavours

To Download the One line installer, Copy the link and paste in the terminal as shown below.

2-2

After successful add, Download the Linux Monitor Agent from the Download Agent Window.

Linux Monitor Agent – Installation Set up Instruction :

In Linux machine, Extract the Downloaded “Linux Monitor Agent” File.

Open a New terminal.

1.Create AppDiagnos agent’s home directory  mkdir /mnt/appdiagnos_linux_agent  cd /mnt/appdiagnos_linux_agent

2. Download the agent under /mnt/appdiagnos_linux_agent

3. Untar the downloaded setup  tar -xzmvf appdiagnos_linux_agent.tar.gz

4. Install SSL  cd appdiagnos_linux_agent  cp $JAVA_HOME/jre/lib/security/cacerts cacerts_appdiagnos_agent  keytool -import -alias apm.appdiagnos.com -keystore cacerts_appdiagnos_agent -storepass changeit -file apm.appdiagnos.com.crt -noprompt

Note: “changeit” is the default store password for the “cacerts”. If it changed, then use the new password in the above and below commands.

5. Run the agent in background:  cd /mnt/appdiagnos_linux_agent  nohup java -Djavax.net.ssl.trustStore=cacerts_appdiagnos_agent -Djavax.net.ssl.trustStorePassword=changeit -jar appdiagnos_linux_agent.jar > logs/appdiagnos_linux_agent_$(date +%Y-%m-%d_%H%M).log &

NOTE: On successful installation of the “Server Monitor Agent”, the Monitor Agent Icon will appear in green color.

Configuring Counters

Navigate to AppDiagnos APM Portal, OPS View >> Servers page

A list of Servers will appear

Click on the “Configure Metrics”  (Wheel Icon to the left of Card Layout) Option.

Choose the metrics that are needed to be measured.

Click SAVE button.

 

56875de9210f4cfc1603f328_mysql11

Newly added counters graph will start appearing on the APM portal.

On Click on Card Layout will appear the monitoring graph that can be viewed as below.

567e7f951a7aef7170720456_linux-5