Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 283970 - net-analyzer/zabbix-1.6.5: missed PROXY part
Summary: net-analyzer/zabbix-1.6.5: missed PROXY part
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-07 10:04 UTC by Enchant
Modified: 2009-10-06 16:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info.txt,9.66 KB, text/plain)
2009-09-08 08:12 UTC, Enchant
Details
init.d script for zabbix-proxy (zabbix-proxy,560 bytes, text/plain)
2009-10-06 09:41 UTC, Enchant
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Enchant 2009-09-07 10:04:36 UTC
In ebuild contains USE flag PROXY but zabbix proxy not installing if define this flag.

$ emerge net-analyzer/zabbix -av
[ebuild   R   ] net-analyzer/zabbix-1.6.5  USE="proxy sqlite3 -agent -curl -frontend -jabber -ldap -mysql -openipmi -oracle -postgres -server -snmp -vhosts"

$ glist zabbix
/etc/zabbix/.keep_net-analyzer_zabbix-0
/var/lib/zabbix/home/.keep_net-analyzer_zabbix-0
/var/lib/zabbix/scripts/.keep_net-analyzer_zabbix-0
/var/lib/zabbix/.keep_net-analyzer_zabbix-0
/var/log/zabbix/.keep_net-analyzer_zabbix-0
/var/run/zabbix/.keep_net-analyzer_zabbix-0
/usr/share/doc/zabbix-1.6.5/README.bz2
/usr/share/doc/zabbix-1.6.5/INSTALL.bz2
/usr/share/doc/zabbix-1.6.5/NEWS.bz2
/usr/share/doc/zabbix-1.6.5/ChangeLog.bz2

Must be installed zabbix_proxy binary, config and DB schemas.


Reproducible: Always

Steps to Reproduce:
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2009-09-08 05:17:13 UTC
emerge --info please
Comment 2 Enchant 2009-09-08 08:12:09 UTC
Created attachment 203449 [details]
emerge --info
Comment 3 Enchant 2009-09-08 08:12:44 UTC
Comment on attachment 203449 [details]
emerge --info

I tested install on three servers.

"emerge --info" for servers in attachment.
Comment 4 Wolfram Schlich (RETIRED) gentoo-dev 2009-09-08 14:23:14 UTC
Patrick, your call :)
Comment 5 Enchant 2009-10-05 09:29:04 UTC
Patrick, where you? :-)
Comment 6 Patrick Lauer gentoo-dev 2009-10-05 14:47:58 UTC
(In reply to comment #5)
> Patrick, where you? :-)
> 
I don't know exactly which files are needed for proxy support.
1.6.5-r1 should install enough, please report back if anything is missing or in the wrong place.
Comment 7 Enchant 2009-10-06 09:39:33 UTC
I tested to install version 1.6.6 with USE proxy:

$ emerge zabbix -pv
[ebuild   R   ] net-analyzer/zabbix-1.6.6  USE="agent proxy sqlite3 -curl -frontend -jabber -ldap -mysql -openipmi -oracle -postgres -server -snmp -vhosts" 0 kB

and realy zabbix_proxy binary, config and DB schemas has been normal installed in system - it's OK.

But missing init.d script.

I copied script init.d/zabbix-server for init.d/zabbix-proxy and replace some command for run zabbix-proxy. And zabbix-proxy normal work now fo me.

For closing  this bug need add init.d zabbix-proxy in ebuild.
Comment 8 Enchant 2009-10-06 09:41:10 UTC
Created attachment 206232 [details]
init.d script for zabbix-proxy
Comment 9 Enchant 2009-10-06 09:49:43 UTC
One moment, for work this init.d script need change options "PidFile" in /etc/zabbix/zabbix_proxy.conf.

For gentoo-like need set:
PidFile=/var/run/zabbix/zabbix_proxy.pid

And, I think, need also change "LogFile" options (from this bug http://bugs.gentoo.org/show_bug.cgi?id=283817) in ebuild.
Comment 10 Patrick Lauer gentoo-dev 2009-10-06 16:24:47 UTC
+  06 Oct 2009; Patrick Lauer <patrick@gentoo.org>
+  +files/1.6.6/init.d/zabbix-proxy, +zabbix-1.6.6-r1.ebuild,
+  files/1.6.6/zabbix_agentd.conf, files/1.6.6/zabbix_proxy.conf,
+  files/1.6.6/zabbix_server.conf:
+  Adding proxy init script #283970 and fixing log paths #283817. Thanks to
+  all the reporters and testers.

Thanks for testing.