Ad Widget

Collapse

Script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jeangabin03
    Junior Member
    • Mar 2017
    • 6

    #1

    Script

    Hi,

    I try to use the Actions on Zabbix.
    My goal is to run a script when there is a problem on a trigger.

    The script is on the station (windows), there is a Zabbix Agent. (The enable remote =1 in the conf file for that case).

    The server is on a Linux.

    But The script doesn't Run when there is a problem on the trigger ...

    Someone Already use that kind of action ?
    Last edited by jeangabin03; 07-04-2017, 11:37.
  • toine7m
    Member
    • Feb 2017
    • 93

    #2
    Tu as essayé de changer les permissions du fichier BAT ?

    Ta est options et ta commande est correcte, c'est bizarre...

    Essaye plutôt tout d'abord de lancer cette commande :

    c:\windows\system32\shutdown.exe -r -t now

    Et si ton pc redémarre, c'est que la commande parvient au PC mais n'a pas l'autorisation de lancer le bat, sinon c'est un autre problème...

    Comment

    • jeangabin03
      Junior Member
      • Mar 2017
      • 6

      #3
      Merci ta réponse.
      Le pc ne redémarre pas, le problème vient pour le moment d'ailleurs du coup , je continue a chercher

      Comment

      Working...