Hi People,
Hello, this is my first post.
I run 4 truenas systems - 3 x TrueNas Scale release 22.02.4 and 1 x TrueNas Core release 12.0-U8.
My zabbix server is latest build of 6.0LTS and I have imported the TrueNas SNMP template as per https://www.zabbix.com/integrations/truenas instructions for Zabbix 6.0 . After adding the hosts in and configuring the various settings, everything seems to be discovered except the network interfaces. When I go into the Discovery Rule and "test" this, it gives the correct information as per below - the system has 6 x 1 GbE and 2 x 10GbE.
[{"{#SNMPINDEX}":"1","{#IFOPERSTATUS}":"1","{#IFADM INSTATUS}":"1","{#IFALIAS}":"","{#IFNAME}":"lo","{ #IFDESCR}":"lo","{#IFTYPE}":"24"},{"{#SNMPINDEX}": "2","{#IFOPERSTATUS}":"2","{#IFADMINSTATUS}":"2"," {#IFALIAS}":"","{#IFNAME}":"enp7s0f0","{#IFDESCR}" :"Intel Corporation 82580 Gigabit Network Connection","{#IFTYPE}":"6"},{"{#SNMPINDEX}":"3"," {#IFOPERSTATUS}":"1","{#IFADMINSTATUS}":"1","{#IFA LIAS}":"","{#IFNAME}":"enp3s0","{#IFDESCR}":"Intel Corporation 82574L Gigabit Network Connection","{#IFTYPE}":"6"},{"{#SNMPINDEX}":"4"," {#IFOPERSTATUS}":"2","{#IFADMINSTATUS}":"2","{#IFA LIAS}":"","{#IFNAME}":"enp7s0f1","{#IFDESCR}":"Int el Corporation 82580 Gigabit Network Connection","{#IFTYPE}":"6"},{"{#SNMPINDEX}":"5"," {#IFOPERSTATUS}":"2","{#IFADMINSTATUS}":"2","{#IFA LIAS}":"","{#IFNAME}":"enp2s0","{#IFDESCR}":"Intel Corporation 82574L Gigabit Network Connection","{#IFTYPE}":"6"},{"{#SNMPINDEX}":"6"," {#IFOPERSTATUS}":"2","{#IFADMINSTATUS}":"2","{#IFA LIAS}":"","{#IFNAME}":"enp7s0f2","{#IFDESCR}":"Int el Corporation 82580 Gigabit Network Connection","{#IFTYPE}":"6"},{"{#SNMPINDEX}":"7"," {#IFOPERSTATUS}":"2","{#IFADMINSTATUS}":"2","{#IFA LIAS}":"","{#IFNAME}":"enp7s0f3","{#IFDESCR}":"Int el Corporation 82580 Gigabit Network Connection","{#IFTYPE}":"6"},{"{#SNMPINDEX}":"8"," {#IFOPERSTATUS}":"1","{#IFADMINSTATUS}":"1","{#IFA LIAS}":"","{#IFNAME}":"enp8s0","{#IFDESCR}":"Mella nox Technologies MT26448 [ConnectX EN 10GigE, PCIe 2.0 5GT/s]","{#IFTYPE}":"6"},{"{#SNMPINDEX}":"9","{#IFOPERST ATUS}":"2","{#IFADMINSTATUS}":"2","{#IFALIAS}":"", "{#IFNAME}":"enp8s0d1","{#IFDESCR}":"Mellanox Technologies MT26448 [ConnectX EN 10GigE, PCIe 2.0 5GT/s]","{#IFTYPE}":"6"}]
The main difference I can see between Core and Scale is the naming convention of the interfaces - Core uses "em" and Scale uses "en" and the templates macro default value is {$NET.IF.IFNAME.MATCHES} = ^em[0-9]+$ - I have cloned the template and changed the default to ^en[0-9]+$ and linked it to one server, with no change in the discovery outcome. I have also deployed the latest 6.2 build onto a VM to test (as this has the TrueNas SNMP template available by default) and get the same outcome.
Any thoughts?
Regards,
Lee.
Hello, this is my first post.
I run 4 truenas systems - 3 x TrueNas Scale release 22.02.4 and 1 x TrueNas Core release 12.0-U8.
My zabbix server is latest build of 6.0LTS and I have imported the TrueNas SNMP template as per https://www.zabbix.com/integrations/truenas instructions for Zabbix 6.0 . After adding the hosts in and configuring the various settings, everything seems to be discovered except the network interfaces. When I go into the Discovery Rule and "test" this, it gives the correct information as per below - the system has 6 x 1 GbE and 2 x 10GbE.
[{"{#SNMPINDEX}":"1","{#IFOPERSTATUS}":"1","{#IFADM INSTATUS}":"1","{#IFALIAS}":"","{#IFNAME}":"lo","{ #IFDESCR}":"lo","{#IFTYPE}":"24"},{"{#SNMPINDEX}": "2","{#IFOPERSTATUS}":"2","{#IFADMINSTATUS}":"2"," {#IFALIAS}":"","{#IFNAME}":"enp7s0f0","{#IFDESCR}" :"Intel Corporation 82580 Gigabit Network Connection","{#IFTYPE}":"6"},{"{#SNMPINDEX}":"3"," {#IFOPERSTATUS}":"1","{#IFADMINSTATUS}":"1","{#IFA LIAS}":"","{#IFNAME}":"enp3s0","{#IFDESCR}":"Intel Corporation 82574L Gigabit Network Connection","{#IFTYPE}":"6"},{"{#SNMPINDEX}":"4"," {#IFOPERSTATUS}":"2","{#IFADMINSTATUS}":"2","{#IFA LIAS}":"","{#IFNAME}":"enp7s0f1","{#IFDESCR}":"Int el Corporation 82580 Gigabit Network Connection","{#IFTYPE}":"6"},{"{#SNMPINDEX}":"5"," {#IFOPERSTATUS}":"2","{#IFADMINSTATUS}":"2","{#IFA LIAS}":"","{#IFNAME}":"enp2s0","{#IFDESCR}":"Intel Corporation 82574L Gigabit Network Connection","{#IFTYPE}":"6"},{"{#SNMPINDEX}":"6"," {#IFOPERSTATUS}":"2","{#IFADMINSTATUS}":"2","{#IFA LIAS}":"","{#IFNAME}":"enp7s0f2","{#IFDESCR}":"Int el Corporation 82580 Gigabit Network Connection","{#IFTYPE}":"6"},{"{#SNMPINDEX}":"7"," {#IFOPERSTATUS}":"2","{#IFADMINSTATUS}":"2","{#IFA LIAS}":"","{#IFNAME}":"enp7s0f3","{#IFDESCR}":"Int el Corporation 82580 Gigabit Network Connection","{#IFTYPE}":"6"},{"{#SNMPINDEX}":"8"," {#IFOPERSTATUS}":"1","{#IFADMINSTATUS}":"1","{#IFA LIAS}":"","{#IFNAME}":"enp8s0","{#IFDESCR}":"Mella nox Technologies MT26448 [ConnectX EN 10GigE, PCIe 2.0 5GT/s]","{#IFTYPE}":"6"},{"{#SNMPINDEX}":"9","{#IFOPERST ATUS}":"2","{#IFADMINSTATUS}":"2","{#IFALIAS}":"", "{#IFNAME}":"enp8s0d1","{#IFDESCR}":"Mellanox Technologies MT26448 [ConnectX EN 10GigE, PCIe 2.0 5GT/s]","{#IFTYPE}":"6"}]
The main difference I can see between Core and Scale is the naming convention of the interfaces - Core uses "em" and Scale uses "en" and the templates macro default value is {$NET.IF.IFNAME.MATCHES} = ^em[0-9]+$ - I have cloned the template and changed the default to ^en[0-9]+$ and linked it to one server, with no change in the discovery outcome. I have also deployed the latest 6.2 build onto a VM to test (as this has the TrueNas SNMP template available by default) and get the same outcome.
Any thoughts?
Regards,
Lee.
Comment