Some network devices have a lot of interfaces to be monitored, Is there way for zabbix to index them and create items and graph for each interface automatically(not the right word)?

I hear that items_prototype and graph_prototype is the way to get this done and keys should be something like ifInOctets.[{#SNMPVALUE}] and OID's as .{#SNMPINDEX} but templates which has these prototypes shows nothing when its part of a host. Tested OID's through SNMPWALK. Any idea how to make it work?

I don't want to create hundreds of graphs and items for each devices network interfaces manually.


SNMP Interface template din't have any item prototype, but i managed to add it after checking SNMP interfaces template 3.0. The issue is now that when i try to link a host to that template it says ifInoctet[SNMPvalue] and lot of other items keys already exists, inherited by another template (I think this happened because I had tested other similar templates, but I've removed all other templates that I used for testing. Looks like those data is still in the database. Is there way to cleanup keys and items that does not exists anymore under any templates except in DB? Its a lot of work to identify all dead keys, even i do should I just drop those tables? I queried "Select * from items where key_ like 'ifInOctect%';" And it shows its linked to SNMP device template and all its hosts, but in dashboard that template has nothing but default items like uptime, name, location etc,. How to clean that up? so I could try adding the hosts to SNMP interface or link this template to SNMP device.

Looking into housekeeper documentation to see if that does the job


Zabbix does exactly what you are asking for, and the good news is that it does it by default.

Just add Template SNMP Interfaces template to your monitored network devices. You then should be able to see all the interfaces and also all kinds of graphs, such as traffic and operational status.

| improve this answer | |
  • I've updated the question, the issue is that when I try to link a host it says that key ifInoctet[{SNMPvalue}] (and a lot of other keys as well I suppose) already exists and was inherited by another template. please check the update and let me know.. – alari Jul 13 '16 at 2:38
  • One more thing, adding Template SNMP interface to network host, it just adds the template and most of its item and graph prototypes are under discovery rules, it does not create any graphs, rather they're just prototypes and nothing more happening.. Am I doing something wrong? – alari Jul 13 '16 at 8:31

You can try this step-by-step tutorial on how to monitor interface stats with SNMP on Zabbix:



| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.