Commit Graph

251 Commits

Author SHA1 Message Date
Gunnar Beutner 16b044bda4 Add build dependency for yajl in the spec file
fixes #7463
2014-11-26 16:40:05 +01:00
Tim Hardeck ee89f54679 Remove icinga-prepare-dirs from icinga-bin package
`icinga-prepare-dirs` was part of the package common and bin. Since it
was added with 2.2.0 to common with a man page I would expect this to be
the right place so I removed it from bin.

fixes #7740

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2014-11-20 21:03:56 +01:00
Gunnar Beutner c0639c5bca Release version 2.2.0 2014-11-17 10:52:21 +01:00
Gunnar Beutner fb4f919aee Build fix for RHEL 5 2014-11-17 10:23:11 +01:00
Gunnar Beutner db1cd8dc38 Fix CFLAGS/CXXFLAGS in the RPM spec file
fixes #7678
2014-11-14 10:30:14 +01:00
Gunnar Beutner 287bde6689 Turn on verbose builds for the RPM 2014-11-14 06:37:30 +01:00
Gunnar Beutner 5e1099394a Remove the migrate-hosts script
fixes #7398
2014-11-13 11:15:55 +01:00
Gunnar Beutner 187d443447 Implement support for thin mutexes
refs #7622
2014-11-09 16:54:33 +01:00
Michael Friedrich 3f91e5358c Revamp sample configuration: add NodeName host, move services into apply rules schema
fixes #7594
2014-11-07 04:13:45 +01:00
Michael Friedrich 11058664bc Fix enabling features in RPMs
fixes #7510
2014-10-30 14:41:06 +01:00
Gunnar Beutner 319b9b256a Move the config files to icinga2-common
refs #7471
2014-10-29 13:03:28 +01:00
Gunnar Beutner a86ceb6045 Fix build on RHEL 6.6
fixes #7485
2014-10-29 12:29:11 +01:00
Gunnar Beutner f477115398 Move migrate-hosts into the icinga2-common RPM package
fixes #7471
2014-10-28 14:24:36 +01:00
Gunnar Beutner 876099fa0a Migrate config files from conf.d/hosts to repository.d/hosts
fixes #7398
2014-10-28 13:16:48 +01:00
Michael Friedrich fec8e92221 Cli: Make sure to create & include 'repository.d'
refs #7255
2014-10-27 19:19:45 +01:00
Gunnar Beutner 35a1930629 Create repository.d directory 2014-10-24 14:24:59 +02:00
Gunnar Beutner 41266aab2f Remove obsolete scripts
refs #7248
2014-10-24 12:19:36 +02:00
Gunnar Beutner 6e17eadf8f Remove {DAEMON,ICINGA2}_USER and {DAEMON,ICINGA2}_GROUP variables
refs #7370
2014-10-20 21:41:04 +02:00
Gunnar Beutner 5abc3cfe55 Remove icinga2-build-ca, icinga2-build-key and icinga2-sign-key
refs #7244
2014-10-16 13:29:18 +02:00
Gunnar Beutner 425dbba35b Remove icinga2-list-objects
refs #7251
2014-10-15 15:06:52 +02:00
Michael Friedrich 445376833c spec: add missing init.conf 2014-10-14 20:45:53 +02:00
Michael Friedrich 648f47f931 Fix package builds after removal of icinga2-{en,dis}able-feature scripts
refs #7250
2014-10-14 20:25:53 +02:00
Gunnar Beutner d7d6d6096f Remove icinga2-enable-feature and icinga2-disable-feature
refs #7250
2014-10-14 18:35:52 +02:00
Gunnar Beutner a4081f1445 Implement support for CLI commands
fixes #7246
2014-10-08 15:33:10 +02:00
Gunnar Beutner 24f17c0fc6 Add the agent scripts to cmake
refs #7243
2014-09-17 11:29:58 +02:00
Gunnar Beutner b5faacc1d0 Release version 2.1.1 2014-09-16 12:29:22 +02:00
Tim Hardeck e00e56ecfe Increase python-icinga2 description
fixes #7030
2014-09-02 13:58:09 +02:00
Gunnar Beutner 43dd0fe942 Enable unity build for RPM/Debian packages
fixes #7041
2014-08-31 11:02:45 +02:00
Gunnar Beutner 1c92712146 Fix rpmlint errors
fixes #7038
2014-08-31 10:30:44 +02:00
Gunnar Beutner 6e40ce3d91 Release version 2.1.0 2014-08-29 12:44:01 +02:00
Gunnar Beutner 2dee79fc4b Fix Requires in the spec file
fixes #7016
2014-08-27 13:50:09 +02:00
Michael Friedrich 4b3afd52d4 Revert "Enforce /usr/lib as base for the cgi path on SUSE distributions"
This reverts commit 96e23aa1c7.

