Ad Widget

Collapse

Telling Zabbix to automatically retrieve SNMP device's name for notifications

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • iyuvalk@gmail.com
    Junior Member
    • Nov 2018
    • 1

    #1

    Telling Zabbix to automatically retrieve SNMP device's name for notifications

    Hi,

    I have a Zabbix server that is monitoring a list of SNMP enabled network switches. Currently, since that the number of the switches that needs to be monitored is relatively small, I manually created a host for each network switch with its IP address and configured Zabbix to monitor all of them with SNMP template and ICMP ping template and to send alerts.

    Would it be possible to instruct Zabbix to automatically retrieve the hostname of each network switch (e.g. by querying the DNS server or based on the SNMP results) and use it in the notification email?

    Tnx
    Yuval
    Last edited by [email protected]; 15-11-2018, 13:50.
  • max.ch.88
    Senior Member
    • Oct 2018
    • 206

    #2
    To use the hostname of each network switch in the notification email you can use macro {HOST.HOST} https://www.zabbix.com/documentation...ed_by_location .
    You could use "Network discovery" https://www.zabbix.com/documentation...work_discovery for automatically add hosts and retrieve the hostname.

    Comment

    Working...