Ad Widget

Collapse

Fire trigger when new host added or deleted

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • itai
    Junior Member
    • Jan 2017
    • 2

    #1

    Fire trigger when new host added or deleted

    Hi,

    I want to fire trigger when new host is created or host is deleted.
    is it possible to do that?
    im using Zabbix 2.4

    Thanks!
    Last edited by itai; 09-01-2017, 15:40.
  • batchenr
    Senior Member
    • Sep 2016
    • 440

    #2
    Hi,

    i dont think there is an option like that what i can suggest is
    maybe to make a bash script with mysql quary to :

    #mysql -D zabbixdb -N -s -e "select ip,dns from interface"
    and to compere it once in a while and if it changes you can make a trigger.

    Comment

    Working...