3 Commits

Author SHA1 Message Date
florian
44c1043ce2 zabbix: preserve conffile over sysupgrade
while doing a sysupgrade the conffile was lost because:
- the path in the Makefile is incorrect
- the parametrized /conffiles  define doesn't seem to work for me

So I added a /conffiles define for every zabbix component and corrected
the path. I think the path changed while upgrading to 2.0.0.

I also had an issue with "hostname" and "uname" not being present on my
system, so I added selects onto these busybox-applets if the native
tool is not installed. Zabbix could also call lsusb and lspci, but I
think it's okay if these calls don't work on an embedded device.

Additionally I deleted an old conffile "files/zabbix_agentd.conf"
which is unused since changeset 32497 (level up zabbix to version 2.0.0)

Signed-off-by: Stefan Hellermann <stefan@the2masters.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@34491 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-04 16:20:59 +00:00
nico
9a9089341f packages/zabbix: use new service functions, various other zabbix-agent fixes:
* move user/group creation from postinst to initscript
 * use /var/run/zabbix directory for pid file
 * use /var/log/zabbix directory for log file
 * set correct ownership and perms for both directories

git-svn-id: svn://svn.openwrt.org/openwrt/packages@28892 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-09 19:49:06 +00:00
florian
5f5ee085e2 Add zabix agent configuration and init script (#3936)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@12749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-28 06:43:14 +00:00