Ad Widget

Collapse

Is it possible to remote command shows in zabbix history/mail

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • iftitutul
    Member
    • Sep 2017
    • 51

    #1

    Is it possible to remote command shows in zabbix history/mail

    I am using zabbix 3.4 and if trigger is generated like too many processes running on zabbix it will generates remote command and remote command shows in zabbix or zabbix history/latest data. Is it possible?
  • Pitons
    Member
    • Oct 2017
    • 49

    #2
    Hi iftitutul!

    Yes it is,
    You will find that info under: Reports -> Action log

    Comment

    • iftitutul
      Member
      • Sep 2017
      • 51

      #3
      Thanks for swift response. Yes, I can see it whether mail sent or not and remote command shows executed or not. But my another requirement is:
      remote command result shows in zabbix mail body also

      Comment

      • Pitons
        Member
        • Oct 2017
        • 49

        #4
        If I understand correctly you want to log command execution and result?
        One of the options is:
        1) create an item [Type: Zabbix trapper] for the command execution;
        2) create a script that executes what you need and uses zabbix_sender to return result to that item;
        3) you get what you asked for and you can go further creating triggers/actions based on that returned values.

        Comment

        Working...