Ad Widget

Collapse

Using a macro in remote command

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mgood
    Junior Member
    • Oct 2015
    • 1

    #1

    Using a macro in remote command

    Is it possible to use a macro with a remote command custom script under action item?

    Basically trying to create an generic action that will attempt to restart a windows service if it's down and send out an email if it fails to do so.

    I have created specific action that works in doing this, but it would be easier if I didn't have to make an action for each service I want to do this with.
  • the.monitor
    Junior Member
    Zabbix Certified Specialist
    • Aug 2019
    • 22

    #2
    Going to bump this because i'm now attempting to do the same thing.

    if I can't use a template / host / user macro then can I extract the value of a tag? e.g tag1 ?

    Comment

    Working...