Hi all,
I need help with creating Template on Zabbix. Basically, what i want to achieve is following:
I have file on my host(linux server). File is generated (and parsed) with local script runed by cron every 15 minutes. Script is checking some components of the database system and write down (to the file) the names of the components that haves status "failed". File will have following format:
Name of the Component 1
Name of the Component 2
Name of the Component 3
etc.
I want to make Zabbix Template that will have 1 Discovery Rule, 1 Item prototype and 1 Trigger Prototype.
Discovery rule need to be pointed to the file and read line by line.
1 discovered Item on host = 1 line in file (All discovered items need to have value "Down")
Trigger need to be raised for all discovered items.
Additional info:
Zabbix Version: 6.0.23.
Target host already have installed Zabbix Agent.
Help would be much appreciated. Thank you in advance.
I need help with creating Template on Zabbix. Basically, what i want to achieve is following:
I have file on my host(linux server). File is generated (and parsed) with local script runed by cron every 15 minutes. Script is checking some components of the database system and write down (to the file) the names of the components that haves status "failed". File will have following format:
Name of the Component 1
Name of the Component 2
Name of the Component 3
etc.
I want to make Zabbix Template that will have 1 Discovery Rule, 1 Item prototype and 1 Trigger Prototype.
Discovery rule need to be pointed to the file and read line by line.
1 discovered Item on host = 1 line in file (All discovered items need to have value "Down")
Trigger need to be raised for all discovered items.
Additional info:
Zabbix Version: 6.0.23.
Target host already have installed Zabbix Agent.
Help would be much appreciated. Thank you in advance.
.
Comment