Ad Widget

Collapse

import template???

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wf201626
    Junior Member
    • Apr 2010
    • 4

    #1

    import template???

    hi all

    I installed zabbix 1.8.2 recently in my centos 5.4 linux box. the installation was quite smooth. but, when I tried to import a template which created for oracle monitoring - orabbix, the import page went blank. and there was not anything added. also, no errors!

    I did some research and found the early verion only has different import page than the newer verion.

    so my questions will be -
    1. where did i do wrong?
    2. can I import the template from zabbix server side manually through command line?
    3. any log that i can review

    thanks in advance,

    Frank
    Attached Files
    Last edited by wf201626; 16-04-2010, 15:46.
  • wf201626
    Junior Member
    • Apr 2010
    • 4

    #2
    i have found the solution for this issue. there is how i found it.

    1. go to /var/log/httpd. check the error_log file for apache web server. in my case i found the error like this -
    [Fri Apr 16 11:22:26 2010] [error] [client 172.15.102.11] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: 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 62, referer: http://onlinuxtest/import.php?sid=3fb64931f7e5d3c3
    2. install rpm php-xml
    yum -y install php-xml
    3. restart apache httpd service
    service httpd restart

    after that, the template has been imported successfully.

    thanks,

    Frank

    Comment

    • yoda
      Junior Member
      • Jul 2010
      • 11

      #3
      Did you have any other trouble when importing Template_Oracle?
      I'm catching the following errors (zabbix 1.8.2; orabbix 0.9.3; ubuntu server 10.04):

      # Undefined index: ymin_itemid[/var/www/zabbix/api/classes/class.cgraph.php:577]
      # Undefined index: ymax_itemid[/var/www/zabbix/api/classes/class.cgraph.php:591]
      # Graph [ Logical I/O ]: Incorrect item for Ymax value

      Thanks for any hints.

      Comment

      Working...