Hi there,
I'm relative new to zabbix but I was managing
I have setup a syslog on the zabbix server and when creating an item to retrieve this file using agent active the content is shown in latest data
Item key then is: log[/var/log/syslog/{$SYSLOGSENDERIP}/messages.log]
The SyslogsenderIP is host macro with the IP adres of the device we expect data from.
So far so good.
With pre-processing steps regex and second step csv -to Json I get a JSON output with 41 fields
The field I expect to use are:
So I setup a Discovery rule Zabbix Agent active
Key like mentioned above, and the preprocessing rule i used for the item.
These steps are all accepted.
Then go to Item prototypes.
Here is where I run into problems
When I choose depending item I can't select my discovery rule AND in the item key I can't used my Macro's.
Could someone push me in the right direction? I tried following this guide: https://smartsolutions.dioss.com/en/...ry-json-lists/ and I can show the last update of the file using the guide but that is nice to have for sure but the Item prototypes I want to create are more important.
Using zabbix 6.4 and I also have a 6.0 available but there is no syslogger active at the moment.
I'm relative new to zabbix but I was managing

I have setup a syslog on the zabbix server and when creating an item to retrieve this file using agent active the content is shown in latest data
Item key then is: log[/var/log/syslog/{$SYSLOGSENDERIP}/messages.log]
The SyslogsenderIP is host macro with the IP adres of the device we expect data from.
So far so good.
With pre-processing steps regex and second step csv -to Json I get a JSON output with 41 fields
The field I expect to use are:
So I setup a Discovery rule Zabbix Agent active
Key like mentioned above, and the preprocessing rule i used for the item.
These steps are all accepted.
Then go to Item prototypes.
Here is where I run into problems
When I choose depending item I can't select my discovery rule AND in the item key I can't used my Macro's.
Could someone push me in the right direction? I tried following this guide: https://smartsolutions.dioss.com/en/...ry-json-lists/ and I can show the last update of the file using the guide but that is nice to have for sure but the Item prototypes I want to create are more important.
Using zabbix 6.4 and I also have a 6.0 available but there is no syslogger active at the moment.
Comment