6 Commits

Author SHA1 Message Date
hauke
0d416a1cc0 Zabbix: update to 2.2.1
With this new version of zabbix we do not need
uname and hostname anymore, see
https://svn.zabbix.com/browse/ZBX-5616
Only compile tested for now

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>


git-svn-id: svn://svn.openwrt.org/openwrt/packages@39489 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-05 21:27:13 +00:00
mirko
d8a5c20913 This patch add 3 extra packages for zabbix-agentd
zabbix-extra-network: a detection rule with the ifname (eth0.1) and the network name (wan).
zabbix-extra-wifi: an universal detection rule for wifi (using libuci-lua) and many userparameters (using libiwinfo-lua)
zabbix-extra-mac80211: a phy (phy0) detection rule and userparameters for mac80211 devices

zabbix-extra-network and zabbix-extra-wifi will work as non root user if /etc/config/wireless and /etc/config/network are world-readeable (default)
(see http://nbd.name/gitweb.cgi?p=uci.git;a=commit;h=07d6fd66f6a20e35490bc8b55d26fdb389016120)
zabbix-extra-mac80211 come with a suid helper so that you can still run zabbix as non root user.

Ready to use templates are available here: http://wiki.openwrt.org/doc/howto/zabbix

Please delete files/zabbix_agentd.conf, it's an empty file.

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@36740 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-28 10:03:03 +00:00
juhosg
d3bfeaa109 zabbix: version bump to 2.0.5
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@35636 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-17 12:13:42 +00:00
florian
5c4712418a zabbix: correct pidfile und update initscript
zabbix_agentd will not start because the initscript checks an old
path to the configfile and then zabbix_agentd uses the new path.
(old /etc/zabbix/zabbix_agentd.conf   new /etc/zabbix_agentd.conf)
I think the new path is better as most people have only one zabbix
tool installed on their embedded device.

Further there is a problem with the pid-file: zabbix creates it by
default in /tmp, and the init script creates a folder in
/var/run/zabbix where the pid-file is expected. start-stop-daemon will
not find the pid-file and cannot stop zabbix_agentd. So I changed the
initscript and conffile to use the same pid-file. I actually chose
/var/run/zabbix_agentd.conf instead of creating a subfolder or use /tmp.

While doing that I redid the whole initscript and changed additionally:
- move conffile to new location if is in the location from before
  changeset #32497
- only create zabbix users if there is no AllowRoot=1 in config
- only support the pid-file path /var/run/zabbix_agentd.pid, check it
  in initscript and warn if it is changed.
- don't log to a file in /tmp, but use syslog
- only start one passive check agent instead of default 3
- don't search actively for a zabbix-server on 127.0.0.1
- don't set the hostname to "Zabbix server" but use system.hostname

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@34492 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-04 16:21:02 +00:00
mirko
81938508b5 [packages/zabbix] level up zabbix to version 2.0.0
git-svn-id: svn://svn.openwrt.org/openwrt/packages@32497 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-24 19:03:42 +00:00
florian
3e7bac00b7 Update zabbix to 1.6
git-svn-id: svn://svn.openwrt.org/openwrt/packages@12815 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-30 17:08:43 +00:00