Ad Widget

Collapse

Zabbix Master manual log sync with Proxcy or Node. 10051/22 ports are blocked at f

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • garyg
    Junior Member
    • Sep 2013
    • 1

    #1

    Zabbix Master manual log sync with Proxcy or Node. 10051/22 ports are blocked at f

    Zabbix pros,

    This is my first post on zabbix forum kindly be generous to me if I am positing this at wrong location.

    Here is the problem :
    I am wishing to implement zabbix in distributed mode where Zabbix Mater & Zabbix proxy/node can't sync over any tcp/udp port, (no 10051, no 22/ssh) due to the security reasons .
    Only traffic can come out from remote Zabbix location is in form of SMTP (mails).

    I can send mails out from Zabbix remote site (node or proxy) & attach logs files.

    Zabbix Master <==== ONLY SMTP access === Zabbix Child / Proxcy.


    I was wondering, if there is a hack available, what exactly I am looking for
    Send proxy or node logs (collected locally at remote site) via mails. (at defined frequency, lets say 15 mins).
    Receive mails at Zabbix server,
    Read & import logs to Zabbix master,
    Any or every help will be greatly appreciated.

    Thanks in advance.
    GaryG
  • heaje
    Senior Member
    Zabbix Certified Specialist
    • Sep 2009
    • 325

    #2
    GaryG,

    There is nothing like what you want available that I'm aware of. That would be a very significant "hack" to pull off. Basically it sounds like you want to monitor external systems by email. Besides some of the basic issues you'd have with this (very latent data at the server or data that never would show up at all), you'd have to write stuff to do this. Here's a couple other things to consider:

    1. You wouldn't be able to do a distributed setup in the sense that Zabbix understands. You would have to have two completely separate Zabbix Servers.

    2. All the items on the "Master" would have to be trapper items.

    3. You'd have to enable debug logging on the "Slave" host.

    4. Logs get large. You'd have to most likely send an email at 5 minute intervals maximum to prevent logs from getting too large to email.

    5. You'd have to write a script that would watch the email box, parse the logs that come in, and then perform zabbix_sender commands to the "Master" to force all the data in.


    I'm not saying this is impossible, but I would highly discourage it. It is fraught with problems that you would not be able to control and would make it extremely hard to upgrade Zabbix at any point.

    Comment

    Working...