Ad Widget

Collapse

Error importing Template

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • [LMZ]
    Junior Member
    • Mar 2023
    • 2

    #1

    Error importing Template

    Hello All,

    I'm new to Zabbix and thought I would post this error which I know could be an incompatibility issue. I'm trying to import Palo Alto template from mrRobit GitHub [1][2], which I notice only has v5.4; I have Zabbix 6.4 installed. The following error I'm getting is:

    Code:
     Invalid parameter "/1/request_method": value must be 0.
    Was wondering what can I do or what do I have to alter in the YAML file to make it work? I'm able to import other templates, so I know things are working in the backend.

    Thank you

    [1] https://github.com/mrRobit/Zabbix_templates
    [2] https://www.zabbix.com/integrations/palo_alto_networks​
  • Answer selected by [LMZ] at 12-04-2023, 15:15.
    Rayg00n
    Junior Member
    • Jan 2023
    • 23

    Template needs to be re-written.
    Just open the Template YAML-file and comment "request_method" strings with #
    Save it and import.

    Comment

    • fagervan
      Junior Member
      • Nov 2022
      • 5

      #2
      Originally posted by [LMZ]
      Hello All,

      I'm new to Zabbix and thought I would post this error which I know could be an incompatibility issue. I'm trying to import Palo Alto template from mrRobit GitHub [1][2], which I notice only has v5.4; I have Zabbix 6.4 installed. The following error I'm getting is:

      Code:
       Invalid parameter "/1/request_method": value must be 0.
      Was wondering what can I do or what do I have to alter in the YAML file to make it work? I'm able to import other templates, so I know things are working in the backend.

      Thank you

      [1] https://github.com/mrRobit/Zabbix_templates
      [2] https://www.zabbix.com/integrations/palo_alto_networks​
      same error importing template_apc_netbotz_monitor_2xx.yaml
      Zabbix 6.4 clean install.

      Comment

      • Rayg00n
        Junior Member
        • Jan 2023
        • 23

        #3
        Template needs to be re-written.
        Just open the Template YAML-file and comment "request_method" strings with #
        Save it and import.

        Comment

        • [LMZ]
          Junior Member
          • Mar 2023
          • 2

          #4
          Thank you Rayg00n, that fixed the issue! Greatly appreciated!!

          Originally posted by Rayg00n
          Template needs to be re-written.
          Just open the Template YAML-file and comment "request_method" strings with #
          Save it and import.

          Comment

          • Sub
            Junior Member
            • Feb 2019
            • 12

            #5
            FYI, I've created https://support.zabbix.com/browse/ZBX-22669

            Comment

            • richlv
              Senior Member
              Zabbix Certified Trainer
              Zabbix Certified SpecialistZabbix Certified Professional
              • Oct 2005
              • 3112

              #6
              If somebody is facing this, a simple solution for templates in JSON format with jq: https://medium.com/@Richlv/zabbix-fi...0-6ec12c2c057c .
              Zabbix 3.0 Network Monitoring book

              Comment

              Working...