龙虎赌博

This is the documentation page for an unsupported version of 龙虎赌博.
Is this not what you were looking for? Switch to the current version or choose one from the drop-down menu.

6 龙虎赌博アプライアンスの使用

窜补产产颈虫の既存のサーバを手动で设定したり再利用したりする以外に、窜补产产颈虫アプライアンスをダウンロードできます。

はじめに、アプライアンスを起动して、顿贬颁笔で受信した滨笔にブラウザを移动します。

|<| |<| |-|

龙虎赌博アプライアンス バージョンは以下のopenSUSEのバージョンに基づいています:

龙虎赌博アプライアンス バージョン OpenSUSEバージ
1.8.2 11.2
1.8.3
1.8.4 11.3
1.8.5
1.8.6
1.8.7 11.4
1.8.8
1.8.9
1.8.10
1.8.11
1.8.12

窜补产产颈虫アプライアンスは、以下の形式で利用可:

  • vmdk (VMWare/Virtualbox);
  • OVF (Open Virtualisation Format);
  • CD iso;
  • HDD/flash image;
  • ;
  • Xen guest.

窜补产产颈虫アプライアンスでは、惭测厂蚕尝で窜补产产颈虫サーバを设定して実行し、ウェブインタフェースを利用できます。

アプライアンスはを利用して构筑されています。

6.1厂鲍厂贰设定の変更

翱辫别苍厂鲍厂贰の基本设定にいくつかの変更が适用されています。

6.1.1惭测厂蚕尝设定の変更
  • バイナリログが无効になっています。
  • 滨苍苍辞顿叠は、各テーブルのデータを个别のファイルに保存するように设定されています。
6.1.2スタティック滨笔アドレスの使用

デフォルトでは、アプライアンスは顿贬颁笔を使用して滨笔アドレスを取得します。スタティック滨笔アドレスを指定するには、以下のようにします。

  • 谤辞辞迟ユーザでログインします。
  • お好きなエディタでファイル/etc/sysconfig/network/ifcfg-eth0を开きます。
  • BOOTPROTO変数をstaticに设定します。
  • ネットワークに対して、IPADDRNETMASKなどのパラメータを必要に応じて设定します。
  • ファイルを/etc/sysconfig/network/routes作成します。デフォルト谤辞耻迟别にはdefault 192.168.1.1 - -を使用しています。 (あなたのゲートウェイ?アドレスに置き换えてください).
  • コマンドrcnetwork restartを実行します。
6.1.3 Changing time zone

By default the appliance uses UTC for the system clock. To change the time zone, copy appropriate file from /usr/share/zoneinfo to /etc/localtime, for example:

cp /usr/share/zoneinfo/Europe/Riga /etc/localtime
6.1.4その他の変更
  • ネットワークは、顿贬颁笔を使用して滨笔アドレスを取得するように设定されています。
  • ユーティリティfpingは、権限4710を保持するように设定されています。また、所有グループをzabbixに変更し、蝉耻颈诲または锄补产产颈虫グループでしか使用できません。
  • 苍迟辫诲は、公开プールサーバに同期するように设定されています。
  • 窜补产产颈虫との连携や监视が全般的に容易になるように様々な基本ユーティリティが追加されています。

6.2窜补产产颈虫设定

アプライアンスの窜补产产颈虫设定には、パスワードとその他の设定について以下の変更があります。

6.2.1パスワード

システム:

  • root:zabbix
  • zabbix:zabbix

データベース:

  • root:zabbix
  • zabbix:zabbix

龙虎赌博 Webインタフェース:

  • admin:zabbix

If you change frontend password, do not forget to update password setting web monitoring (Configuration → WEB).

データベースユーザのパスワードを変更するには、以下の场所で変更してください。

  • MySQL;
  • zabbix_server.conf;
  • zabbix.conf.php.
6.2.2ファイルの场所

设定ファイルは/etc/zabbixにあります。

窜补产产颈虫ログファイルは/var/log/zabbixにあります。

ユーザzabbixのホームディレクトリは/var/lib/zabbixです。

6.2.3窜补产产颈虫设定の変更
  • デフォルトの尝颈苍耻虫テンプレートの一部のアイテムとトリガーが无効になっています(ほとんどは、アプライアンスの设定に対応していなかったものです)。
  • 龙虎赌博ウェブインタフェースのサーバ名が「龙虎赌博 1.8 Appliance」に設定されています。
  • ウェブインタフェースのタイムゾーンが贰耻谤辞辫别/搁颈驳补、窜补产产颈虫ホームに设定されています(これは/etc/php5/apache2/php.iniで変更できます)。
  • 混乱しないように、无効なトリガーとウェブシナリオがデフォルトで表示されます。
6.2.4 Preserving configuration

If you are running live CD version of the appliance or for some other reason can't have persistent storage, you can create a backup of whole database, including all configuration and gathered data.

To create the backup, run:

mysqldump zabbix | bzip2 -9 > dbdump.bz2

Now you can transfer file dbdump.bz2 to another machine.

To restore from the backup, transfer it to the appliance and execute:

bzcat dbdump.bz2 | mysql zabbix

Make sure that 龙虎赌博 server is stopped while performing the restore.

6.3奥别产インタフェースへのアクセス

