With which item or trigger I can identify the host connected to the ethernet interface of a switch?
Ad Widget
Collapse
Identify host
Collapse
X
-
Identify host
With which item or trigger I can identify the host connected to the ethernet interface of a switch?Tags: None -
For Linux, check out the template "Linux network interfaces by Zabbix agent" which is used by Linux hosts for networking. It auto-creates stats items (like net.if.in, out etc) for every network interface available on that host and also triggers responsible for interface up/down events. -
Glencoe
Ok. In the case of Windows, I have my map in SNMP, all hosts as Windows SNMP. So I wanted to know, if I can identify which host is connected to a particular port. Example: Ethernet interface g0/1/2 - "HOSTANAME" - loss. Can I know or identify this?Last edited by paulocapelett; 27-07-2021, 14:04.Comment
-
-
If you mean displaying the hostname the trigger refers to, you can use {HOST.HOST} macro in the trigger name.Comment
-
I'm just testing zabbix for a short time, so how would I do it? Would you have to replicate the change across all triggers?
could you help me with an example?
I can add some command on this line to tell me the host that is connected?
Interface {#IFNAME}({#IFALIAS}): Bits receivedLast edited by paulocapelett; 29-07-2021, 20:24.
-
-
You can just go likeI can add some command on this line to tell me the host that is connected?
Interface {#IFNAME}({#IFALIAS}): Bits received
in the template and problems will display correct hostname. This is a bit redundant though, because problem screen shows hostnames anyway.Code:Interface {#IFNAME}({#IFALIAS}) on {HOST.HOST}: Bits receivedComment
-
In my interface it only brings me this...
Interface {#IFNAME}({#IFALIAS}): Bits received
Interface gi1/0/20(): Bits received
It's not identifying the ALIAS, what could it be?....and also, I'm not able to show which host is connected to it.Comment
Comment