Ad Widget

Collapse

SSH item - Executed script help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Noobz
    Senior Member
    • Jun 2020
    • 105

    #1

    SSH item - Executed script help

    I want to issue the equivalent of this: ssh [email protected] 'system health print' | sed -n 1p | grep -Po "(2\d.\d)" as an SSH item however I've tried various formats but I can't get it to work from Zabbix.

    That exact line works as expected from a shell prompt.

    Any help would be appreciated.
Working...