Zabbix Agent config

  • I would like Zabbix to monitor my UPS which is currently plugged in via USB pfSense box using the NUT package.

    The NUT package (2.7.4_7) is installed and can see the status of the APC UPS okay.

    My Zabbix server is currently monitoring the pfSense box via the Zabbix Agent 4 (1.0.4) package, also okay.

    I am trying to use this NUT Zabbix template and have imported the nut_basic.xml file to the zabbix server. I have copied the userparameter_nut.conf file to the pfsense server here /usr/local/etc/zabbix4/zabbix_agentd.conf.d/.

    My problem is that the Include option in the zabbix_agentd.conf file is missing, specifically this line: Include=/usr/local/etc/zabbix4/zabbix_agentd.conf.d/*.conf.

    I am able to edit the /usr/local/etc/zabbix40/zabbix_agentd.conf with vi on the command line to add the Include line okay but when restarting the zabbix-agent service this gets wiped and replaced with just the parameters specified in the GUI Zabbix Agent Settings page..

    Is there any way to make this edit permanent?

  • Advanced Features - User Parameters? That's where I would try, and you didn't mention if you already saw that section or not.

  • Yes I tried that, it seems to only accept 'UserParameter=' entries however and crashed the service when I added the Include line.

Log in to reply