Installing zabbix-agent on pfsense 2.0.2

  • once logged in to shell on pfsense, i ran below commad succesfully (after enabled WAN interface)

    pkg_add -r,2.tbz

    but I could not find rc.local.conf to enable autostart of zabbix-agentd

    cd /usr/local/sbin/
    ./zabbix-agentd start
    ./zabbix-agentd status

    does not give any output

    i'm able to telnet to port 10050 on pfsense though

  • Netgate Administrator

    A number of things occur to me.

    pfSense 2.0.2 is built on FreeBSD 8.1, that ftp site appears to be for a far more recent release.
    You probably wanted to use:


    does not give any output

    No output at all would be very surprising. I assume it actually gave some error, what was it?


  • after reboot and reconfigure config file to point to correct IP of zabbix server, i managed to telnet port 10050 but it quickly got disconnected as below

    # telnet 10050
    Connected to
    Escape character is '^]'.
    Connection closed by foreign host.

    i added pfsense host with pfsense template but I can see is snmp shown in red "timeout connecting to []"

    running below from zabbix server gave output 0.000000

    zabbix_get -s -p 10050 -k "system.cpu.load[all,avg1]"

    from my laptop (

    # snmpwalk -c Str1nG -v 2c | head
    iso. = STRING: "pfSense.localdomain 4030001430 FreeBSD 8.1-RELEASE-p13"
    iso. = OID: iso.
    iso. = Timeticks: (372873) 1:02:08.73
    iso. = ""
    iso. = STRING: "pfSense.localdomain"
    iso. = ""
    iso. = INTEGER: 76
    iso. = Timeticks: (3) 0:00:00.03
    iso. = OID: iso.
    iso. = OID: iso.

  • finally got server to show green on zabbix agent & snmp on status. Below are my configs

    pfsense zabbix_agentd.conf

    zabbix server

    Hostname=Zabbix Server


    -i'm connecting trough IP, hence Hostname are based on host setting at zabbix interface
    -i add entry on /etc/hosts for zabbix hostname of zabbix server
    -templates used on pfsense host Template_SNMPv2_Device & Template_pfSense