Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 460566 - net-analyzer/zabbix-2.0.5 (and 2.0.4-r1 too) conf file for zabbix_proxy has invalid setting
Summary: net-analyzer/zabbix-2.0.5 (and 2.0.4-r1 too) conf file for zabbix_proxy has i...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Marlowe (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-06 18:18 UTC by Rodrigo Severo
Modified: 2013-05-07 09:41 UTC (History)
0 users

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


Attachments
linking to proxy 2.0 config file (zabbix-2.0.5.ebuild.patch,372 bytes, patch)
2013-04-30 06:00 UTC, Alice Ferrazzi
Details | Diff
zabbix 2.0.x config file (zabbix_proxy.conf,9.74 KB, text/plain)
2013-04-30 06:02 UTC, Alice Ferrazzi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rodrigo Severo 2013-03-06 18:18:22 UTC
zabbix 2.0.5 (and 2.0.4-r1 too) conf file for zabbix_proxy has a invalid setting:

AlertScriptsPath

This setting is available only for zabbix_server, zabbix_proxy doesn't support it.

It should be removed from the default /etc/zabbix/zabbix_proxy.conf file.
Comment 1 Matthew Marlowe (RETIRED) gentoo-dev 2013-04-12 04:42:46 UTC
I'll look into this when making a planned bump next week.
Comment 2 Alice Ferrazzi Gentoo Infrastructure gentoo-dev 2013-04-30 05:56:30 UTC
I had reproduced the bug and is same for me, and in the next release 2.0.6 is also same.


actual result:
gentoo-test zabbix # /etc/init.d/zabbix-proxy start
 * Starting Zabbix proxy ...
zabbix_proxy [13623]: unknown parameter [AlertScriptsPath] in config file [/etc/zabbix/zabbix_proxy.conf], line 136
 * start-stop-daemon: failed to start `/usr/sbin/zabbix_proxy' [ !! ]
 * ERROR: zabbix-proxy failed to start

expected result:
/etc/init.d/zabbix-proxy start                                       
 * Starting Zabbix proxy ...   [ ok ]
Comment 3 Alice Ferrazzi Gentoo Infrastructure gentoo-dev 2013-04-30 06:00:23 UTC
Created attachment 346944 [details, diff]
linking to proxy 2.0 config file
Comment 4 Alice Ferrazzi Gentoo Infrastructure gentoo-dev 2013-04-30 06:02:24 UTC
Created attachment 346946 [details]
zabbix 2.0.x config file
Comment 5 Matthew Marlowe (RETIRED) gentoo-dev 2013-04-30 12:28:37 UTC
2.0.6 is still package masked.  This bug is just one of the issues being worked on before it is put in testing arch.
Comment 6 Matthew Marlowe (RETIRED) gentoo-dev 2013-05-06 22:38:55 UTC
Fixed in zabbix 2.0.6-r3 which was just committed to cvs.
Comment 7 Alice Ferrazzi Gentoo Infrastructure gentoo-dev 2013-05-07 09:13:04 UTC
tested on x86_64
the zabbix_proxy config file now is correct and is not triggering any warning
Comment 8 Alice Ferrazzi Gentoo Infrastructure gentoo-dev 2013-05-07 09:41:18 UTC
oh i forget to mention, is a good idea to change the configuration file if you want to use pid file.

for exemple if you use the default configuration file, the init.d file will work buy complain about the absence of the pid file (present for zabbix_agent and zabbix_server).

actual result:
gentoo-test ~ # /etc/init.d/zabbix-proxy restart
 * Caching service dependencies ...                                                                                                                      [ ok ]
 * Stopping Zabbix agent ...
 * start-stop-daemon: fopen `/var/run/zabbix/zabbix_proxy.pid': No such file or directory                             [ ok ]
 * Starting Zabbix agent ...          [ ok ] 

expected result:
gentoo-test ~ # /etc/init.d/zabbix-proxy restart
 * Stopping Zabbix agent ...        [ ok ]
 * Starting Zabbix agent ...        [ ok ]

so i can suggest to give a default configuration file with pid already enable or it will complain...
adding:
PidFile=/var/run/zabbix/zabbix_proxy.pid