Ad Widget

Collapse

system.run item key no longer valid?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • daifunai
    Junior Member
    • May 2020
    • 8

    #1

    system.run item key no longer valid?

    Hello Everyone,

    Unfortunately Zabbix Forums have not been very helpful to me in this matter. Hopefully someone here can change my mind about the state of the forum and how helpful it really can be.

    There is no official MS SQL support in Zabbix - a nagging problem I've dived deep for hours in an attempt to find a working solution. The one "Official" solution that Zabbix provides has no support and no documentation to follow.

    I have an item prototype to run a powershell script on Windows. See below item. When it runs, it fails, saying that it's an unsupported item key.

    system.run["powershell C:\zabbix\scripts\database_status_disc.ps1 -instName 'PayMentServer' -dbName 'Payment'"]

    What is wrong with my syntax?
  • tim.mooney
    Senior Member
    • Dec 2012
    • 1427

    #2
    +1 to everything splitek said. It's all excellent advice, and I especially agree about using UserParameter rather than system.run / remote commands in most cases.

    Comment

    • daifunai
      Junior Member
      • May 2020
      • 8

      #3
      It's already set as a user parameter.

      Is anyone able to answer this completely?

      Comment

      • daifunai
        Junior Member
        • May 2020
        • 8

        #4
        Not necessarily - merely seeking someone that has a solution. If you don't have the solution to this issue I ask not to contribute.

        Comment

        Working...