ZABBIX 2.2 Agent インストール手順(vCSA/SUSE Linux Enterprise)
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
]
開始行:
[[監視システム(NMS)]]
目次~
#contents
**概要 [#n12b416d]
ZABBIX AgentをvCenter Server Appliance 5.5へインストール...
vCSA5.5はSUSE Linux Enterprise 11をベースとしているため、...
**インストール手順 [#j497f8ff]
***リポジトリの追加 [#ld180a53]
リポジトリを入手する。~
-リポジトリ追加
# zypper addrepo "http://download.opensuse.org/repositor...
~
Adding repository 'Server Monitoring Software (SLE_11_SP...
Repository 'Server Monitoring Software (SLE_11_SP3)' suc...
Enabled: Yes
Autorefresh: No
GPG check: Yes
URI: http://download.opensuse.org/repositories/server:/m...
-リポジトリ有効化
# zypper refresh
~
Retrieving repository 'Server Monitoring Software (SLE_1...
New repository or package signing key received:
Key ID: A5C23697EE454F98
Key Name: server:monitoring OBS Project <server:monitori...
Key Fingerprint: 8F3BC8EFF549CDCDA918D981A5C23697EE454F98
Key Created: Fri Apr 18 16:35:12 2014
Key Expires: Sun Jun 26 16:35:12 2016
Repository: Server Monitoring Software (SLE_11_SP3)
Do you want to reject the key, trust temporarily, or tru...
***Zabbix Agentのインストール [#b7776cd3]
-パッケージインストール~
# zypper install zabbix-agent
~
上記のコマンドが正常に動作しない場合はこちらを試す。~
# sudo zypper install 'zabbix-agent'
~
The following NEW package is going to be installed:
zabbix-agent
1 new package to install.
Overall download size: 181.0 KiB. After the operation, a...
Continue? [y/n/? shows all options] (y): 【yを入力】
Retrieving package zabbix-agent-2.2.9-1.1.x86_64 (1/1), ...
Retrieving: zabbix-agent-2.2.9-1.1.x86_64.rpm [done (0 B...
Installing: zabbix-agent-2.2.9-1.1 [done] ...
Additional rpm output:
warning: /var/cache/zypp/packages/server_monitoring/x86_...
-起動設定~
# chkconfig zabbix-agentd on
~
実行時にランレベル4で登録ができなかったとのエラーが出るが...
***Zabbix Agentの動作設定 [#ve0ab4e7]
/etc/zabbix/zabbix-agentd.confに設定を行う。~
代表的な設定項目は以下。~
|Server|パッシブ監視を行うZABBIX Serverのアドレスを設定。...
|ServerActive|アクティブ監視を行うZABBIX Serverのアドレス...
|Hostname|ZABBIX Serverに登録したホスト名を設定。|
|HostnameItem|システムのホスト名を登録するホスト名に指定...
|EnableRemoteCommands|リモートコマンドの有効化設定。(0=...
***Zabbix Agentの起動 [#m8f27391]
Zabbix Agentを手動にて起動する。~
# /etc/init.d/zabbix-agentd start
~
起動後、/var/log/zabbix/zabbix_agentd.logに以下のログが記...
~
22564:20150502:174531.777 Zabbix Agent stopped. Zabbix 2...
23315:20150502:174531.873 Starting Zabbix Agent [vcsa5.l...
23315:20150502:174531.873 using configuration file: /etc...
23316:20150502:174531.874 agent #0 started [collector]
23318:20150502:174531.875 agent #2 started [listener #2]
23319:20150502:174531.875 agent #3 started [listener #3]
23317:20150502:174531.875 agent #1 started [listener #1]
23320:20150502:174531.877 agent #4 started [active check...
**Firewall関連 [#f8db8c85]
***iptables(vCenter Server Appliance) [#l2efd468]
vSphere 6以降はiptablesによるパケットフィルタが設けられて...
-ポート開放
iptables -A INPUT -m state --state NEW -p tcp --dport 10...
-設定の保存
iptables-save
-設定確認
# iptables -L | grep zabbix
ACCEPT tcp -- anywhere anywhere ...
***vcopsfirewall(vCenter Operation Manager) [#te68ba9c]
vSphere 6のvRealize Operations Managerは専用のFirewallサ...
操作方法に関するドキュメントが皆無でありZabbixで使用する...
-停止
/etc/init.d/vcopsfirewall stop
-自動起動抑止
chkconfig vcopsfirewall off
***vmware-firewall.service(vCenter Server Appliance 6.5...
vSphere 6.5のvCenter Server ApplianceはOSがPhoton OSに変...
FirewallはVMware独自のサービスとして実装されており、以下...
-/etc/vmware/appliance/service.conf
"zabbix-agent": {
"firewall": {
"enable": true,
"rules": [
{
"direction": "inbound",
"protocol": "tcp",
"porttype": "dst",
"port": "10050",
"portoffset": 0
}
]
}
}
-サービス再起動
systemctl restart vmware-firewall.service
**参考 [#bfd38974]
[[パッケージのインストールserver:monitoring / zabbix-agen...
終了行:
[[監視システム(NMS)]]
目次~
#contents
**概要 [#n12b416d]
ZABBIX AgentをvCenter Server Appliance 5.5へインストール...
vCSA5.5はSUSE Linux Enterprise 11をベースとしているため、...
**インストール手順 [#j497f8ff]
***リポジトリの追加 [#ld180a53]
リポジトリを入手する。~
-リポジトリ追加
# zypper addrepo "http://download.opensuse.org/repositor...
~
Adding repository 'Server Monitoring Software (SLE_11_SP...
Repository 'Server Monitoring Software (SLE_11_SP3)' suc...
Enabled: Yes
Autorefresh: No
GPG check: Yes
URI: http://download.opensuse.org/repositories/server:/m...
-リポジトリ有効化
# zypper refresh
~
Retrieving repository 'Server Monitoring Software (SLE_1...
New repository or package signing key received:
Key ID: A5C23697EE454F98
Key Name: server:monitoring OBS Project <server:monitori...
Key Fingerprint: 8F3BC8EFF549CDCDA918D981A5C23697EE454F98
Key Created: Fri Apr 18 16:35:12 2014
Key Expires: Sun Jun 26 16:35:12 2016
Repository: Server Monitoring Software (SLE_11_SP3)
Do you want to reject the key, trust temporarily, or tru...
***Zabbix Agentのインストール [#b7776cd3]
-パッケージインストール~
# zypper install zabbix-agent
~
上記のコマンドが正常に動作しない場合はこちらを試す。~
# sudo zypper install 'zabbix-agent'
~
The following NEW package is going to be installed:
zabbix-agent
1 new package to install.
Overall download size: 181.0 KiB. After the operation, a...
Continue? [y/n/? shows all options] (y): 【yを入力】
Retrieving package zabbix-agent-2.2.9-1.1.x86_64 (1/1), ...
Retrieving: zabbix-agent-2.2.9-1.1.x86_64.rpm [done (0 B...
Installing: zabbix-agent-2.2.9-1.1 [done] ...
Additional rpm output:
warning: /var/cache/zypp/packages/server_monitoring/x86_...
-起動設定~
# chkconfig zabbix-agentd on
~
実行時にランレベル4で登録ができなかったとのエラーが出るが...
***Zabbix Agentの動作設定 [#ve0ab4e7]
/etc/zabbix/zabbix-agentd.confに設定を行う。~
代表的な設定項目は以下。~
|Server|パッシブ監視を行うZABBIX Serverのアドレスを設定。...
|ServerActive|アクティブ監視を行うZABBIX Serverのアドレス...
|Hostname|ZABBIX Serverに登録したホスト名を設定。|
|HostnameItem|システムのホスト名を登録するホスト名に指定...
|EnableRemoteCommands|リモートコマンドの有効化設定。(0=...
***Zabbix Agentの起動 [#m8f27391]
Zabbix Agentを手動にて起動する。~
# /etc/init.d/zabbix-agentd start
~
起動後、/var/log/zabbix/zabbix_agentd.logに以下のログが記...
~
22564:20150502:174531.777 Zabbix Agent stopped. Zabbix 2...
23315:20150502:174531.873 Starting Zabbix Agent [vcsa5.l...
23315:20150502:174531.873 using configuration file: /etc...
23316:20150502:174531.874 agent #0 started [collector]
23318:20150502:174531.875 agent #2 started [listener #2]
23319:20150502:174531.875 agent #3 started [listener #3]
23317:20150502:174531.875 agent #1 started [listener #1]
23320:20150502:174531.877 agent #4 started [active check...
**Firewall関連 [#f8db8c85]
***iptables(vCenter Server Appliance) [#l2efd468]
vSphere 6以降はiptablesによるパケットフィルタが設けられて...
-ポート開放
iptables -A INPUT -m state --state NEW -p tcp --dport 10...
-設定の保存
iptables-save
-設定確認
# iptables -L | grep zabbix
ACCEPT tcp -- anywhere anywhere ...
***vcopsfirewall(vCenter Operation Manager) [#te68ba9c]
vSphere 6のvRealize Operations Managerは専用のFirewallサ...
操作方法に関するドキュメントが皆無でありZabbixで使用する...
-停止
/etc/init.d/vcopsfirewall stop
-自動起動抑止
chkconfig vcopsfirewall off
***vmware-firewall.service(vCenter Server Appliance 6.5...
vSphere 6.5のvCenter Server ApplianceはOSがPhoton OSに変...
FirewallはVMware独自のサービスとして実装されており、以下...
-/etc/vmware/appliance/service.conf
"zabbix-agent": {
"firewall": {
"enable": true,
"rules": [
{
"direction": "inbound",
"protocol": "tcp",
"porttype": "dst",
"port": "10050",
"portoffset": 0
}
]
}
}
-サービス再起動
systemctl restart vmware-firewall.service
**参考 [#bfd38974]
[[パッケージのインストールserver:monitoring / zabbix-agen...
ページ名: