summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Knauer2015-05-31 21:18:37 +0200
committerRobert Knauer2015-05-31 21:18:37 +0200
commitc60e6795e0021ed6f6fc48c97e7ec9e498b40392 (patch)
tree6b9c856f4111e4b832659f120e6425d9540b4aee
downloadaur-c60e6795e0021ed6f6fc48c97e7ec9e498b40392.tar.gz
init
-rw-r--r--.SRCINFO29
-rw-r--r--PKGBUILD70
-rw-r--r--check_mk.install16
-rw-r--r--check_mk.patch6
-rw-r--r--check_mk_templates.cfg.patch11
-rw-r--r--files_shebang.txt414
-rw-r--r--index.py.patch11
-rw-r--r--mkp.patch6
8 files changed, 563 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3cc0e75b168
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,29 @@
+pkgbase = check_mk
+ pkgdesc = A new general purpose Nagios-plugin for retrieving data.
+ pkgver = 1.2.2p2
+ pkgrel = 1
+ url = http://mathias-kettner.de/check_mk.html
+ install = check_mk.install
+ arch = any
+ license = GPL2
+ depends = python2
+ depends = nagios
+ depends = nagios-plugins
+ depends = xinetd
+ depends = mod_python
+ depends = apache
+ source = http://mathias-kettner.de/download/check_mk-1.2.2p2.tar.gz
+ source = files_shebang.txt
+ source = check_mk_templates.cfg.patch
+ source = index.py.patch
+ source = mkp.patch
+ source = check_mk.patch
+ sha256sums = 3ef638c0de39b015e02e7d60c0d612c0fcf516a7e4766ab836dc205d7330b15f
+ sha256sums = 4eb6e74e1e0bda172e6e11de5087ed29409f2cc38292e32de131c6c3fd687411
+ sha256sums = f0bb81a195347ab0d46c8b34921021200f67f490fbe4be538e5d0c99b21e1400
+ sha256sums = 7488ab4d5d5e0686f477a14456585015a9d2c9cdb3cdeea383507b70db8a060a
+ sha256sums = f68f4593e15010004b3abf1c8fd92638efd34c92e0a93e7810b3a972ce0bfee7
+ sha256sums = e577f3549b5f3a39e974aa9ab979c67722f8ef0a8bbb434cf6b1b5ca165fe473
+
+pkgname = check_mk
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c2d67465b55
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,70 @@
+# Maintainer: Robert Knauer <robert@privatdemail.net>
+
+_rtfm=n # you want documentation? (y / n)
+_other_agents=n # you want agents for other operating systems? (y / n)
+
+pkgname=check_mk
+pkgver=1.2.2p2
+pkgrel=1
+pkgdesc="A new general purpose Nagios-plugin for retrieving data."
+license=('GPL2')
+arch=('any')
+url="http://mathias-kettner.de/check_mk.html"
+depends=('python2' 'nagios' 'nagios-plugins' 'xinetd' 'mod_python' 'apache')
+source=(
+ "http://mathias-kettner.de/download/${pkgname}-${pkgver}.tar.gz"
+ 'files_shebang.txt'
+ 'check_mk_templates.cfg.patch'
+ 'index.py.patch'
+ 'mkp.patch'
+ 'check_mk.patch'
+)
+sha256sums=(
+ '3ef638c0de39b015e02e7d60c0d612c0fcf516a7e4766ab836dc205d7330b15f'
+ '4eb6e74e1e0bda172e6e11de5087ed29409f2cc38292e32de131c6c3fd687411'
+ 'f0bb81a195347ab0d46c8b34921021200f67f490fbe4be538e5d0c99b21e1400'
+ '7488ab4d5d5e0686f477a14456585015a9d2c9cdb3cdeea383507b70db8a060a'
+ 'f68f4593e15010004b3abf1c8fd92638efd34c92e0a93e7810b3a972ce0bfee7'
+ 'e577f3549b5f3a39e974aa9ab979c67722f8ef0a8bbb434cf6b1b5ca165fe473'
+)
+install="${pkgname}.install"
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ DESTDIR="${pkgdir}" \
+ wwwuser='http' \
+ nagios_binary='/usr/bin/nagios' \
+ nagios_startscript='/usr/bin/true' \
+ nagpipe='/var/nagios/rw/nagios.cmd' \
+ check_result_path='/var/nagios/spool/checkresults' \
+ nagios_status_file='/var/nagios/status.dat' \
+ check_icmp_path='/usr/share/nagios/libexec/check_icmp' \
+ apache_config_dir='/etc/httpd/conf/extra' \
+ livesock='/var/nagios/rw/live' \
+ ./setup.sh
+ # Fix python shebangs:
+ cd "${pkgdir}"
+ for f in `cat "${srcdir}/files_shebang.txt"`; do
+ echo "#!/usr/bin/python2" > "${f}.new"
+ cat "${f}" | tail -n +2 >> "${f}.new"
+ cat "${f}.new" > "${f}"
+ rm -f "${f}.new"
+ done
+ # Fix other python2 stuff:
+ patch "./usr/share/check_mk/check_mk_templates.cfg" "${srcdir}/check_mk_templates.cfg.patch"
+ patch "./usr/share/check_mk/web/htdocs/index.py" "${srcdir}/index.py.patch"
+ patch "./usr/bin/mkp" "${srcdir}/mkp.patch"
+ patch "./usr/bin/check_mk" "${srcdir}/check_mk.patch"
+ # Add symlinks for the agent:
+ mkdir -p "./usr/bin" "./etc/xinetd.d"
+ ln -s "/usr/share/check_mk/agents/check_mk_agent.linux" "./usr/bin/check_mk_agent"
+ ln -s "/usr/share/check_mk/agents/xinetd.conf" "./etc/xinetd.d/check_mk"
+ ln -s "/usr/share/check_mk/agents/waitmax" "./usr/bin/waitmax"
+ # Remove docs if the user wants it:
+ [[ "${_rtfm}" = "n" ]] && rm -rf "./usr/share/doc"
+ # Remove agents if the user wants it:
+ if [[ "${_other_agents}" = "n" ]]; then
+ rm -rf "./usr/share/check_mk/agents/windows/"
+ rm -f "./usr/share/check_mk/agents/check_mk_agent."{freebsd,macosx,openvms,netbsd,aix,hpux,solaris,openbsd}
+ fi
+}
diff --git a/check_mk.install b/check_mk.install
new file mode 100644
index 00000000000..ec795874399
--- /dev/null
+++ b/check_mk.install
@@ -0,0 +1,16 @@
+post_install() {
+ echo " ==> Check_MF is now installed."
+ echo " ==> To use it, please do the following steps:"
+ echo " 1. Edit /etc/check_mk/main.mk and add your hosts."
+ echo " 2. Install the check_mk_agent and start xinetd on every host."
+ echo " 3. Run cmk -I to autodetect services on the hosts."
+ echo " 4. Run check_mk -O to generate /etc/nagios/objects/check_mk_objects.cfg"
+ echo " 5. Add the following lines to your /etc/nagios/nagios.cfg:"
+ echo " cfg_file=/etc/nagios/objects/check_mk_objects.cfg"
+ echo " cfg_file=/etc/nagios/objects/check_mk_templates.cfg"
+ echo " 6. Add the following line to your /etc/httpd/conf/httpd.conf:"
+ echo " Include conf/extra/zzz_check_mk.conf"
+ echo " 7. Add the user your webserver is running as to the nagios group."
+ echo " 8. Configure mod_python."
+ echo " 9. Restart your webserver and nagios."
+}
diff --git a/check_mk.patch b/check_mk.patch
new file mode 100644
index 00000000000..bccccf09e24
--- /dev/null
+++ b/check_mk.patch
@@ -0,0 +1,6 @@
+--- check_mk.orig 2013-07-30 22:41:35.354865484 +0200
++++ check_mk 2013-07-30 22:41:29.561479967 +0200
+@@ -1,2 +1,2 @@
+ #!/bin/sh
+-exec python /usr/share/check_mk/modules/check_mk.py "$@"
++exec python2 /usr/share/check_mk/modules/check_mk.py "$@"
diff --git a/check_mk_templates.cfg.patch b/check_mk_templates.cfg.patch
new file mode 100644
index 00000000000..4be34570f55
--- /dev/null
+++ b/check_mk_templates.cfg.patch
@@ -0,0 +1,11 @@
+--- check_mk_templates.cfg.orig 2013-07-30 22:34:47.631192925 +0200
++++ check_mk_templates.cfg 2013-07-30 22:35:25.001529537 +0200
+@@ -294,7 +294,7 @@
+ # Calling check_mk with precompiled checks
+ define command {
+ command_name check-mk
+- command_line python /var/lib/check_mk/precompiled/"$HOSTNAME$"
++ command_line python2 /var/lib/check_mk/precompiled/"$HOSTNAME$"
+ }
+
+ # Use this variant of if you are working without precompiled
diff --git a/files_shebang.txt b/files_shebang.txt
new file mode 100644
index 00000000000..732638e132a
--- /dev/null
+++ b/files_shebang.txt
@@ -0,0 +1,414 @@
+./usr/share/doc/check_mk/bi-example.mk
+./usr/share/doc/check_mk/treasures/SLAviews/reporting.py
+./usr/share/doc/check_mk/treasures/downtime
+./usr/share/doc/check_mk/treasures/check_bi_local.py
+./usr/share/doc/check_mk/treasures/wiki_snapin.py
+./usr/share/doc/check_mk/treasures/colorgrep
+./usr/share/doc/check_mk/treasures/multisite_to_mrpe
+./usr/share/doc/check_mk/treasures/wato_import.py
+./usr/share/doc/check_mk/treasures/Event_Console/snmptd_mkevent.py
+./usr/share/doc/check_mk/treasures/Event_Console/Eventconsole-Performance.py
+./usr/share/doc/check_mk/treasures/Event_Console/mail_mkevent.py
+./usr/share/doc/check_mk/treasures/Event_Console/get_event_status
+./usr/share/doc/check_mk/treasures/livedump
+./usr/share/doc/check_mk/treasures/wato_host_svc_groups.py
+./usr/share/doc/check_mk/treasures/solaris_cache_plugins.sh
+./usr/share/doc/check_mk/treasures/check_imap_folder
+./usr/share/doc/check_mk/mkeventd/query_events
+./usr/share/doc/check_mk/livestatus/api/python/make_nagvis_map.py
+./usr/share/doc/check_mk/livestatus/api/python/livestatus.py
+./usr/share/doc/check_mk/livestatus/api/python/example.py
+./usr/share/doc/check_mk/livestatus/api/python/example_multisite.py
+./usr/share/doc/check_mk/helpers/validate_checks
+./usr/share/doc/check_mk/helpers/reindent.py
+./usr/share/doc/check_mk/helpers/df_magic_number.py
+./usr/share/doc/check_mk/helpers/headrify
+./usr/share/doc/check_mk/helpers/figheader
+./usr/share/doc/check_mk/bi-example-oracle.mk
+./usr/share/check_mk/checks/ups_in_freq
+./usr/share/check_mk/checks/postgres_stat_database
+./usr/share/check_mk/checks/uptime
+./usr/share/check_mk/checks/decru_fans
+./usr/share/check_mk/checks/apc_symmetra_power
+./usr/share/check_mk/checks/mailman_lists
+./usr/share/check_mk/checks/fc_brocade_port_detailed
+./usr/share/check_mk/checks/megaraid_bbu
+./usr/share/check_mk/checks/hp_proliant_da_cntlr
+./usr/share/check_mk/checks/fjdarye60_cmods
+./usr/share/check_mk/checks/ups_capacity
+./usr/share/check_mk/checks/apc_rackpdu_power
+./usr/share/check_mk/checks/oracle_tablespaces
+./usr/share/check_mk/checks/f5_bigip_temp
+./usr/share/check_mk/checks/tsm_storagepools
+./usr/share/check_mk/checks/hp_proliant_cpu
+./usr/share/check_mk/checks/ups_in_voltage
+./usr/share/check_mk/checks/fortigate_sessions
+./usr/share/check_mk/checks/cisco_mem
+./usr/share/check_mk/checks/hpux_cpu
+./usr/share/check_mk/checks/vms_netif
+./usr/share/check_mk/checks/carel_uniflair_cooling
+./usr/share/check_mk/checks/blade_bays
+./usr/share/check_mk/checks/hp_blade_psu
+./usr/share/check_mk/checks/fjdarye60_sum
+./usr/share/check_mk/checks/windows_multipath
+./usr/share/check_mk/checks/hp_eml_sum
+./usr/share/check_mk/checks/postgres_sessions
+./usr/share/check_mk/checks/zfsget
+./usr/share/check_mk/checks/multipath
+./usr/share/check_mk/checks/cisco_cpu
+./usr/share/check_mk/checks/df.include
+./usr/share/check_mk/checks/pdu_gude_8310
+./usr/share/check_mk/checks/oracle.include
+./usr/share/check_mk/checks/fileinfo
+./usr/share/check_mk/checks/livestatus_status
+./usr/share/check_mk/checks/fjdarye100_cmods_mem
+./usr/share/check_mk/checks/ovs_bonding
+./usr/share/check_mk/checks/ucd_cpu_util
+./usr/share/check_mk/checks/lnx_bonding
+./usr/share/check_mk/checks/winperf_processor
+./usr/share/check_mk/checks/blade_health
+./usr/share/check_mk/checks/tcp_conn_stats
+./usr/share/check_mk/checks/hpux_lvm
+./usr/share/check_mk/checks/hp_procurve_sensors
+./usr/share/check_mk/checks/h3c_lanswitch_sensors
+./usr/share/check_mk/checks/heartbeat_crm
+./usr/share/check_mk/checks/ps
+./usr/share/check_mk/checks/lparstat_aix
+./usr/share/check_mk/checks/fjdarye60_syscaps
+./usr/share/check_mk/checks/statgrab_cpu
+./usr/share/check_mk/checks/fjdarye100_cpsus
+./usr/share/check_mk/checks/vms_diskstat
+./usr/share/check_mk/checks/fjdarye100_conencs
+./usr/share/check_mk/checks/ibm_xraid_pdisks
+./usr/share/check_mk/checks/fc_brocade_port
+./usr/share/check_mk/checks/statgrab_load
+./usr/share/check_mk/checks/dell_powerconnect_fans
+./usr/share/check_mk/checks/ups_out_voltage
+./usr/share/check_mk/checks/check_smtp
+./usr/share/check_mk/checks/diskstat.include
+./usr/share/check_mk/checks/vms_df
+./usr/share/check_mk/checks/cisco_temp_perf
+./usr/share/check_mk/checks/sylo
+./usr/share/check_mk/checks/strem1_sensors
+./usr/share/check_mk/checks/3ware_units
+./usr/share/check_mk/checks/hp_proliant
+./usr/share/check_mk/checks/netapp_fcpio
+./usr/share/check_mk/checks/hp_proliant_psu
+./usr/share/check_mk/checks/hpux_fchba
+./usr/share/check_mk/checks/blade_bx_blades
+./usr/share/check_mk/checks/nfsmounts
+./usr/share/check_mk/checks/f5_bigip_vserver
+./usr/share/check_mk/checks/hpux_if
+./usr/share/check_mk/checks/vxvm_enclosures
+./usr/share/check_mk/checks/fjdarye100_devencs
+./usr/share/check_mk/checks/nvidia
+./usr/share/check_mk/checks/decru_perf
+./usr/share/check_mk/checks/fjdarye.include
+./usr/share/check_mk/checks/hpux_tunables
+./usr/share/check_mk/checks/pdu_gude_8301
+./usr/share/check_mk/checks/fjdarye60_devencs
+./usr/share/check_mk/checks/win_dhcp_pools
+./usr/share/check_mk/checks/plesk_domains
+./usr/share/check_mk/checks/mrpe
+./usr/share/check_mk/checks/hp_proliant_temp
+./usr/share/check_mk/checks/statgrab_mem
+./usr/share/check_mk/checks/blade_bx_temp
+./usr/share/check_mk/checks/check_tcp
+./usr/share/check_mk/checks/ironport_misc
+./usr/share/check_mk/checks/fjdarye100_disks
+./usr/share/check_mk/checks/fjdarye60_psus
+./usr/share/check_mk/checks/fsc_subsystems
+./usr/share/check_mk/checks/logwatch
+./usr/share/check_mk/checks/fjdarye60_thmls
+./usr/share/check_mk/checks/sni_octopuse_status
+./usr/share/check_mk/checks/hpux_serviceguard
+./usr/share/check_mk/checks/check_http
+./usr/share/check_mk/checks/cisco_temp_sensor
+./usr/share/check_mk/checks/decru_temps
+./usr/share/check_mk/checks/dmraid
+./usr/share/check_mk/checks/mssql_counters
+./usr/share/check_mk/checks/j4p_performance
+./usr/share/check_mk/checks/windows_updates
+./usr/share/check_mk/checks/plesk_backups
+./usr/share/check_mk/checks/fjdarye100_cadaps
+./usr/share/check_mk/checks/tsm_stagingpools
+./usr/share/check_mk/checks/netapp_cpu
+./usr/share/check_mk/checks/winperf
+./usr/share/check_mk/checks/cisco_temp
+./usr/share/check_mk/checks/aironet_clients
+./usr/share/check_mk/checks/sni_octopuse_trunks
+./usr/share/check_mk/checks/akcp_sensor_humidity
+./usr/share/check_mk/checks/cups_queues
+./usr/share/check_mk/checks/fjdarye100_rluns
+./usr/share/check_mk/checks/fjdarye100_sum
+./usr/share/check_mk/checks/megaraid_ldisks
+./usr/share/check_mk/checks/statgrab_net
+./usr/share/check_mk/checks/apache_status
+./usr/share/check_mk/checks/cbl_airlaser
+./usr/share/check_mk/checks/if.include
+./usr/share/check_mk/checks/wut_webio_io
+./usr/share/check_mk/checks/bluecoat_sensors
+./usr/share/check_mk/checks/decru_power
+./usr/share/check_mk/checks/omd_status
+./usr/share/check_mk/checks/hr_cpu
+./usr/share/check_mk/checks/snmp_uptime
+./usr/share/check_mk/checks/fjdarye100_syscaps
+./usr/share/check_mk/checks/fjdarye100_cmods
+./usr/share/check_mk/checks/netif
+./usr/share/check_mk/checks/hp_proliant_fans
+./usr/share/check_mk/checks/mbg_lantime_state
+./usr/share/check_mk/checks/3ware_disks
+./usr/share/check_mk/checks/vbox_guest
+./usr/share/check_mk/checks/blade_bx_load
+./usr/share/check_mk/checks/oracle_asm_diskgroup
+./usr/share/check_mk/checks/cisco_hsrp
+./usr/share/check_mk/checks/steelhead_connections
+./usr/share/check_mk/checks/3ware_info
+./usr/share/check_mk/checks/fjdarye60_rluns
+./usr/share/check_mk/checks/megaraid_pdisks
+./usr/share/check_mk/checks/vxvm_objstatus
+./usr/share/check_mk/checks/hp_blade_fan
+./usr/share/check_mk/checks/ipmi_sensors
+./usr/share/check_mk/checks/netapp_vfiler
+./usr/share/check_mk/checks/if
+./usr/share/check_mk/checks/ups_eaton_enviroment
+./usr/share/check_mk/checks/hp_proliant_da_phydrv
+./usr/share/check_mk/checks/cmctc_lcp
+./usr/share/check_mk/checks/fjdarye60_conencs
+./usr/share/check_mk/checks/nfsexports
+./usr/share/check_mk/checks/netapp_cluster
+./usr/share/check_mk/checks/hwg_temp
+./usr/share/check_mk/checks/aironet_errors
+./usr/share/check_mk/checks/df_netapp.include
+./usr/share/check_mk/checks/statgrab_disk
+./usr/share/check_mk/checks/mem.include
+./usr/share/check_mk/checks/fjdarye60_disks
+./usr/share/check_mk/checks/f5_bigip_fans
+./usr/share/check_mk/checks/printer_supply
+./usr/share/check_mk/checks/cisco_locif
+./usr/share/check_mk/checks/lgp_pdu_aux
+./usr/share/check_mk/checks/wut_webtherm
+./usr/share/check_mk/checks/netapp_volumes
+./usr/share/check_mk/checks/ups_out_load
+./usr/share/check_mk/checks/hpux_multipath
+./usr/share/check_mk/checks/fsc_ipmi_mem_status
+./usr/share/check_mk/checks/ibm_imm_health
+./usr/share/check_mk/checks/cisco_power
+./usr/share/check_mk/checks/heartbeat_nodes
+./usr/share/check_mk/checks/fortigate_cpu
+./usr/share/check_mk/checks/raritan_emx
+./usr/share/check_mk/checks/check_dns
+./usr/share/check_mk/checks/fjdarye60_cmods_flash
+./usr/share/check_mk/checks/hr_mem
+./usr/share/check_mk/checks/cisco_qos
+./usr/share/check_mk/checks/fjdarye60_cmods_mem
+./usr/share/check_mk/checks/check_ldap
+./usr/share/check_mk/checks/wmic_process
+./usr/share/check_mk/checks/mssql_versions
+./usr/share/check_mk/checks/snia_sml
+./usr/share/check_mk/checks/local
+./usr/share/check_mk/checks/fsc_temp
+./usr/share/check_mk/checks/hp_procurve_cpu
+./usr/share/check_mk/checks/mcdata_fcport
+./usr/share/check_mk/checks/ibm_rsa_health
+./usr/share/check_mk/checks/decru_cpu
+./usr/share/check_mk/checks/mysql_capacity
+./usr/share/check_mk/checks/oracle_sessions
+./usr/share/check_mk/checks/printer_supply_ricoh
+./usr/share/check_mk/checks/ntp
+./usr/share/check_mk/checks/apc_symmetra
+./usr/share/check_mk/checks/printer_pages
+./usr/share/check_mk/checks/bluecoat_diskcpu
+./usr/share/check_mk/checks/hp_blade_blades
+./usr/share/check_mk/checks/aix_multipath
+./usr/share/check_mk/checks/dell_powerconnect_cpu
+./usr/share/check_mk/checks/solaris_multipath
+./usr/share/check_mk/checks/vms_queuejobs
+./usr/share/check_mk/checks/f5_bigip_pool
+./usr/share/check_mk/checks/lsi
+./usr/share/check_mk/checks/hp_proliant_mem
+./usr/share/check_mk/checks/vms_sys
+./usr/share/check_mk/checks/superstack3_sensors
+./usr/share/check_mk/checks/vms_cpu
+./usr/share/check_mk/checks/dell_powerconnect_temp
+./usr/share/check_mk/checks/lgp_info
+./usr/share/check_mk/checks/hr_fs
+./usr/share/check_mk/checks/blade_bx_powerfan
+./usr/share/check_mk/checks/blade_mediatray
+./usr/share/check_mk/checks/printer_alerts
+./usr/share/check_mk/checks/f5_bigip_cluster
+./usr/share/check_mk/checks/mbg_lantime_refclock
+./usr/share/check_mk/checks/sym_brightmail_queues
+./usr/share/check_mk/checks/fjdarye60_cadaps
+./usr/share/check_mk/checks/hp_sts_drvbox
+./usr/share/check_mk/checks/ups_power
+./usr/share/check_mk/checks/ups_bat_temp
+./usr/share/check_mk/checks/mssql_backup
+./usr/share/check_mk/checks/apc_powerswitch
+./usr/share/check_mk/checks/hp_blade_manager
+./usr/share/check_mk/checks/systemtime
+./usr/share/check_mk/checks/mounts
+./usr/share/check_mk/checks/vms_if
+./usr/share/check_mk/checks/hp_procurve_mem
+./usr/share/check_mk/checks/jolokia_info
+./usr/share/check_mk/checks/h3c_lanswitch_cpu
+./usr/share/check_mk/checks/blade_powermod
+./usr/share/check_mk/checks/fortigate_memory
+./usr/share/check_mk/checks/if64
+./usr/share/check_mk/checks/vmstat_aix
+./usr/share/check_mk/checks/vxvm_multipath
+./usr/share/check_mk/checks/fjdarye60_expanders
+./usr/share/check_mk/checks/f5_bigip_interfaces
+./usr/share/check_mk/checks/aix_lvm
+./usr/share/check_mk/checks/mysql
+./usr/share/check_mk/checks/apc_symmetra_temp
+./usr/share/check_mk/checks/fjdarye60_inletthmls
+./usr/share/check_mk/checks/df_netapp32
+./usr/share/check_mk/checks/jolokia_metrics
+./usr/share/check_mk/checks/vms_users
+./usr/share/check_mk/checks/smart
+./usr/share/check_mk/checks/services
+./usr/share/check_mk/checks/hpux_snmp_cs
+./usr/share/check_mk/checks/snmp_info
+./usr/share/check_mk/checks/mem
+./usr/share/check_mk/checks/md
+./usr/share/check_mk/checks/zypper
+./usr/share/check_mk/checks/tsm_drives
+./usr/share/check_mk/checks/dmi_sysinfo
+./usr/share/check_mk/checks/ipmi
+./usr/share/check_mk/checks/hp_blade
+./usr/share/check_mk/checks/df_netapp
+./usr/share/check_mk/checks/bintec_info
+./usr/share/check_mk/checks/ifoperstatus
+./usr/share/check_mk/checks/blade_bx_powermod
+./usr/share/check_mk/checks/blade_misc
+./usr/share/check_mk/checks/fsc_fans
+./usr/share/check_mk/checks/mssql_tablespaces
+./usr/share/check_mk/checks/vms_md
+./usr/share/check_mk/checks/brocade_fcport
+./usr/share/check_mk/checks/hpux_lunstats
+./usr/share/check_mk/checks/blade_blowers
+./usr/share/check_mk/checks/df
+./usr/share/check_mk/checks/sni_octopuse_cpu
+./usr/share/check_mk/checks/dell_powerconnect_psu
+./usr/share/check_mk/checks/smbios_sel
+./usr/share/check_mk/checks/zpool_status
+./usr/share/check_mk/checks/akcp_sensor_temp
+./usr/share/check_mk/checks/pdu_gude.include
+./usr/share/check_mk/checks/winperf_phydisk
+./usr/share/check_mk/checks/blade_blades
+./usr/share/check_mk/checks/cpsecure_sessions
+./usr/share/check_mk/checks/bonding.include
+./usr/share/check_mk/checks/canon_pages
+./usr/share/check_mk/checks/cisco_asa_failover
+./usr/share/check_mk/checks/oracle_logswitches
+./usr/share/check_mk/checks/cpu
+./usr/share/check_mk/checks/check_mk
+./usr/share/check_mk/checks/diskstat
+./usr/share/check_mk/checks/db2_mem
+./usr/share/check_mk/checks/cmctc
+./usr/share/check_mk/checks/lnx_if
+./usr/share/check_mk/checks/apc_symmetra_ext_temp
+./usr/share/check_mk/checks/ucd_cpu_load
+./usr/share/check_mk/checks/vms_system
+./usr/share/check_mk/checks/oracle_version
+./usr/share/check_mk/checks/netctr
+./usr/share/check_mk/checks/lgp_pdu_info
+./usr/share/check_mk/checks/f5_bigip_psu
+./usr/share/check_mk/checks/drbd
+./usr/share/check_mk/checks/vmware_state
+./usr/share/check_mk/checks/winperf_msx_queues
+./usr/share/check_mk/checks/ad_replication
+./usr/share/check_mk/checks/blade_powerfan
+./usr/share/check_mk/checks/if_lancom
+./usr/share/check_mk/checks/cmctc_psm_m
+./usr/share/check_mk/checks/kernel
+./usr/share/check_mk/checks/steelhead_status
+./usr/share/check_mk/checks/heartbeat_rscstatus
+./usr/share/check_mk/checks/postfix_mailq
+./usr/share/check_mk/checks/cisco_fan
+./usr/share/check_mk/checks/tsm_stgpool
+./usr/share/check_mk/web/plugins/views/filters.py
+./usr/share/check_mk/web/plugins/views/wato.py
+./usr/share/check_mk/web/plugins/views/webservice.py
+./usr/share/check_mk/web/plugins/views/perfometer.py
+./usr/share/check_mk/web/plugins/views/layouts.py
+./usr/share/check_mk/web/plugins/views/mobile.py
+./usr/share/check_mk/web/plugins/views/painters.py
+./usr/share/check_mk/web/plugins/views/commands.py
+./usr/share/check_mk/web/plugins/views/datasources.py
+./usr/share/check_mk/web/plugins/views/builtin.py
+./usr/share/check_mk/web/plugins/views/bi.py
+./usr/share/check_mk/web/plugins/views/sorters.py
+./usr/share/check_mk/web/plugins/views/dashboard.py
+./usr/share/check_mk/web/plugins/wato/auth.py
+./usr/share/check_mk/web/plugins/wato/userdb.py
+./usr/share/check_mk/web/plugins/wato/builtin_modules.py
+./usr/share/check_mk/web/plugins/wato/globals_notification.py
+./usr/share/check_mk/web/plugins/wato/active_checks.py
+./usr/share/check_mk/web/plugins/wato/check_mk_configuration.py
+./usr/share/check_mk/web/plugins/wato/builtin_attributes.py
+./usr/share/check_mk/web/plugins/wato/user_attributes.py
+./usr/share/check_mk/web/plugins/wato/nagvis_auth.py
+./usr/share/check_mk/web/plugins/wato/check_parameters.py
+./usr/share/check_mk/web/plugins/icons/wato.py
+./usr/share/check_mk/web/plugins/icons/builtin.py
+./usr/share/check_mk/web/plugins/userdb/htpasswd.py
+./usr/share/check_mk/web/plugins/userdb/ldap.py
+./usr/share/check_mk/web/plugins/userdb/hook_auth.py
+./usr/share/check_mk/web/plugins/sidebar/wato.py
+./usr/share/check_mk/web/plugins/sidebar/nagvis_maps.py
+./usr/share/check_mk/web/plugins/sidebar/shipped.py
+./usr/share/check_mk/web/plugins/sidebar/search.py
+./usr/share/check_mk/web/plugins/sidebar/bi.py
+./usr/share/check_mk/web/plugins/dashboard/builtin.py
+./usr/share/check_mk/web/plugins/perfometer/active_checks.py
+./usr/share/check_mk/web/plugins/perfometer/check_mk.py
+./usr/share/check_mk/web/plugins/pages/wato.py
+./usr/share/check_mk/web/plugins/pages/shipped.py
+./usr/share/check_mk/web/plugins/pages/mobile.py
+./usr/share/check_mk/web/plugins/pages/bi.py
+./usr/share/check_mk/web/htdocs/valuespec.py
+./usr/share/check_mk/web/htdocs/forms.py
+./usr/share/check_mk/web/htdocs/actions.py
+./usr/share/check_mk/web/htdocs/wato.py
+./usr/share/check_mk/web/htdocs/userdb.py
+./usr/share/check_mk/web/htdocs/hooks.py
+./usr/share/check_mk/web/htdocs/config.py
+./usr/share/check_mk/web/htdocs/pagefunctions.py
+./usr/share/check_mk/web/htdocs/logwatch.py
+./usr/share/check_mk/web/htdocs/login.py
+./usr/share/check_mk/web/htdocs/livestatus.py
+./usr/share/check_mk/web/htdocs/md5crypt.py
+./usr/share/check_mk/web/htdocs/table.py
+./usr/share/check_mk/web/htdocs/mobile.py
+./usr/share/check_mk/web/htdocs/sidebar.py
+./usr/share/check_mk/web/htdocs/views.py
+./usr/share/check_mk/web/htdocs/weblib.py
+./usr/share/check_mk/web/htdocs/default_permissions.py
+./usr/share/check_mk/web/htdocs/index.py
+./usr/share/check_mk/web/htdocs/help.py
+./usr/share/check_mk/web/htdocs/bi.py
+./usr/share/check_mk/web/htdocs/htmllib.py
+./usr/share/check_mk/web/htdocs/lib.py
+./usr/share/check_mk/web/htdocs/dashboard.py
+./usr/share/check_mk/web/htdocs/main.py
+./usr/share/check_mk/web/htdocs/multitar.py
+./usr/share/check_mk/modules/notify.py
+./usr/share/check_mk/modules/check_mk_base.py
+./usr/share/check_mk/modules/automation.py
+./usr/share/check_mk/modules/localize.py
+./usr/share/check_mk/modules/agent_simulator.py
+./usr/share/check_mk/modules/check_mk.py
+./usr/share/check_mk/modules/packaging.py
+./usr/share/check_mk/modules/snmp.py
+./usr/share/check_mk/agents/plugins/mailman_lists
+./usr/share/check_mk/agents/plugins/mk_logwatch
+./usr/share/check_mk/agents/plugins/plesk_domains
+./usr/share/check_mk/agents/plugins/j4p_performance
+./usr/share/check_mk/agents/plugins/plesk_backups
+./usr/share/check_mk/agents/plugins/apache_status
+./usr/share/check_mk/agents/plugins/mk_jolokia
+./usr/share/check_mk/notifications/sms
+./usr/share/check_mk/notifications/mail
+./usr/share/doc/check_mk/treasures/get_rrd_cache_stats
diff --git a/index.py.patch b/index.py.patch
new file mode 100644
index 00000000000..14662d4642e
--- /dev/null
+++ b/index.py.patch
@@ -0,0 +1,11 @@
+--- index.py.orig 2013-07-30 22:38:28.176512814 +0200
++++ index.py 2013-07-30 22:38:38.383271418 +0200
+@@ -234,7 +234,7 @@
+ apache._profiling_req = req
+ profilefile = defaults.var_dir + "/web/multisite.profile"
+ retcode = cProfile.run("import index; from mod_python import apache; index.handler(apache._profiling_req, False)", profilefile)
+- file(profilefile + ".py", "w").write("#!/usr/bin/python\nimport pstats\nstats = pstats.Stats(%r)\nstats.sort_stats('time').print_stats()\n" % profilefile)
++ file(profilefile + ".py", "w").write("#!/usr/bin/python2\nimport pstats\nstats = pstats.Stats(%r)\nstats.sort_stats('time').print_stats()\n" % profilefile)
+ os.chmod(profilefile + ".py", 0755)
+ release_all_locks()
+ return apache.OK
diff --git a/mkp.patch b/mkp.patch
new file mode 100644
index 00000000000..caba42b2f76
--- /dev/null
+++ b/mkp.patch
@@ -0,0 +1,6 @@
+--- mkp.orig 2013-07-30 22:39:58.703994904 +0200
++++ mkp 2013-07-30 22:40:09.600759723 +0200
+@@ -1,2 +1,2 @@
+ #!/bin/sh
+-exec python /usr/share/check_mk/modules/check_mk.py -P "$@"
++exec python2 /usr/share/check_mk/modules/check_mk.py -P "$@"