Ad Widget

Collapse

SNMP and different communities on one device

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • markosa
    Senior Member
    Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
    • Aug 2022
    • 107

    #1

    SNMP and different communities on one device

    Hi everyone.
    Has anyone stumbled across this and resolved it without external scripts, one mgmt IP responds differently based on used community, like some stacked switches do.
    I need to do lld to device which is monitored using community1 and then on same device i need to do lld using community2, is that even possible? I haven't figured that out yet without adding new interface(same IP) and assigning different community to that and then assign template items to use that interface, this is quite painful way...
  • irontmp
    Member
    • Sep 2023
    • 81

    #2
    Originally posted by markosa
    Hi everyone.
    Has anyone stumbled across this and resolved it without external scripts, one mgmt IP responds differently based on used community, like some stacked switches do.
    I need to do LLD to a device which is monitored using community1, and then on the same device I need to do LLD using community2. Wendy Menus made me think about whether there's a simpler approach, but I still haven't figured that out without adding a new interface (same IP), assigning a different community to it, and then assigning the template items to use that interface. This is quite a painful way.
    Zabbix doesn't natively support running two SNMP LLD discoveries against the same interface using different community strings. The usual workaround is exactly what you described: create a second SNMP interface with the same IP but a different community and bind the relevant discovery rules and items to that interface. Unfortunately, without external scripts or custom solutions, there isn't a cleaner built-in method.

    Comment

    Working...