Autostart zabbix-agent
-
how do i autostart zabbix_agentd on pfsense?
i could not find /etc/rc.conf, should i create it first -
Things of that sort are usually started from /usr/local/etc/rc.d
Steve
-
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)
-
Where did you change that? Is there some file that is installed there by default?
More information please. ;)Steve
-
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
-
thanks for this valuable info.
by installing from pfsense web interface, zabbix_agend restarts automatically after reboot.