refresh patch (patch configure.ac instead of .in)
zabbix-agentd tested on wr1043nd
zabbix-* compile tested
zabbix-extra-wifi discovery still not working
(need an suid helper to make ubus calls)
Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@40639 3c298f89-4303-0410-b956-a3cf2f4a3e73
I patched the conf file to use this dir (so zabbix-extra-* work right away),
but it is not created unless we select a zabbix-extra-*,
thus preventing default conf from working
Reported by Jiri Slachta in his patch "zabbix: update to 2.2.0"
Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@40638 3c298f89-4303-0410-b956-a3cf2f4a3e73
/sys/kernel/debug/ is now only accessible to root,
use zabbix_helper_mac80211 (suid helper) to compute
mac80211.phydiscovery (the discovery rule)
Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@39490 3c298f89-4303-0410-b956-a3cf2f4a3e73
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
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
This patch is for the "facter" utility which allows sysadmins to extract
information from their systems.
Signed-off-by: Kyle Anderson <kyle@xkyle.com>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@36549 3c298f89-4303-0410-b956-a3cf2f4a3e73
This patch fix a bug while getting data for interfaces like br-lan, pppoa-wan.
[florian: bump PKG_RELEASE to 4]
Signed-off-by: Luca Dariz <luca.dariz@gmail.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@35657 3c298f89-4303-0410-b956-a3cf2f4a3e73
This patch updates htop to version 1.0.2
Signed-off-by: Peter Wagner <tripolar@gmx.at>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@34964 3c298f89-4303-0410-b956-a3cf2f4a3e73
This patch updates Zabbix to it's latest version. Changelog consists of
a huge set of bugfixes and a few small improvements.
Acked-by: Stefan Hellermann <stefan@the2masters.de>
Acked-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@34581 3c298f89-4303-0410-b956-a3cf2f4a3e73
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
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
This patch adds the Ostiary package to the repository. I've tested this on the latest build (revision 31158). Installation, un-installation and ostiaryd.init script all seem to work correctly.
A bit of background, Ostiary has a similar purpose to Port Knocking but uses a different implementation that removes the possibility of replay attacks. Not everyone will view it as suitable for their needs, but for me combined with ssh I feel it is more than sufficient.
I suppose for the super paranoid admin, the perfect system would be a package that uses the approach of port knocking via a closed port that is combined with an ostiary style signature challenge.
Anyhow, I have created quickstart documentation for the server and client at "http://wiki.openwrt.org/doc/howto/ostiary.server" and "http://wiki.openwrt.org/doc/howto/ostiary.client".
Signed-off-by: Desmond Hokin <Salander@gmx.u>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@33167 3c298f89-4303-0410-b956-a3cf2f4a3e73
Hi
this patch update monit from 5.2.5 to 5.4, this add cool feature like "check program", to execute a script and send email/do action depending on the return code, and many bugfixes (http://mmonit.com/monit/dist/CHANGES.txt)
I've modified the init script because "-d 60" overide the conf file and the stat command doesn't seem to exist, so either we just chmod each time or we let the people RTFM and the syslog (i prefer the latter)
For now i've tested only the ssl version with backfire (r31676) on x86 and ar71xx (tplink wr1043nd) (it send mail via google, ping, watch load average and cpu ...)
It compile (monit and monit-nossl) for x86 and ar71xx for backfire & trunk (trunk x86 mount the ext4 partition readonly so i haven't tested)
Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@32674 3c298f89-4303-0410-b956-a3cf2f4a3e73
The muninlite postinst fails to add munin to /etc/services.
This patch removes this broken postinst and add an entry for munin in
/etc/services. This should have been done when the rest of the
/etc/services postinsts were being removed (changesets 26142-26149).
Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@30983 3c298f89-4303-0410-b956-a3cf2f4a3e73