Ad Widget

Collapse

SNMP template - multiple communities or passphrases

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MichaelM
    Member
    • Sep 2008
    • 38

    #1

    SNMP template - multiple communities or passphrases

    Hi there,

    I'am monitoring some kind of SNMP devices, mainly routers. For my personal stuff I can manage communities and passphrases, but I can't for customer machines.

    I created a router specific template for Funkwerk routers that gathers information via SNMP. In that template I have to define the community (snmpv1) or passphrase (snmpv3).

    This value is no longer editable in the host-items linked to the template.

    How do other zabbix users handle this, aren't templates any good for snmp and different authentication information per device?

    Thanks.

    --Michael
  • MichaelM
    Member
    • Sep 2008
    • 38

    #2
    SNMP and templates - no good combo

    Please vote for ZBXNEXT-48 if you like the idea !!!


    Hi there,

    after some more testing I came to the conclusion that checking SNMP based on templates is not a good idea if the hosts have different auth-information (like communities and/or passphrases).

    The problem is that this information is stored only in the templae and is not editable in the hosts-items anymore. Even if I edit the items table in the database by myself, this information gets overwritten every time I edit the template item.

    Did really noone got into this situation? How do you guys monitor SNMP devices with different auth-infos?

    I would suggest to store SNMP information in the host object and make use of them instead of binding them to the template. For special cases (whatever that is) it would be handy to overwrite this info in the host-item.

    --Michael
    Last edited by MichaelM; 11-08-2009, 11:46. Reason: Created a feature request.

    Comment

    • troffasky
      Senior Member
      • Jul 2008
      • 567

      #3
      You're right, SNMP community should be defined per-host rather than per-item.

      In answer to your question, I use templates a lot less than I'd like to. I run a template-generator script against each host I want to monitor and import the template.

      Comment

      Working...