投稿日: 2022年4月5日


いいね!
読み込み中...

Introduction to rsyslog-based System Log Monitor

Hello.

Today we will introduce you to rsyslog-based System Log Monitor.

System Log Monitor monitors syslog format requests that are sent to Hinemos Manager and then sends notifications on the monitor results. The feature is categorized as a string monitor.
System Log Monitor enables monitoring of system logs on nodes where Hinemos Agent is installed.

In this article, we will explain the feature assuming Hinemos Manager and Hinemos Client (Hinemos Ver.7.0) are already installed in your environment.

1. Hinemos Agent installation & rsyslog setting

Install Hinemos Agent in a node other than those with Hinemos Manager.
The setting of rsyslog for System Log Monitor can be configured easily when installing Hinemos Agent.
Execute the following command in the directory where Hinemos Agent installer (rpm -ivh hinemos-7.0-agent-7.0.0-1.el.noarch.rpm) is located.

・Command to install Hinemos Agent
HINEMOS_MANAGER=[Host Name or IP Address of Manager Server] rpm -ivh hinemos-7.0-agent-7.0.0-1.el.noarch.rpm

Executing the above-mentioned command will complete Hinemos Agent installation and rsyslog setting.

・Command to start Hinemos Agent
service hinemos_agent start

Execute the above-mentioned command to start Hinemos Agent.

2. Registering the node where Hinemos Agent was installed in the repository

Register the node where Hinemos Agent was installed in the Repository [Node] view of the Repository perspective on the Hinemos Client screen.

3. Create an event notification setting

Create an event notification setting in the Monitor Setting [Notification] view of the Monitor Setting perspective on the Hinemos Client screen.

4. Create a System Log Monitor setting

Create a System Log Monitor setting in the Monitor Setting [List] view of the Monitor Setting perspective on the Hinemos Client screen.
Specify the node where Hinemos Agent was installed and the event notification setting which you created in “3. Create an event notification setting”.

4. Sending a message to system logs to receive notifications

Execute the following command on the node where Hinemos Agent was installed to send a message to system logs.

・Command to send a message to system logs
logger test

Notifications from System Log Monitor will be displayed in the Monitor History [Event] view of the Monitor History perspective on the Hinemos Client screen.

That’s it for the brief introduction to rsyslog-based System Log Monitor.
Thank you for reading.


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

この記事へのご意見やお問い合わせについては、こちら(お問い合わせフォーム)もしくは
Hinemos営業担当【hsd-sales@atomitech.jp】までご連絡ください。
※お問い合わせフォームからご連絡の場合には、お問い合わせ内容で「Hinemosについて」を選択し、
本文の冒頭に「Hinemos研究日記_【タイトル名】」とご記載ください。

定期的にHinemos相談会をzoomで開催しております。
下記もご利用ください。