Ad Widget

Collapse

Fix it scripts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ashbyb
    Junior Member
    • Dec 2014
    • 1

    #1

    Fix it scripts

    Does anyone have an example of an Action script that will automatically fire to fix a problem when an alert is generated? I can't seem to get them to run after a problem happens.
  • LenR
    Senior Member
    • Sep 2009
    • 1005

    #2
    For Linux (I don't have a working windows example)

    The action is:
    {HOSTNAME}:sudo /usr/local/iprint/bin/zabbix-restart.sh

    The "magic" is that the zabbix user on {HOSTNAME} must have sudo access to run this script. The agent on {HOSTNAME} must allow remote commands and the zabbix server must be able to contact the agent.

    You can test that by tweaking the zabbix userid on that host to be able to get a login shell, then you can manually test the sudo.

    Comment

    • Mukesh1k
      Junior Member
      • Dec 2014
      • 4

      #3
      Facing a Problem in Zabbix Event duration time

      Hi Team,

      I have facing some issue in zabbix server.
      when trigger occurred event duration time showing wrongly.i have attached the screenshot of this problem may you guys easily understand what is the exactly problem.
      Thanks you
      Mukesh
      Attached Files

      Comment

      Working...