Ad Widget

Collapse

SNMP value in Item despriction?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • welkin
    Senior Member
    • Mar 2007
    • 132

    #1

    SNMP value in Item despriction?

    Is it possible to have e.g. the description of an interface as a macro in the description of the item? So you could have a item which gathers IfInOctets and is named like the interface it gathers the data for. That would defenitly ease the use of snmp in zabbix.

    welkin
    Last edited by welkin; 05-11-2008, 15:33.
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Sure. For example, item key is network[IfInOctets,net0,bps], in this case item description could be "Incoming traffic on $2", where:

    $0 = network
    $1 = IfInOctets
    $2 = net0
    $3 = bps
    ...
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • welkin
      Senior Member
      • Mar 2007
      • 132

      #3
      hm,
      not exactly what i meant.
      I want to have an item like this :

      name = Incoming Traffic on : $IfDescr.1
      key = IfInOctets.1


      so the name of the Item will be like whatever the snmp description of the corresponding interface is. This is one of the reasons we still use cacti for monitoring traffic because the interfaces are e.g. named after a certain customer and finding the right OID for each customer is a "pain in the ass". The other reason is that cacti supports the 95% rule for traffic accounting.

      thanks in advance
      welkin

      Comment

      • fast.ryder
        Member
        • Apr 2008
        • 46

        #4
        SNMP Name Tags

        Hello!

        I have the same problem in my Datacenter switch, I had to change by hand (or better, by MySQL programming the port names I wanted to insert in the system.

        There is, altough, a specific OID for the port Description included in the IF-MIB already. I have tried to use that one also as a macro for naming but, of course, it is not possible because Zabbix has to poll the OID for the value and then insert it in the field.

        That is a very good idea, and it would be great to see Zabbix team folllow it up to make Zabbix more "Datacenter-friendly"

        Cheers,

        Ivo Pereira
        IT Consultant
        Portugal

        Comment

        • Jason
          Senior Member
          • Nov 2007
          • 430

          #5
          Another place where it would be useful is on Dell servers when pulling, for example, temperature and fan speed info in... You could read the location and put that in the description rather than having to write different items for each server.

          Comment

          • welkin
            Senior Member
            • Mar 2007
            • 132

            #6
            i need it for the vpn tunnel index of fortigate firewalls. The SNMP indexes of these firewalls are changing quite frequently because everytime we add a tunnel, the fortigate adds this tunnel to the middel (!!!!) of the index. So having the description of the corresponding tunnel as the name of the item is the only solution. Right now i have to look through every snmp index item whenever someone adds a vpn tunnel. Cacti has this feature for it`s monitoring of interfaces so why zabbix not?

            regards welkin

            Comment

            Working...