Hello,
we have an syslog server with mysql backend. Every router in our company send his log to syslog server.
Also every router is monitoring via snmp with zabbix. Now i like to create a template for sql query. The problem is, how i can get the snmp ipadress of the router dynamicly to the template.
I need something like this for the sql query template (Database Monitor)
Is there any variable i can use for {SNMPIPADDRESS}?
I don´t want create 300 items manually
we have an syslog server with mysql backend. Every router in our company send his log to syslog server.
Also every router is monitoring via snmp with zabbix. Now i like to create a template for sql query. The problem is, how i can get the snmp ipadress of the router dynamicly to the template.
I need something like this for the sql query template (Database Monitor)
Code:
select Message from SystemEvents where Message like '%Login%' and ReceivedAt > timestampadd(HOUR,-1,current_timestamp()) and FromHost = '{[COLOR="red"]SNMPIPADDRESS[/COLOR]}' order by ReceivedAt desc Limit 1
I don´t want create 300 items manually

Comment