How to Use Windows Service Monitor

Hello!

In this article, we will introduce you to Windows Service Monitor.

 

Windows Service Monitor enables users to monitor the run statuses of basic OS processes and middleware running on a Windows server.

More specifically, the feature provides a mechanism to obtain specific “Windows Service” information to judge whether they are running.

Now, let’s check the procedure for configuring the feature’s setting described below. We will introduce you to an example of Windows Server 2016 this time.

 

1. Advance Preparation

Configure an WinRM setting before creating a Windows Service Monitor setting.

 

Settings on the Windows server

Run the following command in the command prompt of the Windows server.

 ・Permit remote computer management

 ・Permit basic authentication

 ・Permit unencrypted communications

 ・Prepare a destination OS user

 

②Settings in Hinemos Client

Specify a user and a password for ”WinRM” in the target node’s property in the Repository perspective.

Enter a user name and a password that will be used to log onto the Windows server here.

Note that a user assigned to the Administrators group must be used.

 

2. Monitor Setting

Create a Windows Service Monitor (Bool) setting in the Monitor Setting [List] view.

 

Enter the required information just as in other monitor settings. Specify “Service Name” of the service you wish to monitor in the “Windows Service Name” field in the Check Setting box.

Check the service name in the following way, and enter the string that perfectly matches the name here.

 

1.Go to [Control Panel]→[Management Tool]→[Service] from the start menu of the Windows server.

2.Double-click on the target Windows Service to open its property.

3.Check the “Service Name” in the “Overall” tab.

Examples: Workstation (Windows Service Name: LanmanWorkstation)

        DNS Client (Windows Service Name: Dnscache)

        Hinemos_Manager (Windows Service Name: Hinemos_Manager)

 

This time, we will configure an SNMP Service setting as an example.

Make sure to configure a notification setting so that we can confirm monitor results. This time, we configured status notification and event notification settings.

After specifying the required information, click on the “OK” button to register the monitor settings.

 

3. Performing Monitor

Now, let’s check the Monitor History perspective.

Monitor results will be displayed after the Monitor Interval time, which is set in minutes in the Monitor setting, passes.

History of an “Information” priority notification was displayed in both of the Monitor History [Status] and Monitor History [Event] views.

After the service was stopped, history of a “Critical” priority notification was displayed.

 

We confirmed Windows Service Montior was running properly.

Note that monitor results will not be displayed like those shown above if an WinRM setting is not configured in the Advance Preparation stage.

That’s it for the brief introduction to how to use Windows Service Monitor.

Thank you for reading!


ご意見やお問い合わせについて

この記事へのご意見やお問い合わせについては、こちら(お問い合わせフォーム)もしくは
Hinemos営業担当【hsd-sales@atomitech.jp】までご連絡ください。

※お問い合わせフォームからご連絡の場合には、お問い合わせ内容で「Hinemosについて」を選択し、
 本文の冒頭に「Hinemos研究日記_【タイトル名】」とご記載ください。
※メールアドレスへご連絡の場合には、件名を「Hinemos研究日記_【タイトル名】」でご連絡ください。