fixes #6917
2014-08-22 15:41:44 +02:00
Gunnar Beutner 495bc5b733 Use the icingacmd group for /var/{cache,log,run}/icinga2
refs #6948
2014-08-19 14:05:02 +02:00
Gunnar Beutner 4f4ebbea92 Fix permissions in the spec file
fixes #6948
2014-08-19 10:18:23 +02:00
Gunnar Beutner 3da5568eb3 Install DB schema files using cmake
fixes #6881
2014-08-17 13:37:50 +02:00
Tim Hardeck 3d2d86d463 Add "Provides: monitoring_daemeon" on SUSE distributions
to allow Icinga2 being a replacement for compatible monitoring daemons
like Icinga 1 or Nagios.

This should make the installation of Icinga2 more user friendly on SUSE
distributions.

refs #6920
2014-08-17 12:47:49 +02:00
Tim Hardeck 9ff424233f Recommend related packages on SUSE distributions
These packages are installed by default but they are not required so
there is no error if they are missing.

This should make the installation of Icinga2 more user friendly on SUSE
distributions.

refs #6920
2014-08-17 12:47:49 +02:00
Tim Hardeck 96e23aa1c7 Enforce /usr/lib as base for the cgi path on SUSE distributions
The cgi path on SUSE distributions is always located under
/usr/lib/icinga/cgi, even on x86_64 systems.
So the path in the icinga-classic-apache.conf needs to be adapted on
those distributions.

fixes #6917
2014-08-17 12:32:22 +02:00
Tim Hardeck 6d968769aa Use _rundir macro for configuring the run directory
To allow using "/run" instead of "/var/run" the macro _rundir is used.
"/run" is required on newer distributions like openSUSE Factory.

On systems were _rundir is not defined "/var/run" is specified as the
default.

fixes #6915
2014-08-17 12:28:44 +02:00
Tim Hardeck aef85d66be Remove commented out lines from spec file
These lines result in warnings because the macros are not escaped in them.

refs #6919
2014-08-17 11:38:52 +02:00
Tim Hardeck 9726687539 Unify SUSE distribution checks in spec file
refs #6919
2014-08-17 11:38:48 +02:00
Gunnar Beutner 3cbebd985a Add Python module for the icinga2.debug file
refs #6702
2014-08-16 20:22:43 +02:00
Michael Friedrich 10b681f4ea Release version 2.0.2 2014-08-07 08:59:05 +02:00
Michael Friedrich d2ddde3fec Rename README to README.md
fixes #6688
2014-08-05 21:27:21 +02:00
Gunnar Beutner 7547e171a4 Remove RPM Requires for mysql
refs #5818
2014-07-30 15:26:41 +02:00
Gunnar Beutner 2f594f7674 Remove redundant RPM Requires
refs #5818
2014-07-30 14:17:22 +02:00
Tim Hardeck 8bbbab57ab Use Github url as tarball source
This allows the automatic download of new versions.

