Ad Widget

Collapse

ZABBIX Monitoring through Tunnel SSH

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fwedaster
    Junior Member
    • Feb 2010
    • 4

    #1

    ZABBIX Monitoring through Tunnel SSH

    Hi,

    I will try to describe the problem I meet right now :

    -----------Customer Network----------------
    Server A:
    192.168.3.12
    Server Windows 2003 SP2
    Windows Agent ZABBIX (version 1.6.7)

    Server B:
    192.168.3.13
    Server Linux Centos 5.2
    Linux Agent ZABBIX (version 1.6.2)


    ----------Office Network--------------------
    Serveur C:
    192.168.43.247
    Server Linux Centos 5.4
    Linux Server Zabbix (Version 1.6.7)


    I configured a SSH Tunnel between Server B and Server C Through Internet with this command :
    root@ServerC# ssh -f -N [email protected] -L 20050:localhost:20050
    The tunnel work fine.

    I configured on ZABBIX web interface the first host (Server B) like that :
    Name : ServerB
    IP : 127.0.0.1
    Port : 20050

    All work fine !!!!

    Configuration of "zabbix_agentd" File on serverB :

    Server=127.0.0.1
    ServerPort=20050
    Hostname=serverB
    ListenPort=20050
    ListenIP=127.0.0.1
    StartAgent=5
    DisableActive=1
    DebugLevel=3
    PidFile=/var/tmp/zabbix_agentd.pid
    LogFile=/tmp/zabbix_agentd.log
    Timeout=3

    And With This Configuration I can monitor all I want through Zabbix Agent.
    I tried to configure this Tunnel with SNMP (port 161) and it work fine too !!!
    (If somebody need more information, ask me =)

    So, here my problem :

    I want to monitor the ServerA and I don't really know how to do... I tried with Zabbix Proxies ... But nothing changed
    How I have to configure zabbix_agentd on serverA to be monitored by serverC through SSH Tunnel ??
    I need help please !!!


    (sorry for my bad english speaking)
    Last edited by fwedaster; 04-02-2010, 16:17.
  • Firm
    Senior Member
    • Dec 2009
    • 342

    #2
    What stops you from installing ssh-server on windows host?

    Comment

    • fwedaster
      Junior Member
      • Feb 2010
      • 4

      #3
      Originally posted by Firm
      What stops you from installing ssh-server on windows host?
      Is it necessary to install ssh on windows server to permit the communication with zabbix server ????

      Comment

      Working...