Zabbix host情報のxmlインポートエラー
ホストのxmlファイルをインポートしようとすると画面上に何も表示されずに失敗しました。
原因を調査するためapacheのerrorログを確認したところ下記のようなエラーが発生。
[error]PHP Fatal error: require_once(): Failed opening required 'include/classes/class.domdocument.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/zabbix/include/config.inc.php on line 70, referer: http://hostname/zabbix/hosts.php
http://www.zabbix.com/forum/showthread.php?t=14818
ここを参考にphp-xmlをインストールしてみました。
# yum install php-xml
インストールだけでは駄目なので、apacheの再起動を実施。
無事インポートに成功しました。