Ad Widget

Collapse

Simple/External verification with 2 public IP's

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tootai
    Junior Member
    • Jan 2010
    • 8

    #1

    Simple/External verification with 2 public IP's

    Hi,

    I'm running ZABBIX Server 1.6 from backports on Debian Lenny. Want I want to do: I have a network camera connected through VPN behind a firewall having 2 ADSL lines. On one IP -the main one, used by VPN- I want to have icmpping and on the other one, through iptables and port forwarding, I want to check if embedded http server from camera can be reached.

    I create a template for camera, having 2 items: icmpping and http,12345 (from http<,port>) both as type equal to "simple verification".

    I than created the host with main IP address, let's say 11.22.33.44

    Finaly, I created triggers with expression={MyHostName:http,12345.last(0)}=0 and with URL=http://fqdn.resolvedBy.second.ip

    The icmmping stuff is working like a charm but I can't get the status of the embedded web server. Or I get error when creating tigger like "trigger just created no datas" but this message is still present after 30 minutes or an event with status "Problem" and that's all.

    I also tried -with no luck- to set URL=http://fqdn.resolvedBy.second.ip:12345

    Could someone explain me what I'm doing wrong and how to get it work like I want.

    Thanks in advance, regards.

    --
    Daniel
  • tootai
    Junior Member
    • Jan 2010
    • 8

    #2
    Up,

    I tried also with

    {MyHostDefinition:http,xxx.xxx.xxx.xxx,12345.last( 0)}=0

    where xxx.xxx.xxx.xxx is the second IP which is different from the one given in MyHostDefinition

    12345 is my external port redirected to port 80 (iptables) of internal IP address of my Camera.

    With this trigger, connected to host *NOT* template, I always have

    Error:
    Trigger just added. No status update so far.

    Any help appreciate

    --
    Daniel

    Comment

    Working...