From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Sep 28 00:02:50 2014 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BE57FBED for ; Sun, 28 Sep 2014 00:02:50 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A57DD34A for ; Sun, 28 Sep 2014 00:02:50 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s8S02oR1024068 for ; Sun, 28 Sep 2014 00:02:50 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 193982] New: net-mgmt/observium improvements, missing deps, suggestions Date: Sun, 28 Sep 2014 00:02:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: mcdouga9@egr.msu.edu X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: feld@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Sep 2014 00:02:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193982 Bug ID: 193982 Summary: net-mgmt/observium improvements, missing deps, suggestions Product: Ports Tree Version: Latest Hardware: Any OS: Any Status: Needs Triage Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: feld@FreeBSD.org Reporter: mcdouga9@egr.msu.edu Assignee: feld@FreeBSD.org Flags: maintainer-feedback?(feld@FreeBSD.org) I was planning on submitting a formal patch but I just don't have enough time lately. Filing a bug report with raw details captured for someone that can work on it. Missing deps: apache24(or variant) fping nmap php55-json mod_php55 php55-tokenizer php55-filter Xpython databases/py-MySQLdb php55-mcrypt (see below for partial implementation) Suggested makefile entries (work in progress): (some of these may be optional but it is hard to tell from the product docs. Wouldn't hurt to include by default as options, even if disabled.) -USE_PHP= snmp ctype gd mysql session xml +USE_PHP= ctype filter gd json mcrypt mysql session snmp tokenizer xml -OPTIONS_DEFINE= APACHEMOD MYSQLD -OPTIONS_DEFAULT= APACHEMOD +OPTIONS_DEFINE= APACHEMOD FPING IPMITOOL LIBVIRT MYSQLD NAGPLUGINS NMAP SUBVERSION WMIC +OPTIONS_DEFAULT= APACHEMOD FPING IPMITOOL LIBVIRT NAGPLUGINS NMAP SUBVERSION WMIC RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=0:${PORTSDIR}/databases/py-MySQLdb RUN_DEPENDS+= ${LOCALBASE}/bin/wget:${PORTSDIR}/ftp/wget +FPING_RUN_DEPENDS= fping:${PORTSDIR}/net/fping +IPMITOOL_RUN_DEPENDS= ipmitool:${PORTSDIR}/sysutils/ipmitool +LIBVIRT_RUN_DEPENDS= virsh:${PORTSDIR}/devel/libvirt +NAGPLUGINS_RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:${PORTSDIR}/net-mgmt/nagios-plugins +NMAP_RUN_DEPENDS= nmap:${PORTSDIR}/security/nmap +SUBVERSION_RUN_DEPENDS= subversion:${PORTSDIR}/devel/subversion +WMIC_RUN_DEPENDS= wmic:${PORTSDIR}/net-mgmt/wmi-client (need to add desc for FPING NMAP SUBVERSION, rest have a default I think) "The mcrypt extension is missing. This extension required for use by the "remember me" feature. Please install the php5-mcrypt package on Ubuntu/Debian or the php-mcrypt package on RHEL/Centos. Alternatively, you can disable this feature by setting $config['login_remember_me'] = FALSE; in your config." use @sample for config.php.default (rename it) patch the binary paths for fping etc in the default config find /usr/local/www/observium -name \*.php -exec chmod +x {} \; find /usr/local/www/observium -name \*.py -exec chmod +x {} \; the rrd directory needs ownership by www Apache needs mod_rewrite The suggested crontab entries in official documentation follow bad policy of completely ignoring all errors by using >> /dev/null 2>&1. This was one of my stumbling blocks. And finally, the item which gave me the most trouble was where poller.php OVERRIDES SETTINGS FROM PHP.INI that I had enabled to try to track down missing php modules etc. Observium takes an extremely hostile position of disabling display_errors, display_startup_errors, log_errors, and error_reporting unless a (undocumented?) debug variable is set somewhere. I think this behavior is a disservice to well meaning administrators and at least log_errors should not be disabled on a standard install. This is not a fault of the port, but the port can make it more admin-friendly. --- Comment #1 from Bugzilla Automation --- Auto-assigned to maintainer feld@FreeBSD.org -- You are receiving this mail because: You are the assignee for the bug.