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

    Zabbix Client

    Scheduled Pinned Locked Moved pfSense Packages
    35 Posts 10 Posters 26.0k 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.
    • E
      epsilon
      last edited by

      hey is this dead? haven't seen an update and i cant manually install it any more either.

      1 Reply Last reply Reply Quote 0
      • R
        Remco
        last edited by

        Sorry, but I cannot put it onto the package server. The link to download the package self is still working, this is the code for in the package xml:

        
         <package><name>Zabbix Agent</name>
        	<description>Monitoring agent.</description>
        	<category>NET</category>
        	<config_file>http://www.pfsense.com/packages/config/zabbix-agent.xml</config_file>
        	<version>0.1</version>
        	<status>ALPHA</status>
        	<required_version>1.2</required_version>
        	<configurationfile>zabbix-agent.xml</configurationfile>
        	<maintainer>Remco Verhoef</maintainer>
        	 <dependencies baseurl="http://ftp.nl.freebsd.org/pub/FreeBSD/ports/packages/All/"><dependency>zabbix-agent-1.4.1,1.tbz</dependency></dependencies></package> 
        
        
        1 Reply Last reply Reply Quote 0
        • E
          epsilon
          last edited by

          @Remco:

          Sorry, but I cannot put it onto the package server. The link to download the package self is still working, this is the code for in the package xml:

          
           <package><name>Zabbix Agent</name>
          	<description>Monitoring agent.</description>
          	<category>NET</category>
          	<config_file>http://www.pfsense.com/packages/config/zabbix-agent.xml</config_file>
          	<version>0.1</version>
          	<status>ALPHA</status>
          	<required_version>1.2</required_version>
          	<configurationfile>zabbix-agent.xml</configurationfile>
          	<maintainer>Remco Verhoef</maintainer>
          	 <dependencies baseurl="http://ftp.nl.freebsd.org/pub/FreeBSD/ports/packages/All/"><dependency>zabbix-agent-1.4.1,1.tbz</dependency></dependencies></package> 
          
          

          i see the problem you had zabbix-agent-1.4.1,1.tbz when on the server http://ftp.nl.freebsd.org/pub/FreeBSD/ports/packages/All/ the only package they have is zabbix-agent-1.4.2,1.tbz

          seems like they changed there package ver.

          1 Reply Last reply Reply Quote 0
          • R
            Remco
            last edited by

            I've updated the pkg_config.xml and added the zabbix-agent.xml to cvs.

            1 Reply Last reply Reply Quote 0
            • ?
              Guest
              last edited by

              I've install  Zabbix Agent that's available at package manager, and at services tab there is a new option for Zabbix Agent, only asking for settings for: Settings   
              Server,
              Server Port,
              Hostname,
              Listen Port

              which values must put there?
              How can I use it, where I can see the reports?

              many thanks for your help

              1 Reply Last reply Reply Quote 0
              • R
                Remco
                last edited by

                @afrugone:

                I've install  Zabbix Agent that's available at package manager, and at services tab there is a new option for Zabbix Agent, only asking for settings for: Settings   
                Server,
                Server Port,
                Hostname,
                Listen Port

                which values must put there?
                How can I use it, where I can see the reports?

                many thanks for your help

                These settings correspond with the zabbix-agentd.conf settings. The server and server port are used for sending active checks, the hostname must be an unique hostname, also used for active checks and the listen port is the port the agent listens on.

                1 Reply Last reply Reply Quote 0
                • ?
                  Guest
                  last edited by

                  remco,

                  Many thanks for your soon answer,  I put TEST data, but the service didn't start, Is necessary put real running server?

                  Thanks
                  Alfredo

                  1 Reply Last reply Reply Quote 0
                  • R
                    Remco
                    last edited by

                    Could you try the following values:

                    Server=localhost
                    ServerPort=10050
                    Hostname=localhost
                    ListenPort=10050

                    If it still is not working, could you send me the /var/log/zabbix/zabbix_agentd.log ?

                    What is it doing when you start it by hand (/usr/local/etc/rc.d/zabbix_agentd.sh) ?

                    1 Reply Last reply Reply Quote 0
                    • ?
                      Guest
                      last edited by

                      Remco,

                      I try with localhost and port 10050, still not working, the /var/log/zabbix/zabbix_agentd.log is:


                      25774:20071212:123708 zabbix_agentd started. ZABBIX 1.4.2.
                      25775:20071212:123708 zabbix_agentd collector started
                      25776:20071212:123708 zabbix_agentd listener started
                      25777:20071212:123708 zabbix_agentd listener started
                      25778:20071212:123708 zabbix_agentd listener started
                      25779:20071212:123708 zabbix_agentd active check started [localhost:10050]


                      Status: Services
                      Service           Status
                      bandwidthd Running
                      zabbix-agent Stopped
                      darkstat   Running
                      dnsmasq         Running

                      Try to start with /usr/local/etc/rc.d/zabbix_agentd.sh, and nothing happened, not start and no change at log.

                      1 Reply Last reply Reply Quote 0
                      • R
                        Remco
                        last edited by

                        @afrugone:

                        Remco,

                        I try with localhost and port 10050, still not working, the /var/log/zabbix/zabbix_agentd.log is:


                        25774:20071212:123708 zabbix_agentd started. ZABBIX 1.4.2.
                        25775:20071212:123708 zabbix_agentd collector started
                        25776:20071212:123708 zabbix_agentd listener started
                        25777:20071212:123708 zabbix_agentd listener started
                        25778:20071212:123708 zabbix_agentd listener started
                        25779:20071212:123708 zabbix_agentd active check started [localhost:10050]


                        Status: Services
                        Service           Status
                        bandwidthd Running
                        zabbix-agent Stopped
                        darkstat   Running
                        dnsmasq          Running

                        Try to start with /usr/local/etc/rc.d/zabbix_agentd.sh, and nothing happened, not start and no change at log.

                        Looking at your logfile it looks like the zabbix agent daemon started succesfully, it is only not showing the right status in the Services. Did you tried to add this server to Zabbix? And don't forget to create an allow rule for this traffic. If it still isn't working, could it be possible to give me access to this server?

                        1 Reply Last reply Reply Quote 0
                        • ?
                          Guest
                          last edited by

                          Exists a public Zabbix server for testing? or I've to setup my own?

                          1 Reply Last reply Reply Quote 0
                          • R
                            Remco
                            last edited by

                            @afrugone:

                            Exists a public Zabbix server for testing? or I've to setup my own?

                            You've to setup your own zabbix server, the zabbix client is only a daemon which is called by the zabbix server.

                            1 Reply Last reply Reply Quote 0
                            • S
                              srs
                              last edited by

                              please, I'd like to install this from my 1.2final release, but when I choose it from packages I have this error:

                              Downloading package configuration file… done.
                              Saving updated package information... done.
                              Downloading Zabbix Agent and its dependencies... done.
                              Checking for successful package installation... failed!

                              Installation aborted.

                              why? can someone fix this?? thanks

                              srs

                              1 Reply Last reply Reply Quote 0
                              • S
                                srs
                                last edited by

                                please, someone?

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

                                  i have the same message ;)

                                  1 Reply Last reply Reply Quote 0
                                  • H
                                    hdejongh
                                    last edited by

                                    it seems to be that the location of the package is broken.

                                    Can somebody confirm that?

                                    Is there any otherway to install zabbix on pfsense?

                                    I`m a shell n00b btw..

                                    1 Reply Last reply Reply Quote 0
                                    • ?
                                      Guest
                                      last edited by

                                      You're correct, the zabbix agent package doesn't start.  I modified it for my own purposes and got it working, but zabbix is a piece of crap and I scrapped it shortly thereafter.  Zabbix doesn't monitor FreeBSD properly so the Zabbix client, even if you get it working, will suck with a whole mouthful of teeth.

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