Ad Widget

Collapse

Item Not Supported

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Hello There
    Member
    • Feb 2018
    • 30

    #1

    Item Not Supported

    Hello.

    We've already imported a Veeam Template (https://share.zabbix.com/cat-app/bac...y-jobs-trapper)... But we see that the items are not supported with this error:

    Value "Import-Clixml : Could not find file 'C:\Program Files\Zabbix Agent\scripts\back
    upjob.xml'.
    At C:\Program Files\Zabbix Agent\scripts\zabbix_vbr_job.ps1:365 char:24
    + $xml1 = Import-Clixml <<<< "$pathxml\backupjob.xml"
    + CategoryInfo : OpenError: ( [Import-Clixml], FileNotFoundExce
    ption
    + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.Im
    portClixmlCommand

    0" of type "string" is not suitable for value type "Numeric (unsigned)"


    If I run the script manually from PS window on server, I see:
    -- ERROR -- : Need an option !

    Thanks for any help.
  • Алексей Мезенцев
    Junior Member
    • Dec 2018
    • 6

    #2
    I have the same question. Cannot get script to work!

    Comment

    • Brambo
      Senior Member
      • Jul 2023
      • 245

      #3

      I run into the same problem.
      The only fix I could make is, do the encrypting of the .XML file with the zabbix agent.
      So either create a secondary script for 1 time usage and make the needed file with the Export-Clixml function in that script.
      I tried setting security settings on the file but could find a correct one, with the usage of encrypting by the agent it worked fine. The message it can't find the file is somewhat confusing but I believe it's more like no rights to load it.

      (I Know it's an old topic but for search references I update this)

      Comment

      Working...