Ad Widget

Collapse

eventlog - passive agent

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Hubert Kurowski
    Junior Member
    • Jan 2024
    • 16

    #1

    eventlog - passive agent

    Hi all,

    I working with Zabbix and I need to monitoring log files on Linux and eventlog on Windows using passive agent. How can I manage to do it with passive agent. Could you provide me some tips?

    BR,
    Hubert​
  • Answer selected by Hubert Kurowski at 30-01-2024, 16:06.
    cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    You cannot, as all those log related items have to be "active". It is needed as it keeps track locally on agent, where it stopped reading and where it needs to continue etc... It is not possible with passive agent.

    Comment


    • Hubert Kurowski
      Hubert Kurowski commented
      Editing a comment
      Thanks for the answer!
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    You cannot, as all those log related items have to be "active". It is needed as it keeps track locally on agent, where it stopped reading and where it needs to continue etc... It is not possible with passive agent.

    Comment

  • Hubert Kurowski
    Junior Member
    • Jan 2024
    • 16

    #3
    Is there any workaround to make it possible?

    Comment

    • BigSmooth
      Member
      • Jun 2023
      • 46

      #4
      Hi Hubert,

      Install a proxy where the agent runs? But it is a bit overkill.
      Do you have any network constraint that prevent you to use active mode?

      regards,
      Olivier

      Comment


      • Hubert Kurowski
        Hubert Kurowski commented
        Editing a comment
        Yes, it is related with security in our project. But for now provided information is enough.
    • PeterZielony
      Senior Member
      • Nov 2022
      • 146

      #5
      There isn't a workaround for this.

      Alternatively, you could use Zabbix sender(and some scripting) but this .. would work like (nearly) an active anyway and more difficult (if you want to capture all of it) to do based on its schedule and you would have to have exposed and direct connection to server/proxy - so pointless. Might as well deploy a proxy where zbx appliance is directly available.

      Or agent passive would be able to run scripts to fetch data from event logs - but again.. this script would need to know exactly what to send back so it won't duplicate entries - technically could elaborate this with having some sort of DB locally that collects all data and flag them as "not sent" and during script it would take all that need to be passed along - and change their flags to "sent".

      It all depends on budget, resources and time allocated to resolve this issue if you cannot have a proxy nearby - in my opinion - not worth it, this long fetched idea - is not worth it as it also requires a script to send data within 30sec (and data size limitations) etc etc ....
      Last edited by PeterZielony; 30-01-2024, 15:54.

      Hiring in the UK? Drop a message

      Comment

      • dimir
        Zabbix developer
        • Apr 2011
        • 1080

        #6
        You could define UserParameter - passive check metric, that will be some kind of script (e. g. PowerShell script), available on Zabbix Agent host, that requests Event Log data from Windows.

        Comment

        Working...