Ad Widget

Collapse

Windows Zabbix Agent returns success as an error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • stonest
    Junior Member
    • Oct 2015
    • 6

    #1

    Windows Zabbix Agent returns success as an error

    I'm trying to automate the zabbix agent installation in chef, however the command to install zabbix on windows returns the success as an error.

    I think it's because it's exiting with code 1 rather than a 0 exit code.

    Does anyone know why or have they experienced this in the past?

    Currently I'm reading the error and just telling it to carry on if it contains success but want to know if there's a better way.

    Thanks
  • stonest
    Junior Member
    • Oct 2015
    • 6

    #2
    Turns out it worked if i just run it as a batch file instead of a powershell script...

    Comment

    Working...