差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
ja:documentation:pandorafms:monitoring:13_user_monitorization [2024/11/15 22:54] – [Windows への Selenium サーバの展開] junichi | ja:documentation:pandorafms:monitoring:13_user_monitorization [2025/02/14 08:23] (現在) – [データ管理と表示] junichi | ||
---|---|---|---|
行 73: | 行 73: | ||
==== 事前設定 ==== | ==== 事前設定 ==== | ||
- | Docker and Docker Compose must be previously installed | + | Docker and Docker Compose must be previously installed. |
- | DockerとDocker Compose が事前にインストールされている必要があり、CentOS を基本オペレーティングシステムとして使用することをお勧めします。 | + | DockerとDocker Compose が事前にインストールされている必要があります。 |
For this installation, | For this installation, | ||
行 490: | 行 490: | ||
PWRD デーモンの Selenium コンポーネントは Java を要求します。以下のようにインストールします。 | PWRD デーモンの Selenium コンポーネントは Java を要求します。以下のようにインストールします。 | ||
- | yum install java | + | <code bash> |
+ | dnf install java | ||
+ | |||
+ | </ | ||
PWRD で、Linux サーバで Firefox を起動できるようにするには、仮想グラフィック環境を作成するために xorg-x11-server-Xvfb, | PWRD で、Linux サーバで Firefox を起動できるようにするには、仮想グラフィック環境を作成するために xorg-x11-server-Xvfb, | ||
- | yum install xorg-x11-server-Xvfb gtk2 gtk3 | + | <code bash> |
+ | dnf install xorg-x11-server-Xvfb gtk2 gtk3 | ||
- | リポジトリに無い場合は、rpm ファイルは以下から入手できます。 | + | </ |
- | <WRAP center round download 90%> | + | Once the prerequisites are installed, continue with the installation of install_pwrd.sh. This installer is found by default in the folder /// |
- | [[ftp:// | + | 依存ファイルをインストールしたら、install_pwrd.sh のインストールを続行します。このインストーラーは、デフォルトでは |
- | [[ftp://rpmfind.net/linux/centos/7.4.1708/os/ | + | <code bash> |
+ | cd /usr/share/pandora_server/util/pwrd/ | ||
+ | ./install_pwrd.sh --install | ||
- | </ | ||
- | |||
- | rpm パッケージを手動でインストールするには次のようにします。 | ||
- | |||
- | < | ||
- | yum install xorg-x11-server-Xvfb-1.15.0-22.el6.centos.x86_64.rpm | ||
- | yum install gtk2-2.24.31-1.el7.x86_64.rpm | ||
- | </ | ||
- | |||
- | 必要なパッケージのインストールをしたら、install_pwrd.sh のインストールに進みます。デフォルトのパスは、 / | ||
- | |||
- | < | ||
- | cd / | ||
- | | ||
</ | </ | ||
インストールが完了したらサービスを開始します。 | インストールが完了したらサービスを開始します。 | ||
- | < | + | < |
/ | / | ||
+ | |||
</ | </ | ||
以下のスクリプトで Selenium サーバを起動できます。 | 以下のスクリプトで Selenium サーバを起動できます。 | ||
- | < | + | < |
#!/bin/sh | #!/bin/sh | ||
# Monitoring selenium process | # Monitoring selenium process | ||
- | if [[ "`ps aux |grep selenium ]]; then | + | if [[ `ps aux |grep selenium` ]]; then |
exit | exit | ||
else | else | ||
- | if [[ "`ps aux |grep Xvfb ]]; then | + | if [[ `ps aux |grep Xvfb` ]]; then |
Xvfb :99 -ac & | Xvfb :99 -ac & | ||
export DISPLAY=:99 | export DISPLAY=:99 | ||
行 1187: | 行 1180: | ||
===== データ管理と表示 ===== | ===== データ管理と表示 ===== | ||
+ | |||
+ | <wrap #ks6_1 /> | ||
==== Pandora FMS コンソールでの Web 分析モジュールの作成 ==== | ==== Pandora FMS コンソールでの Web 分析モジュールの作成 ==== |