Hi everyone,
I would like to know if it is possible to configure only one item/trigger in zabbix to monitor the same log file, distributed in several paths with the same structure, for example like the paths below, which are on the same host in a linux server.
/opt/applications/web01/processing.log
/opt/applications/web02/processing.log
/opt/applications/web03/processing.log
/opt/applications/web04/processing.log
Is it possible to configure a single item to monitore the word "failure" in the 4 pathlogs above using wildcard as an asterisk?
I configured a single item as below but zabbix does not seem to accept the asterisk. So the item goes to "unsupported status" when I tried this configuration.
log [/opt/applications/web0*/processing.log, failure]
Which takes me to the conclusion that the only way possible to monitor several paths (within the same directory tree) is to create an item for each path to be monitored. Is that right?
Thanks a lot,
I would like to know if it is possible to configure only one item/trigger in zabbix to monitor the same log file, distributed in several paths with the same structure, for example like the paths below, which are on the same host in a linux server.
/opt/applications/web01/processing.log
/opt/applications/web02/processing.log
/opt/applications/web03/processing.log
/opt/applications/web04/processing.log
Is it possible to configure a single item to monitore the word "failure" in the 4 pathlogs above using wildcard as an asterisk?
I configured a single item as below but zabbix does not seem to accept the asterisk. So the item goes to "unsupported status" when I tried this configuration.
log [/opt/applications/web0*/processing.log, failure]
Which takes me to the conclusion that the only way possible to monitor several paths (within the same directory tree) is to create an item for each path to be monitored. Is that right?
Thanks a lot,
Comment