Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Zabbix 2 Agent

    Scheduled Pinned Locked Moved pfSense Packages
    16 Posts 6 Posters 7.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      DigitalDeviant
      last edited by

      I just noticed a Zabbix 2 package show up this morning but have been unable to install it. I get the following on 2.0.2-RELEASE (amd64)

      Beginning package installation for Zabbix-2 Agent…
      Downloading package configuration file... done.
      Saving updated package information... done.
      Downloading Zabbix-2 Agent and its dependencies...
      Checking for package installation...
      Downloading http://www.pfsense.org/packages/amd64/8/All/zabbix2-agent-2.0.4.tbz ...  could not download from there or http://ftp2.FreeBSD.org/pub/FreeBSD/ports/amd64/packages-8.1-release/All/zabbix2-agent-2.0.4.tbz.
      of zabbix2-agent-2.0.4 failed!

      Installation aborted.Backing up libraries...
      Removing package...
      Starting package deletion for zabbix2-agent-2.0.4...done.
      Removing Zabbix-2 Agent components...
      Tabs items... done.
      Menu items... done.
      Services... done.
      Deinstall commands... done.
      Package XML... done.
      Configuration... done.
      Cleaning up... Failed to install package.

      Installation halted.

      I would love to get this running as my pfsense firewall is my last agent monitored device running 1.8.

      1 Reply Last reply Reply Quote 0
      • marcellocM
        marcelloc
        last edited by

        dbaio is doing this package.

        https://github.com/bsdperimeter/pfsense-packages/commits/master/config/zabbix2-agent/zabbix2-agent.xml

        but still has some compile checks/issues to finish it.

        Treinamentos de Elite: http://sys-squad.com

        Help a community developer! ;D

        1 Reply Last reply Reply Quote 0
        • D
          dbaio
          last edited by

          Zabbix-2 Agent and Zabbix-2 Proxy are ok right now.
          :)

          –
          Danilo G. Baio (dbaio)

          1 Reply Last reply Reply Quote 0
          • K
            kelsen
            last edited by

            Still the url of the instalation is wrong.  ???

            1 Reply Last reply Reply Quote 0
            • D
              dbaio
              last edited by

              Could you try again?

              –
              Danilo G. Baio (dbaio)

              1 Reply Last reply Reply Quote 0
              • D
                DigitalDeviant
                last edited by

                @dbaio:

                Could you try again?

                Work for me. Thank you very much.

                1 Reply Last reply Reply Quote 0
                • K
                  kelsen
                  last edited by

                  @DigitalDeviant:

                  @dbaio:

                  Could you try again?

                  Work for me. Thank you very much.

                  Do you have any pfsense 2.0.x template?

                  1 Reply Last reply Reply Quote 0
                  • D
                    DigitalDeviant
                    last edited by

                    @kelsen:

                    @DigitalDeviant:

                    @dbaio:

                    Could you try again?

                    Work for me. Thank you very much.

                    Do you have any pfsense 2.0.x template?

                    I just use the FreeBSD template and add a few custom agent items to make sure Snort and Unbound are running.

                    1 Reply Last reply Reply Quote 0
                    • K
                      kelsen
                      last edited by

                      Ok, thank you.

                      1 Reply Last reply Reply Quote 0
                      • D
                        DigitalDeviant
                        last edited by

                        @kelsen:

                        @DigitalDeviant:

                        @dbaio:

                        Could you try again?

                        Work for me. Thank you very much.

                        Do you have any pfsense 2.0.x template?

                        I am working on a more specific pfSense template and am looking for suggestions on what to include or (not include from the FreeBSD template.)

                        1 Reply Last reply Reply Quote 0
                        • marcellocM
                          marcelloc
                          last edited by

                          @DigitalDeviant:

                          I am working on a more specific pfSense template and am looking for suggestions on what to include or (not include from the FreeBSD template.)

                          Take a look on this portuguese topic about pfsense template for zabbix2
                          http://forum.pfsense.org/index.php/topic,58279.msg312374.html#msg312374

                          Treinamentos de Elite: http://sys-squad.com

                          Help a community developer! ;D

                          1 Reply Last reply Reply Quote 0
                          • M
                            mantunespb
                            last edited by

                            error in the zabbix2-agent-2.0.4 pkg v0.6_1 update package does not restart the service

                            php: /pkg_edit.php: The command '/usr/local/etc/rc.d/zabbix2_agentd.sh restart' returned exit code '1', the output was 'Stopping Zabbix Agent… No matching processes were found Starting Zabbix Agent... zabbix_agentd [51087]: wrong value of [RefreshActiveChecks] in config file [/usr/local/etc/zabbix2/zabbix_agentd.conf], line 6'

                            1 Reply Last reply Reply Quote 0
                            • marcellocM
                              marcelloc
                              last edited by

                              Can you check what value for RefreshActiveChecks you have on gui and on config file?

                              Treinamentos de Elite: http://sys-squad.com

                              Help a community developer! ;D

                              1 Reply Last reply Reply Quote 0
                              • X
                                xelacomp
                                last edited by

                                There must be an error in the parsing of the configuration file against the GUI. I had the same exact problem. I ended up ssh'ing into the firewall and manually configuring the zabbix_agentd.conf file in /usr/local/etc/zabbix2/. Just comment out everything and make the file look like this for now, until the gui is fixed:

                                Server=your_zabbix_server_ip
                                ServerActive=your_zabbix_server_ip
                                Hostname=your_firewall_hostname (must be the same as you have it in your zabbix server)
                                ListenIP=whichever_ip_you_want_to_listen_on
                                ListenPort=10050

                                Hope this helps!

                                1 Reply Last reply Reply Quote 0
                                • marcellocM
                                  marcelloc
                                  last edited by

                                  ok, I'll take a look on config creator script.

                                  Treinamentos de Elite: http://sys-squad.com

                                  Help a community developer! ;D

                                  1 Reply Last reply Reply Quote 0
                                  • marcellocM
                                    marcelloc
                                    last edited by

                                    zabbix2-agent pkg v 0.6_2 has a working config file.  :)

                                    Treinamentos de Elite: http://sys-squad.com

                                    Help a community developer! ;D

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post
                                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.