Ad Widget

Collapse

Two interfaces monitoring with Zabbix 2.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Scarab
    Junior Member
    • Oct 2006
    • 3

    #1

    Two interfaces monitoring with Zabbix 2.0

    Could someone please help me:

    I have a couple of cisco routers, which has two pingable interfaces: external (for example, 10.0.2.1) and VPN (10.0.1.1). I want to monitor both of them.

    I've tried to create host and add two interfaces of "zabbix agent" type:
    10.0.1.1 test-gw-int
    10.0.2.1 test-gw-ext

    after i created two simple check items: "icmpping[{HOST.IP1}]" and "icmpping[{HOST.IP2}]", and two according triggers: "{HOST.DNS1} is unreachable" and "{HOST.DNS2} is unreachable".

    But no luck: if i put one of interfaces down, i got 0 on both items and two triggers are armed: "test-gw-int is unreachable" (that's correct), and "{HOST.DNS2} is unreachable" (suddenly, macros isn't resolved).

    Could someone please tell me:
    - How interfaces are counted in macros (HOST.IP1, HOST.IP2 etc)?
    - What does "default interface" means? This is not described in documentation.

    May be i'm doing something wrong? Could someone please correct me?


    b.r.,
    scarab
  • hupp
    Junior Member
    • Feb 2008
    • 23

    #2
    Hi,

    I have the same problem, but just with webservers and ip based vhosts.

    I´m using zabbix_proxy to monitor the webservers, does this matter?

    Did you get any solution?

    Comment

    • m_gularte
      Member
      Zabbix Certified Specialist
      • Jul 2012
      • 85

      #3
      Same problem here =/



      There are two forms to do that now (in my noob humble opinion):

      1 - Create itens like: icmpping[{$X1}], icmpping[{$X2}], icmpping[{$X3}] and set the macro values on the host. I´m using that and it's working so far...

      2 - Create itens like: icmpping[10.0.2.1], icmpping[10.0.2.2], icmpping[10.0.2.3]. It works too, but i'd rather the first option.

      Anyway, sorry for my poor english.

      Comment

      • hupp
        Junior Member
        • Feb 2008
        • 23

        #4
        Because it goes about many webservers i will use option 1. Also the item checks are in a template and i can use the macros there.

        Comment

        Working...