Ad Widget

Collapse

snmp community strings tied to items

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dennisfeiock
    Junior Member
    • Jun 2006
    • 15

    #1

    snmp community strings tied to items

    I was hoping to build up templates to organize all the different devices that I am wanting to monitor with Zabbix (eg: genericDevice -> genericPrinter -> OKI -> C5100 -> Host). However, I just found out that the snmp community strings are tied to the items and not to the host.

    Is there any way around that?

    Thanks,
    DF
  • Vince2
    Member
    • Oct 2006
    • 40

    #2
    Originally posted by dennisfeiock
    I was hoping to build up templates to organize all the different devices that I am wanting to monitor with Zabbix (eg: genericDevice -> genericPrinter -> OKI -> C5100 -> Host). However, I just found out that the snmp community strings are tied to the items and not to the host.

    Is there any way around that?
    Which version do you use ? If you still use 1.2, I can provide you a simple patch that allows to specify the community for each host. It requires a modification of the database schema though. Such a patch is likely to apply to 1.4 as well.

    Comment

    • maxence
      Junior Member
      • Mar 2007
      • 5

      #3
      Hello,

      I'm getting exactly the same problem... different community for each SNMP aware devices...

      Could you please post your patch for the snmp community / host ?

      I'll try it on Zabbix 1.4.1 and i'll post the result here. Perhaps something to include in 1.4.2 ?


      Thanks a lot !

      Comment

      • gabin
        Junior Member
        • Mar 2007
        • 5

        #4
        Hello,
        It would be VERY helpful if community string could be modified in templates.
        For example copy SNMP v2 template into "my template" and set community string to "my community".
        Then when I want to configure approx 100 routers with "my community" i just make hosts from "my template" . Otherwise i have to change tens of snmp variables communities to a SNMP v2 host for each 100 routers.

        So , a little bit of help on this would give me/us a lot of time to concentrate on other problems.

        Comment

        • Alexei
          Founder, CEO
          Zabbix Certified Trainer
          Zabbix Certified SpecialistZabbix Certified Professional
          • Sep 2004
          • 5654

          #5
          Originally posted by gabin
          Otherwise i have to change tens of snmp variables communities to a SNMP v2 host for each 100 routers.
          Why? You can do a single mass-update instead.
          Alexei Vladishev
          Creator of Zabbix, Product manager
          New York | Tokyo | Riga
          My Twitter

          Comment

          • iYRe
            Junior Member
            • Jul 2007
            • 4

            #6
            all i can say is...

            w00t!

            (saved me a long long time of changing stuff)

            Comment

            Working...