Ad Widget

Collapse

Problems importing cisco_xml.pl produced template

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mday
    Junior Member
    • May 2011
    • 2

    #1

    Problems importing cisco_xml.pl produced template

    I'm getting started with Zabbix (1.8.5), and have been importing templates for our Cisco network equipment. I've used the cisco_xml.pl script from http://www.zabbix.com/forum/showthread.php?t=15400 to generate templates, and then I import them using my browser. Most of the templates I create have worked just fine, but a couple have not successfully imported. When they don't successfully import, I'm not getting any status error messages. The footer of my Chrome window briefly shows 'Waiting for zabbix-server...', and then the file name file next to the 'Choose File' button reverts to 'No file chosen', and I'm back to where I started with no feedback one way or the other. I'm not seeing any errors in the zabbix_server.log or in the Apache error log. The ssl_access_log shows:

    192.168.x.y - xxx [17/May/2011:17:17:04 -0700] "POST /zabbix/templates.php HTTP/1.1" 200 13496
    192.168.x.y - xxx [17/May/2011:17:17:04 -0700] "GET /zabbix/jsLoader.php?ver=1.8.5&lang=en_gb HTTP/1.1" 304 -
    192.168.x.y - xxx [17/May/2011:17:17:04 -0700] "POST /zabbix/jsrpc.php?output=json-rpc HTTP/1.1" 200 383

    So it looks like something his happening, but I'm not sure where it goes wrong. Are there other logs I should be checking, or are there other ways I can get a handle on where the import process is failing?
  • mday
    Junior Member
    • May 2011
    • 2

    #2
    Solved the problem...

    The templates that wouldn't load because the default maximum upload size in /etc/php.ini was too small. We changed parameter from 2M to 20M, restarted apache, and were able to upload the larger templates.

    upload_max_filesize = 20M

    Comment

    Working...