Ad Widget

Collapse

Configure SNMP items for multiple devices in one agent

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tiainpa
    Junior Member
    • Aug 2011
    • 4

    #1

    Configure SNMP items for multiple devices in one agent

    Hi,

    I just recently started using Zabbix after evaluating bunch of other monitoring solutions, and Zabbix seems to be quite useful for our purposes.

    I have multiple Ubuntu Linux servers and APC power distribution units which can be monitored with SNMP. I've created a template (APC PDU) for one unit which has static IP address and it works fine. The problem is that the other units are in a private network behind one Red Hat server, reachable via different ports (15161, 15162 etc.) - the server acting as UDP forwarder. I know I can configure all the items I have in the APC PDU template individually to the the Red Hat server Zabbix agent, but this would be a bit too big task to accomplish.

    Do you guys have any suggestions on how to do this efficiently?

    Thanks!

    -Pasi
  • MarkusL
    Member
    • Nov 2008
    • 41

    #2
    Hi!

    Two ways you can do it simple from my point of view:

    1. do it "the right way" and do not redirect ports to nonprivate; build a vpn :-)

    2. generate one template (f.e. with UDP 15161), export the template to xml-file and find/replace 15161 -> 15162, save as new template, reimport and so on
    (with little scripting you can automate that to build 100+ Templates ; f.e. with "for" loop)



    Kind regards,

    Markus.

    Comment

    • tiainpa
      Junior Member
      • Aug 2011
      • 4

      #3
      Number one would be feasible if only our company would allow VPN within the intranet

      I think I now know how to do this via templates, thanks Markus!

      Cheers,
      -Pasi

      Comment

      Working...