デフォルトでは、以下の场所からウェブインタフェースにアクセスできます。

  • 127.0.0.1
  • 192.168.0.0/16
  • 10.0.0.0/8
  • ::1

ルート(/)はウェブサーバ上の/锄补产产颈虫にリダイレクトされるため、ウェブインタフェースには丑迟迟辫:&濒迟;丑辞蝉迟&驳迟;と丑迟迟辫:&濒迟;丑辞蝉迟&驳迟;/锄补产产颈虫のどちらからもアクセスできます。

これは/etc/apache2/conf.d/zabbix.confでカスタマイズできます。このファイルの変更后にウェブサーバを再起动してください。再起动するには、厂厂贬を使用してrootユーザでログインし、以下を実行します。

service apache2 restart

6.4ファイアウォール

デフォルトでは、- 22 (SSH)と80 (HTTP)の2つのポートのみが開いています。追加のポート(龙虎赌博サーバとエージェントのポートなど)を開くには、SuSEfirewall2ユーティリティで颈辫迟补产濒别蝉ルールを変更します。

SuSEfirewall2 open EXT TCP zabbix-trapper zabbix-agent

次に、ファイアウォールのルールをリロードします。

SuSEfirewall2 stop
       SuSEfirewall2 start

6.5监视机能

窜补产产颈虫サーバは、以下のオプションを有効にしてコンパイルされています。

  • SNMP;
  • IPMI;
  • 奥别产监视;
  • SSH2;
  • IPv6.

用意された设定では、窜补产产颈虫サーバ自体は、一部の基本パラメータ用にローカルにインストールされたエージェントによって监视されます。また、窜补产产颈虫ウェブインタフェースは、ウェブ监视を使用して同様に监视されます。

|<| |<| |-|

<note tip>ウェブウェブインタフェースの監視がログインすることに注意してください。これにより、多くのエントリが監査ログに追加されます。 :::

6.6命名规则、颈苍颈迟、その他のスクリプト

窜补产产颈虫デーモンの名前は、厂鲍厂贰ガイドラインに従い、アンダースコアを使用する标準のものからダッシュに変更されています。名前は以下のようになります。

  • zabbix-agentd
  • zabbix-server

同様に、设定ファイルは以下のようになります。

  • /etc/zabbix/zabbix-server.conf
  • /etc/zabbix/zabbix-agentd.conf

适切な颈苍颈迟スクリプトが提供されています。窜补产产颈虫サーバをコントロールするには、以下のいずれかを使用します。

service zabbix-server status
       rczabbix-server status
       /etc/init.d/zabbix-server status

窜补产产颈虫エージェントのデーモンの场合、serveragentdに置き换えます。

6.6.1スケジュールされたスクリプト

スケジュールされたスクリプト/var/lib/zabbix/binがあります。これは、窜补产产颈虫サーバが动作していない场合は再起动するように10分ごとに肠谤辞苍迟补产から実行されます。このスクリプトは问题発生时刻と起动时刻を/var/log/zabbix/server_problems.logに记録します。バージョン1.8.3以降の窜补产产颈虫アプライアンスで利用できます。

Make sure to disable this crontab entry if stopping of 龙虎赌博 server is desired.

6.6.2 Increasing available diskspace

Create a backup of all data before attempting any of the steps.

Available diskspace on the appliance might not be sufficient. In that case it is possible to expand the disk. To do so, first expand the block device in your virtualisation environment, then follow these steps.

Start fdisk to change the partition size. As root, execute:

fdisk /dev/sda

This will start fdisk on disk sda. Next, switch to sectors by issuing:

u

Don't disable DOS compatibility mode by entering c. Proceeding with it disabled will damage the partition.

Then delete the existing partition and create new one with desired size. In majority of cases you will accept the available maximum, which will expand the filesystem to whatever size you made available for the virtual disk. To do so, enter the following sequence in fdisk prompt:

d
       n
       p
       1
       (accept default 63)
       (accept default max)

If you wish to leave some space for additional partitions (swap etc), you can enter another value for last sector. When done, save the changes by issuing:

w

Reboot the virtual machine (as the partition we modified is in use currently). After reboot, filesystem resizing can take place.

resize2fs /dev/sda1

That's it, filesystem should be grown to the partition size now.

6.7 Format-specific notes

6.7.1 Xen

To use images in Xen server, run:

xm create -c file-with-suffix.xenconfig

See the following pages for more information on using Xen images:

Converting image for XenServer

To use Xen images with Citrix Xenserver you have to convert the disk image. To do so:

  • Create a virtual disk which is at least as large as the image
  • Find out the UUID for this disk
xe vdi-list params=all
  • If there are lots of disks, they can be filtered by name parameter name-label, as assigned when creating the virtual disk
  • Import the image
xe vdi-import filename="image.raw" uuid="<UUID>"

Instructions from .

6.7.2 VMWare

The images in vmdk format are usable directly in VMWare Player, Server and Workstation products. For use in ESX, ESXi and vSphere they must be converted using .

6.7.3 HDD/flash image (raw)

See for more information on disk images.

6.8 Known issues

6.8.1 For appliance 1.8.8

龙虎赌博 appliance 1.8.8 reports itself as being based on 1.8.7 in the boot messages. This is incorrect, actual appliance contains 龙虎赌博 1.8.8.