Ad Widget

Collapse

zabbix agent vs agent2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • withjigs
    Junior Member
    • Apr 2021
    • 4

    #1

    zabbix agent vs agent2

    Hi All,

    I am working on deploying Zabbix in our organization and comparing zabbix agent vs agent2

    I found following link which is useful,



    I just have a couple of questions:
    • For agent2 "Daemonization" is "no". Does it mean agent2 service does not run in background? That does not seem right...
    • Similarly "Drop user privileges" is "no". To me it sounds like the service would run as "root". However on testing, I can see that service is running as "zabbix" user.
    Also, is there anything else I should know when using agent2? e.g. any limitations, gotchas?

    Thank you
    J




  • dimir
    Zabbix developer
    • Apr 2011
    • 1080

    #2
    zabbix agent 2 is capable of doing all agent 1 does + some more. It's not "daemonized" on *NIX because this job is propagated to systemd. The same with privileges, while agent 1 is capable of switching user that it is run as, agent 2 doesn't have this functionality and this is controlled by systemd instead.

    Fixed documentation, let me know if it's more clear now.
    Last edited by dimir; 15-04-2021, 11:58.

    Comment


    • withjigs
      withjigs commented
      Editing a comment
      Hi Dimir,
      Thank you for your reply and updating the documentation. It helped a lot.
      Cheers,
      Jigar
  • Vedior
    Junior Member
    • Apr 2021
    • 7

    #3
    Hi Dimir. I have an additional question. I had the Agent2 installed on CentOs VM, enabled all checks but did not get a green availability light on the Frontend UNLESS I changed the port to the same port the Laptop running the VM was using. Strangely enough, I deleted Agent2, installed normal agent and the problem did not occur: I had a green available light on Front with the host referring to the correct portforwarded Port.
    Is this "normal" or was it proably just a glitch or so in VMWare?

    Comment

    • dimir
      Zabbix developer
      • Apr 2011
      • 1080

      #4
      Looks more like a glitch to me. It is not notrmal.

      Comment

      Working...