Date: Fri, 31 Jan 2014 12:36:07 GMT From: Felix Ehlers <felix-freebsd@fleximus.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/186298: zabbix22-agent UserParameter not working Message-ID: <201401311236.s0VCa7Lv091664@oldred.freebsd.org> Resent-Message-ID: <201401311240.s0VCe0X3075823@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 186298 >Category: ports >Synopsis: zabbix22-agent UserParameter not working >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jan 31 12:40:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Felix Ehlers >Release: 9.2-RELEAASE >Organization: >Environment: FreeBSD zabbix.localdomain 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013 root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Using the UserParameter configuration setting in zabbix_agentd.conf leads zabbix server to display "not supported". The reason is that the local command will be run through /bin/sh according to the official zabbix documentation. Because the FreeBSD port has the shell nologin, it will not work. >How-To-Repeat: Create a UserParameter like this: UserParameter=myparam,/usr/bin/id then restart zabbix agent, create an item for a host and use myparam as check. >Fix: Update the zabbix user to have a valid home directory and shell. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401311236.s0VCa7Lv091664>