refs #5818
2014-07-30 13:42:07 +02:00
Tim Hardeck 98aaff4e01 Prevent empty icinga2 package by adding COPYING
Empty packages are not allowed on SLES11 and also produce a warning in
newer openSUSE releases.

So we just work around the issue by adding the COPYING file.

refs #5818
2014-07-30 13:42:07 +02:00
Tim Hardeck 074521b69c Use permission verfication scripts on SUSE distributions
refs #5818
2014-07-30 13:42:07 +02:00
Tim Hardeck c8db76ad6e Use root as default user and group to prevent issues
refs #5818
2014-07-30 13:42:07 +02:00
Tim Hardeck f57884ee2a Remove obsolete pgsqllib require on SUSE distributions
refs #5818
2014-07-30 13:42:07 +02:00
Tim Hardeck 1618e15757 Remove redundant mysql requirement
The mysql dependencies are recognized automatically during building.

refs #5818
2014-07-30 13:42:07 +02:00
Tim Hardeck e7d3500ca7 Reduce redunancies in spec file
Remove redundant differences between SUSE and RHEL distributions.

refs #5818
2014-07-30 13:42:06 +02:00
Tim Hardeck 1fcf746108 Activate systemd on SUSE distributions
refs #5818
2014-07-30 13:42:01 +02:00
Tim Hardeck 5a98379eb8 Remove .gitignore files from package
This commit can be reversed as soon as there are upgrade files in the
schema upgrade directories.

refs #5818
2014-07-30 13:02:10 +02:00
Tim Hardeck 0d72f54018 Description should be longer than the summary
This fixes a rpmlint warning.

refs #5818
2014-07-30 13:02:10 +02:00
Tim Hardeck 24363e441c Recommend logrotate in icinga2-common
Since we install a logrotate configuration file it does make sense to
at least recommend the installation of logrotate.
This addition is restricted to SUSE distributions since "Recommends"
is not supported elsewhere.

refs #5818
2014-07-30 13:02:10 +02:00
Tim Hardeck a090eb0ba3 Add log directory to icinga2-common
RPMLint complains if logrotate is used without including the log directory in the package.

refs #5818
2014-07-30 13:02:10 +02:00
Tim Hardeck c3a9251407 Logrotate.conf doesn't need execution rights
refs #5818
2014-07-30 13:02:10 +02:00
Tim Hardeck 0e4e237d28 Use modern GPL license tag
refs #5818
2014-07-30 13:02:10 +02:00
Gunnar Beutner 20c16a8e93 Rename ICINGA2_PLUGIN_PATH to ICINGA2_PLUGINDIR
refs #6548
2014-07-22 13:26:42 +02:00
Gunnar Beutner e6dc8c21a1 Add cmake constant for PluginDir
fixes #6548
2014-07-16 09:03:51 +02:00
Gunnar Beutner b80c3b2df4 Release version 2.0.1 2014-07-10 12:08:28 +02:00
Michael Friedrich 30384a4340 Release version 2.0.0.
refs #6305
2014-06-16 09:02:43 +02:00
Michael Friedrich 3d8d8dce52 install new man page properly
refs #4794
2014-06-15 20:23:03 +02:00
Gerd von Egidy 5b8b85d94f Don't mark the systemd service file as executable.
Refs #4794
2014-06-15 20:08:05 +02:00
Gerd von Egidy dd9b7bcd73 Move the sysdefines.conf file to /etc/sysconfig.
As /etc/sysconfig is distro specific, the filename used can be configured via the CMake parameter
ICINGA2_SYSCONFIGFILE

