Navigation

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

    Autostart zabbix-agent

    General pfSense Questions
    2
    6
    1898
    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.
    • M
      malayo last edited by

      how do i autostart zabbix_agentd on pfsense?
      i could not find /etc/rc.conf, should i create it first

      1 Reply Last reply Reply Quote 0
      • stephenw10
        stephenw10 Netgate Administrator last edited by

        Things of that sort are usually started from /usr/local/etc/rc.d

        Steve

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

          i tried changing from

          :  ${zabbix_agentd_enable="NO"}

          to

          :  ${zabbix_agentd_enable="YES"}

          in /usr/local/etc/rc.d/zabbix_agentd but after reboot, zabbix_agentd does not start (port 10050 does not open & no /tmp/zabbix_agentd.log)

          1 Reply Last reply Reply Quote 0
          • stephenw10
            stephenw10 Netgate Administrator last edited by

            Where did you change that? Is there some file that is installed there by default?
            More information please.  ;)

            Steve

            1 Reply Last reply Reply Quote 0
            • stephenw10
              stephenw10 Netgate Administrator last edited by

              STOP!  :)

              There is already a pfSense package for Zabbix Agent that does all this for you.

              Just install it from System: Packages: in the webGUI.

              I'm not sure how all the stuff you have added manually will affect it though. You may want to start over with a fresh install if you haven't done much other customisation.

              Steve

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

                thanks for this valuable info.

                by installing from pfsense web interface, zabbix_agend restarts automatically after reboot.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post