--- /dev/null
+DESTDIR=
+prefix= /usr
+bindir = $(prefix)/bin
+sysconfdir = /etc
+vardir = /var/lib/zabbixsrv
+vardirext = $(vardir)/externalscripts
+vardiralert = $(vardir)/alertscripts
+
+INSTALL = install -p -m755
+INSTALL_DATA = install -p -m644
+
+all:
+
+install:
+ $(INSTALL) -d $(DESTDIR)$(bindir)
+ $(INSTALL) zabbix_trap_receiver.pl $(DESTDIR)$(bindir)
+ $(INSTALL) get_default_gateway $(DESTDIR)$(bindir)
+ $(INSTALL) zabbix_elasticsearch_cluster_health.py $(DESTDIR)$(bindir)
+ $(INSTALL) zabbix_networkteam_info.py $(DESTDIR)$(bindir)
+ $(INSTALL) zabbix_elasticsearch_node_stats.py $(DESTDIR)$(bindir)
+ $(INSTALL) zabbix_filesystem_limits.py $(DESTDIR)$(bindir)
+ $(INSTALL) zabbix_filesystem_not_monitored.py $(DESTDIR)$(bindir)
+ $(INSTALL) zabbix_get_webapps_info.py $(DESTDIR)$(bindir)
+ $(INSTALL) zabbix_get_webapps_status.py $(DESTDIR)$(bindir)
+ $(INSTALL) zabbix_get_webapps_status_v2.py $(DESTDIR)$(bindir)
+ $(INSTALL) -d $(DESTDIR)$(sysconfdir)
+ $(INSTALL_DATA) zabbix_filesystems_limits.conf $(DESTDIR)$(sysconfdir)
+ $(INSTALL_DATA) zabbix_filesystems_not_monitored.conf $(DESTDIR)$(sysconfdir)
+ $(INSTALL) -d $(DESTDIR)$(vardirext)
+ $(INSTALL) query-apachestats.py $(DESTDIR)$(vardirext)
+ $(INSTALL) zabbix_temperature_devices_discovery.py $(DESTDIR)$(vardirext)
+ $(INSTALL) zabbix_temperature_devices_info.py $(DESTDIR)$(vardirext)
+ $(INSTALL) get_webapp_instances.py $(DESTDIR)$(vardirext)
+ $(INSTALL) -d $(DESTDIR)$(vardiralert)
+ $(INSTALL) sms_send.py $(DESTDIR)$(vardiralert)
+# $(INSTALL)jabber_send $(DESTDIR)$(vardiralert)
--- /dev/null
+uio-zabbix (0.0.0-1) unstable; urgency=low
+
+ * initial release
+
+ -- Petter Reinholdtsen <petter.reinholdtsen@usit.uio.no> Mon, 17 Oct 2016 10:56:16 +0200
--- /dev/null
+Source: uio-zabbix
+Section: libs
+Priority: optional
+Maintainer: Petter Reinholdtsen <petter.reinholdtsen@usit.uio.no>
+Standards-Version: 3.9.8
+Build-Depends:
+ debhelper (>= 9~)
+ , python | python-all | python-dev | python-all-dev
+Homepage: http://git.uio.no/git/?p=uio-zabbix.git;a=summary
+Vcs-Browser: http://git.uio.no/git/?p=uio-zabbix.git;a=summary
+Vcs-Git: git://git.uio.no/uio-zabbix.git
+
+Package: uio-zabbix-userparm
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+ , python
+Description: Zabbix related tools and scripts for UiO - client scripts
+ Contains scripts that must be run on the same machine that they are
+ meant to gather data from.
+
+Package: uio-zabbix-infrastructure
+Architecture: any
+Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends}
+ , python
+ , perl
+Description: Zabbix related tools and scripts for UiO - infrastructure scripts
+ Contains scripts that must be run from a zabbix proxy or server in
+ order to be able to query the machines they are meant to gather data
+ from. This package also contains the zabbix trap receiver script.
--- /dev/null
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: uio-zabbix
+Source: http://git.uio.no/git/?p=uio-zabbix.git;a=summary
+
+Files: *
+Copyright: 2015-2016 The University of Oslo
+License: GPL-3+
+ get_webapps_instances.py is free software: you can redistribute
+ it and/or modify it under the terms of the GNU General Public
+ License as published by the Free Software Foundation, either version
+ 3 of the License, or (at your option) any later version.
+ .
+ get_webapps_instances.py is distributed in the hope that it will
+ be useful, but WITHOUT ANY WARRANTY; without even the implied
+ warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with sms_send. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General Public
+ License Version 3 can be found in `/usr/share/common-licenses/GPL-3`.
--- /dev/null
+#!/usr/bin/make -f
+%:
+ dh $@ -- --with python2
--- /dev/null
+usr/bin/zabbix_trap_receiver.pl
+#%defattr(-,zabbix,zabbix,-)
+var/lib/zabbixsrv/alertscripts/sms_send.py
+#var/lib/zabbixsrv/alertscripts/jabber_send
+var/lib/zabbixsrv/externalscripts/zabbix_temperature_devices_discovery.py
+var/lib/zabbixsrv/externalscripts/zabbix_temperature_devices_info.py
+var/lib/zabbixsrv/externalscripts/query-apachestats.py
+var/lib/zabbixsrv/externalscripts/get_webapp_instances.py
--- /dev/null
+usr/bin/get_default_gateway
+usr/bin/zabbix_elasticsearch_cluster_health.py
+usr/bin/zabbix_elasticsearch_node_stats.py
+usr/bin/zabbix_filesystem_limits.py
+usr/bin/zabbix_filesystem_not_monitored.py
+usr/bin/zabbix_get_webapps_info.py
+usr/bin/zabbix_get_webapps_status.py
+usr/bin/zabbix_get_webapps_status_v2.py
+usr/bin/zabbix_networkteam_info.py