Refs #4794
2014-06-15 19:47:27 +02:00
Gerd von Egidy 83528f660f Move decision about systemd/sysvinit to one location. Add files forgotten during merge.
Refs #4794
2014-06-15 17:25:27 +02:00
Sam Kottler 3d8bac59fe Add missing endif 2014-06-15 17:01:57 +02:00
Sam Kottler 5f17507cd6 Start with sysvinit installation logic 2014-06-15 17:01:24 +02:00
Sam Kottler 6a52097255 Generate the service unit on Fedora and use the %systemd_post/_postun/_preun macros for service setup
Refs #4794
2014-06-15 16:56:22 +02:00
Sam Kottler 86a71aa0b3 Add systemd buildrequires and requires 2014-06-15 15:30:35 +02:00
Michael Friedrich 465697245a Add man pages to packages
refs #6482
2014-06-13 21:38:59 +02:00
Michael Friedrich a838dad659 RPMs: Do not install the agent parts
refs #6481
2014-06-13 19:55:59 +02:00
Tim Hardeck 74751a4e22 Fix logrotate should rotate log files as icinga user
fixes #6477
2014-06-13 09:47:26 +02:00
Michael Friedrich 64bdc7602a Spec file fixes for opensuse, preun macro, conditionals.
Fixes #6446
2014-06-11 15:52:41 +02:00
Michael Friedrich aed88c632c spec: Fix rhel/suse conditiations with {pre,post}un.
Refs #6446
Refs #6374
2014-06-10 13:46:45 +02:00
Michael Friedrich addad4ae9c Bump version to 2.0.0-2.beta2.dev. 2014-06-06 11:14:38 +02:00
Michael Friedrich b35a430f89 Release version 2.0.0-beta2 2014-06-06 10:53:43 +02:00
Carlos Cesario 1b45b814eb Add icinga2 vim syntax file and installation documentation.
Fixes #3199

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2014-06-02 16:29:27 +02:00
Gunnar Beutner bf44c45aaa Bump version to 2.0.0-1.beta2.dev. 2014-05-27 12:11:52 +02:00
Gunnar Beutner 59a0ff00a7 Use icinga2-enable-feature's multi-argument functionality in the Debian/RPM packages.
Refs #6315
2014-05-27 07:27:12 +02:00
Michael Friedrich ec7d9b0f3d Move zone specific configuration to zones.conf included in icinga2.conf.
Fixes #6208
2014-05-22 21:00:42 +02:00
Michael Friedrich 6a7f4f8d03 Fix revision in version string.
Fixes #6231
2014-05-21 10:33:14 +02:00
Gunnar Beutner 006ab285bc Build fix for Fedora.
Fixes #6250
2014-05-21 09:39:23 +02:00
Gunnar Beutner ae94ae8599 Remove build dependency for postgresql84.
Fixes #5847
2014-05-20 14:39:23 +02:00
Gunnar Beutner f36df69ba2 Remove Doxygen.
Fixes #5006
2014-05-19 13:54:02 +02:00
Michael Friedrich 1f32630b42 Bump version for next release target.
Refs #6231
2014-05-19 10:59:09 +02:00
Gunnar Beutner 6e7d167ddb Release 0.0.11. 2014-05-16 11:36:53 +02:00
Gunnar Beutner c089b7950d Update spec file (again).
Refs #6191
2014-05-13 14:18:00 +02:00
Gunnar Beutner 6e1469c3b4 Update the spec file.
Refs #6191
2014-05-13 13:49:00 +02:00
Michael Friedrich d06d4f2540 Include monitoring plugin commands seperately.
Fixes #6130
2014-05-10 19:02:51 +02:00
Markus Frosch 19b7f79bbb Migation: Remove migration script from RPM spec.
Refs #5821
2014-05-06 12:35:34 +02:00
Gerd von Egidy daad30daa9 Don't distribute COPYING, README,... twice in the icinga2-doc package.
Refs #6100
2014-05-01 16:38:25 +02:00
Gerd von Egidy ed7cb7eb72 Don't require pandoc and sphinx during build because a working pandoc is currently only available on Fedora x86.
Refs #6100
2014-05-01 14:30:25 +02:00
Gunnar Beutner 51b522e2d3 Update spec file. 2014-04-29 15:23:51 +02:00
Gunnar Beutner 9a1410e241 Add missing files in the spec file.
Refs #6002
2014-04-13 18:54:17 +02:00
Gunnar Beutner ca4fe71d69 Implement support for auto-discovering services for passive agents.
Fixes #6002
2014-04-13 09:22:27 +02:00
Gunnar Beutner 42a7590580 Fix the spec file.
Refs #4865
2014-04-12 22:47:36 +02:00
Gunnar Beutner a57e3041a5 Add auto-discovery script for the agent.
Refs #4865
2014-04-12 19:34:01 +02:00
Gunnar Beutner 33f64c28ab Fix the spec file.
Refs #4865
2014-04-12 12:08:22 +02:00
Gunnar Beutner 4162f9066a Update BuildRequires.
Refs #5774
2014-04-08 10:48:42 +02:00
Michael Friedrich 5c3586b400 spec: Fix missing file. 2014-03-31 18:17:40 +02:00
Michael Friedrich 86dbe176df Release 0.0.9. 2014-03-31 17:59:36 +02:00
Gunnar Beutner fdd5fbc217 Update documentation.
Refs #5877
2014-03-31 13:27:39 +02:00
Michael Friedrich ce737ff2f3 Change copyright header (again).
Fixes #5424
2014-03-19 11:42:47 +01:00
Michael Friedrich 69c79fe566 Release 0.0.8. 2014-03-11 11:11:04 +01:00
Gunnar Beutner 4d0ddbd38e Fix RPM packages.
Fixes #5738
2014-03-11 09:02:02 +01:00
Gunnar Beutner f3d965f547 Add missing -bin package.
Refs #5631
2014-03-11 08:26:24 +01:00
Michael Friedrich 134c9da05b Rename icinga2 to icinga2-bin, icinga2 as meta package.
Fixes #5631
2014-03-10 16:49:01 +01:00
Gunnar Beutner d22995657c Update change log and bump version. 2014-02-06 10:07:00 +01:00
Michael Friedrich d78e5a9676 spec: Fix boost version requirement for OpenSUSE 13.1.
Fixes #5451
2014-01-14 18:30:57 +01:00
Michael Friedrich f5ab9d53b3 spec: Add logrotate file.
Refs #5448
2014-01-14 17:37:45 +01:00
Michael Friedrich 555d72150a Update copyright header.
Fixes #5424
2014-01-09 00:32:11 +01:00
Michael Friedrich 0045d029ab Release 0.0.6.
Fixes #5322
2013-12-19 10:50:53 +01:00
Michael Friedrich 7e03fbb2b4 Fix el5 build.
Fixes #5033
2013-12-18 15:16:00 +01:00
Michael Friedrich 99f2b0673e RPM: Don't re-enable disabled features on update, proper remove on uninstall.
Fixes #5267
2013-12-05 13:15:44 +01:00
Michael Friedrich 8a5fd83cd3 Update version to 0.0.5.
Refs #5254
2013-12-03 09:50:18 +01:00
Gunnar Beutner 7d8733c033 Fix some more RPM warnings.
Fixes #5231
2013-11-27 14:43:11 +01:00
Gunnar Beutner 3c29e4e907 Use a shell script for the mail-service-notification command.
Refs #5224
2013-11-27 09:48:00 +01:00
Gunnar Beutner 0e086118ca Fix file permissions for /var/*/icinga2 and /etc/icinga.
Fixes #5221
2013-11-26 14:21:40 +01:00
Gunnar Beutner 7910a8fa37 Fix RPM warnings.
Fixes #5193
2013-11-25 20:28:06 +01:00
Gunnar Beutner 27e9cd71e7 Create temporary files for PerfdataWriter in a separate directory.
Fixes #5105
2013-11-21 07:17:34 +01:00
Gunnar Beutner 36a4a30149 Fix MySQL package name for SLES 11.
Fixes #5095
2013-11-18 10:05:55 +01:00
Gunnar Beutner 64dc5e9d00 Change default directory for performance data to /var/spool/icinga2/perfdata.
Fixes #5089
2013-11-17 20:04:32 +01:00
Gunnar Beutner 93bfb6778d Fix plugin path for SLES.
Refs #5081
2013-11-16 22:58:50 +01:00
Michael Friedrich 7e0f27e20f Remove inconsistent Changelog from spec. 2013-11-13 10:41:12 +01:00
Gunnar Beutner 664edc41dc Bump version.
Refs #5051
2013-11-11 11:24:17 +01:00
Michael Friedrich 83d15c03a7 Fix SLES boost detection.
Fixes #5027
2013-11-08 12:12:45 +01:00
Michael Friedrich 0e9c527f5a Fix detection of sles/suse_version in spec file. 2013-11-06 17:26:14 +01:00
Michael Friedrich 74f9106243 Implement regex match attribute filters (~, ~~)
Requires the boost regex library.

Refs #5007

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2013-11-05 17:13:40 +01:00
Gunnar Beutner 54111b6293 Fix package dependencies for RHEL 5.
Refs #4999
2013-11-05 10:44:58 +01:00
Gunnar Beutner de6cac6e4a Create RPM package for ido-pgsql.
Fixes #4999
2013-11-05 10:37:36 +01:00
Gunnar Beutner f2307c4242 Add cmake build files.
Refs #4962
2013-11-03 13:45:26 +01:00
Gunnar Beutner ba52b916a1 Fix: Package version (in configure.ac) is wrong.
Fixes #4778
2013-09-30 13:28:57 +02:00
Gunnar Beutner 61b90a1a0e Update spec file. 2013-09-30 12:57:34 +02:00
Michael Friedrich 9fce077a64 Get rid of help2man.
fixes #4706
2013-09-26 18:01:48 +02:00
Pall Sigurdsson 6f513fd4f2 Update icinga2.spec
Added several "BuildRequires" that were needed to make the build process work.

Also added a "sh autogen.sh" to the %build section, otherwise there is no ./configure to execute.

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2013-08-28 18:24:12 +02:00
Michael Friedrich 6f61ed761b spec: Add TODO for el5 boost pkg. 2013-08-27 19:36:03 +02:00
Michael Friedrich 146a253278 spec: Fix missing files/directories. 2013-08-16 16:58:31 +02:00
Michael Friedrich e78e547200 spec: Install icinga2.conf by default.
fixes #4523
2013-08-16 16:34:24 +02:00
Michael Friedrich e6ee4c9191 spec: Fix buildrequires. 2013-08-16 16:17:14 +02:00
Michael Friedrich c39b931bba s/sbin/bin/ in docs, spec
refs #4539
2013-08-16 14:52:34 +02:00
Michael Friedrich 94b977ac24 icinga2.spec: show some love for proper builds
- icinga2 binary location changed to sbin/
- new initscript
- itl is installed into share/
- man pages in man/
- use name macro for every 'icinga2' occurence
- add a changelog

update to 0.0.2 release

fixes #4050
2013-05-04 17:53:00 +02:00
Gunnar Beutner 4fb54e56b9 Changed version number (again). 2012-10-16 10:27:29 +02:00
Gunnar Beutner cfa2281be7 Updated version number (2.0.0a1). 2012-10-15 14:57:50 +02:00
Gunnar Beutner 093931a1d3 Renamed icinga binary to icinga2 to avoid conflicts with Icinga 1.x 2012-09-17 09:48:34 +02:00
Gunnar Beutner 5c5db5b3a5 Added example config files and updated the build script so they get installed. 2012-09-14 11:35:30 +02:00
Gunnar Beutner 6f6cc52e20 Use spec file as the authorative source of the package info/version number. 2012-05-27 19:50:48 +02:00
Gunnar Beutner 979cbdd70c Updated RPM spec file. 2012-05-26 23:12:46 +02:00