From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jan 31 12:40:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E0F02AF4 for ; Fri, 31 Jan 2014 12:40:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A1D5A1B40 for ; Fri, 31 Jan 2014 12:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s0VCe0xk075824 for ; Fri, 31 Jan 2014 12:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id s0VCe0X3075823; Fri, 31 Jan 2014 12:40:00 GMT (envelope-from gnats) Resent-Date: Fri, 31 Jan 2014 12:40:00 GMT Resent-Message-Id: <201401311240.s0VCe0X3075823@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Felix Ehlers Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 386F2A96 for ; Fri, 31 Jan 2014 12:36:08 +0000 (UTC) Received: from oldred.freebsd.org (oldred.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2459E1B0D for ; Fri, 31 Jan 2014 12:36:08 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id s0VCa7IY091683 for ; Fri, 31 Jan 2014 12:36:07 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id s0VCa7Lv091664; Fri, 31 Jan 2014 12:36:07 GMT (envelope-from nobody) Message-Id: <201401311236.s0VCa7Lv091664@oldred.freebsd.org> Date: Fri, 31 Jan 2014 12:36:07 GMT From: Felix Ehlers To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/186298: zabbix22-agent UserParameter not working X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Jan 2014 12:40:00 -0000 >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: