Commit 8ae8e90f authored by Alexander Wirt's avatar Alexander Wirt

Imported Upstream version 1.7.0~beta1

parent cf78552f

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.
#######################
Icinga 1.6.x Change Log
Icinga 1.7.x Change Log
#######################
Thanks to all contributers, testers and developers. Please read AUTHORS and THANKS for a detailed list :-)
1.7.0 - 15/05/2012
!!! ATTENTION !!!
idomod.o was renamed to idomod.so, module extension is now .so
idomod.so will now be installed to $libdir instead of $bindir
!!! ATTENTION !!!
ENHANCEMENTS
* core: notifications: Create contact list after eventbroker callbacks (Andreas Ericsson) #2110 - MF
* core: fix event removal from queues with O(1) removal from doubly linked lists (Andreas Ericsson) #2183 - MF
* core: avoid senseless looping when free()'ing macros (Andreas Ericsson) #2184 - MF
* core: avoid insane looping through event list when rescheduling checks (Mathias Kettner, Andreas Ericsson) #2182 - MF
* core: allow empty host groups in service and host dependencies if allow_empty_hostgroup_assignment flag is set (Daniel Wittenberg) #2255 - MF
* core: fix compatibility problems on solaris 10 (affects core, cgis, ido) (Carl R. Friend) #2292 - MF/RB/TD
* core: add trigger_time to downtimes to allow calculating of flexible downtimes endtime #2537 - MF
* core: add nebmodule version/name check for idomod (this allows future version dependencies) #2569 - MF
* classic ui: Added option for max log entries displayed in showlog.cgi #2145 - RB
* classic ui: Added config option for status totals in status.cgi #2018 - RB
* classic ui: Added multiple hosts/services to status.cgi GET #1981 - RB
* classic ui: Added nostatusheader in status.cgi as config option #2018 - RB
* classic ui: Added statusmap resizing with exclude/include button (thanks to Mat) #2186 - RB
* classic ui: Added Select hosts or services by clicking on line instead of box #2118 - RB
* classic ui: include graph icons by default in logos #2222 - MF
* classic ui: added missing comment tool tip box to outages.cgi #2396 - RB
* classic ui: add javascript to refresh page/pause easier #2119 - RB
* classic ui: Added Scheduling queue filter for specific host or service #2421 - RB
* classic ui: add display_status_totals as cgi.cfg option in order to allow the status totals to be shown again #2443 - RB
* classic ui: Changed reading of auth information from cgiauth.c to cgiutils.c #2524 - RB
* classic ui: Added readonly cgi.cfg view into the config section #1776 - RB
* classic ui: add is_in_effect and trigger_time to downtime view for html, csv, json #2538 - MF
* classic ui: add modified attributes row to extinfo.cgi showing diffs to original config (thx Sven Nierlein for the idea) #2473 - MF
* classic ui: add modified attributes reset command to extinfo.cgi allowing to reset to original config #2474 - MF
* idoutils: add new index for state in table statehistory #2274 - TD
* idoutils: add is_in_effect and trigger_time to scheduleddowntime and downtimehistory tables #2539 - MF
* idoutils: change varchar(255) to TEXT in mysql (not cs and address rfc columns) #2181 - MF
* idoutils: enhance dbversion table with modified and created columns #2562 - MF
* idoutils: set module info in idomod, to be checked on neb module load in future versions #2569 - MF
* install: add configure option --with-temp-file=<filepath> to set temp_file for icinga.cfg #2121 - MF
* install: add --with-plugin-dir to configure for setting the plugins path accordingly #2344 - MF
* install: change default target location of idomod.so from $bindir to $libdir #2346 - MF
** packagers dreams come finally true! :)
* install: introduce "lib/" in default prefix install for modules #2347 - MF
* install: revamp the broker_module entry in icinga.cfg pointing to new module definition #2348 - MF
* install: change idomod extension from .o to .so, make .so the default extension for modules #2354 - MF
* install: add configure target --with-eventhandler-dir and "make install-eventhandlers" for contrib/eventhandlers #2352 - MF
* install: add --enable-cgi-log to configure to enable cgi logging during build #2364 - MF
* install: fix configure --ido-instance-name is incorrect, missing 'with' (thx Marco) #2407 - MF
* install: add --enable-nagiosenv to configure to expose custom variables with prefix NAGIOS_ instead of ICINGA_ for easier reuse of well known check scripts #2083 - TD
* install: add --with-http-auth-file to allow different file/loc of htpasswd.users #2533 - MF
* install: make the location of the ido.sock, ido2db.lock, icinga.chk, idomod.tmp configurable #1856 - MF
* install: use custom state dir instead of hardcoded localstatedir #2583 - MF
* config: introduce conf.d as place for own configs #2360 - MF
* tests: replace libtap with an actively developed version #1192 - MF
* tests: fix and rewrite perl tests in t/ #2369 - AW
* icinga.spec: use --with-plugin-dir instead of --libexexdir for nagios plugins dir #2344 - MF
* icinga.spec: make aware of the change of idomod.o location and changed extension (now .so) #2350 - MF
* icinga.spec: add "README LICENSE Changelog UPGRADING" to all packages as docs (thx Michael Gruener) #2212 - MF
* icinga.spec: put module/idoutils/db into docs instead of manually copying to /etc/icinga/idoutils (thx Michael Gruener) #2357 - MF
* icinga.spec: add README.RHEL README.RHEL.idoutils to upstream, being installed as docs (thx Michael Gruener, Stefan Marx) #2212 - MF
* icinga.spec: use eventhandler configure/make in package creation from #2352 #2363 - MF
* icinga.spec: use --enable-cgi-log from upstream instead of manual sed #2365 - MF
* icinga.spec: introduce conf.d as place for own configs #2367 - MF
* icinga.spec: introduce icinga-idoutils-libdbi-mysql|pgsql as seperate packages #2361 - MF
* icinga.spec: updates from rhel bug #1666 - MF
** move pid file to _localstatedir/run/icinga.pid
** install icinga.logrotate example
** move ext cmd file location to _localstatedir/spool/icinga/cmd/icinga.cmd
** set icinga user's home to _localstatedir/spool/icinga
** move checkresults to _localstatedir/spool/icinga/checkresults
** use --with-http-auth-file from #2533
** add default /etc/icinga/passwd with icingaadmin:icingaadmin default login
* icinga.spec: use ido2db.lock, ido.sock, idomod.tmp, icinga.chk configure params #1856 - MF
* icinga.spec: use --with-state-dir for spool dir #2583 - MF
FIXES
* core: Plug some macro leaks triggered when sending notifications (Andreas Ericsson) #2109 - MF
* core: mark services as executing only when we know we will actually run them (Andreas Ericsson) #2302 - MF
* core: fix handling of allow_empty_hostgroup_assignment when hitting NULL'edhost_name attribute, now properly finishing #949 - MF
* core: drop abbreviations in debug log and make them more telling #2138 - MF
* core: remove deprecated code for log_external_commands_user #1619 - MF
* core: fix scheduled_downtime_depth falsely incremented if in flexible downtime with duration < end-starttime window #2536 - MF
* core: log error reason when failing to create the status file (Ulf Lange) #2560 - MF
* core: deny to load idomod.o if detected in old config #2354 #2569 - MF
* classic ui: Fixed status totals are wrong when searching #1524 - RB
* classic ui: Fixed wrong URLs for status.cgi overview #2173 - RB
* classic ui: Fixed Host status sorting in status.cgi not working #2220 - RB
* classic ui: Fixed notifications.cgi - memory access error #2234 - RB
* classic ui: Done clean up document_header() and unused vars in cgi's #2252 - RB
* classic ui: Fixed status.cgi: host param not honoured with servicefilter #2262 - RB
* classic ui: fixed Tooltip from action_url interfering with pnp4nagios integration #2198 - RB
* classic ui: fixed json output for comments and downtimes in extinfo.cgi sometimes invalid #2343 - RB
* classic ui: fixed invalid json output for tac.cgi #2160 - RB
* classic ui: Fixed Invalid json data if field value is multiline #2263 - RB
* classic ui: fixed Commit commands with more then 500 multiple pairs of hosts and services #2373 - RB
* classic ui: fixed reset forms on return after submitting command #2117 - RB
* classic ui: Change Excel icon to odf spreadsheet icon #2391 - RB
* classic ui: fixed Availability Records Break if JavaScript is disabled #2412 - RB
* classic ui: fixed Truncated HTML table when displaying outages in outages.cgi #2323 - RB
* classic ui: fixed Log File Navigation in current/ealier/recent archive clarification #2441 - RB
* classic ui: fixed Extra leading space in status.cgi CSV output #2535 - RB
* classic ui: fixed Authentication in trends.cgi not working correctly #2209 - RB
* idoutils: fix ORA-00913 too many values when MERGE INTO eventhandlers #2319 - MF
* idoutils: change standard string escaping for postgresql queries to use the E'foo' notation #1974 - MF
* idoutils: fix several build problems in solaris: use supplied sprintf functions in preference over local one, build .so instead of .o shared librarys, use explicit -fPIC compiler switch #524,#1772,#2354 - TD
* idoutils: fix core dumps in solaris when using os supplied printf functions #2271,#1253,#2503,#2292 - TD
* idoutils: fix lob handling in Oracle #2303,#2342 - TD
* idoutils: fix sample shell db create script for mysql #2358 - TD
* idoutils: fix OCI-21500 when freeing lobs #2509 - TD
* idoutils: add note to "if process data is not dumped via idomod, ido2db won't clean tables and set objects inactive" #2237 - MF
* idoutils: fix pgsql unix_timestamp cannot handle timstamp with timezone #2203 - MF
* install: Fix notification template installation (Todd Zullinger) #2235 - MF
* install: uninstall old idomod.o #2570 - MF
CHANGES
* neb api: move creation of notification contact list AFTER event broker callback NEBTYPE_NOTIFICATION_START #2110
** allows neb modules to cancel/override notification list creation on notification start
* debug: set debug_verbosity=2 by default
* configure: --enable-libtap=yes by default for builtin 'make test-tap'
* install: --with-temp-file=<filepath> #2121
** sets path to an Icinga exclusive update temp file i.e. /tmp/icinga.tmp
* install: --with-plugin-dir=<path> #2344
** sets path to plugins directory path i.e. $prefix/libexec
* install: change default target location of idomod.so from $bindir to $libdir #2346
* install: change idomod extension from .o to .so, make .so the default extension for modules #2354
** make sure to UPDATE the location in your CONFIG !!!
* install: introduce "lib/" in default prefix install for modules #2347
* install: --with-eventhandler-dir=<path> #2352
** sets path to eventhandler directory path i.e. $prefix/libexec/eventhandlers
* install: make install-eventhandlers #2352
** install sample eventhandlers to defined location
* install: --enable-cgi-log #2364
** enables cgi logging (EXPERIMENTAL)
* install: --with-http-auth-file #2533
** sets location/name of htpasswd.users
* install: ido2db lockfile, ido.sock file, icinga.chk, idomod.tmp as configure params #1856
** --with-icinga-chkfile=<path>
** --with-ido2db-lockfile=<path>
** --with-ido-sockfile=<path>
** --with-idomod-tmpfile=<path>
* install: use custom state dir --with-state-dir #2583
* config: $sysconfdir/conf.d #2360
* install: --enable-libtap is now deprecated, new libtap does not require configure anymore #1192
* tests: you can now test with pleasure: $ make distclean ; ./configure ; make test #2369 #1192
* core: add trigger_time to downtimes #2537
** downtimes in status.dat/retention.dat now holding trigger_time
** nebstruct and event broker api now passing trigger_time and is_in_effect
* core: nebcallback for downtime start now happens *after* setting "in effect" attributes #2539
** needed to pass is_in_effect and trigger_time to neb modules
* core: new neb module load error: NEBMODULE_ERROR_IDO_VERSION #2569
* classic ui: Added option for max log entries displayed in showlog.cgi #2145
** added new config option "default_num_displayed_log_entries"
** added new input field to redefine amount of displayed log entries
** added "switch" to show/hide filters in showlog.cgi
* classic ui: status.cgi
** added new config option "display_status_totals"
** you can define more then one object to display
** host=hostA&host=hostB&host=...
** same with hostgroups and servicegroups
** nostatusheader is still available as URL param
** hostgroup=all now only shows hosts which are in a host groups
** host sorting is working now
** added 2 new cgi vars
** sortobject = determine if to sort host or service list (host_service_view)
** allunhandledproblems = to display ALL unhanded problems
** fixed and reorganized the links in status totals
** searching returns more then one hostgroup/servicegroup if group name matches
** combined Host/Service view now properly supported
** dropped "ALT" and "TITLE" tag from action url image in host and service status list
** status totals are now split into "displayed/all" for filtering
** filtering host/services/hostgroups/servicegroups is now possible via status totals
* classic ui: add javascript to refresh page/pause easier #2119
** DO A FULL PAGE RELOAD AFTER UPGRADING
** no reload necessary to pause refresh
** selecting item in status.cgi/extinfo.cgi resets' refresh counter
** added cgi config option "refresh_type" to choose between http header refresh and javascript refresh
* classic ui: Added statusmap resizing with exclude/include button #2186
** now statusmap get's displayed much better (thanks to Mat)
* classic ui: Added Select hosts or services by clicking on line instead of box #2118
** selecting a host/service/downtime/comment checkbox now works also by clicking the row
* classic ui: fixed reset forms on return after submitting command #2117
** forms getting reset on page load
** fixed problem with downtime checkbox selection
** changed all forms to POST request
* classic ui: fixed json output for comments and downtimes in extinfo.cgi sometimes invalid #2343
** changes array names in json output of extinfo.cgi
** comments -> host_comments / service_comments
** downtimes -> host_downtimes / service_downtimes
* classic ui: fixed Commit commands with more then 500 multiple pairs of hosts and services #2373
** now it's possible to submit ~990 commands at the same time
* classic ui: outages.cgi
** added missing comment tool tip box
** fixed truncating of outages list
* classic ui: Added Scheduling queue filter for specific host or service #2421
** now everyone who is authorized for can see hosts/services in scheduling queue
** added links to host/service extinfo
* classic ui: Added readonly cgi.cfg view into the config section #1776
** New Option in config.cgi to view all cgi config options and their current values
* classic ui: statuswml.cgi and statuswrl.cgi are DEPRECATED now !!!!!!!!!
** both will be removed in Icinga 1.8 !!!!!!
* classic ui: cmd.cgi now accepts change commands with attr command #2474
** CHANGE_HOST_MODATTR, CHANGE_SVC_MODATTR
** but ONLY 0 = reset, other values will trigger an error
* idoutils: limit long_output and perfdata database storage in mysql to 32k #2342
* idoutils: enlarge field "FAILURE_PREDICTION_OPTIONS" in table hosts from 64 to 128 Bytes #2479
* idoutils: Oracle only->change method retrieving lastid, introduce individual sequence caching sizes #2510
* idoutils: fix pgsql unix_timestamp cannot handle timstamp with timezone #2203
* idoutils change varchar(255) to TEXT in mysql # 2181
* idoutils: add create_time and modify_time to dbversion table #2562
** allows to determine the initial import plus modified date
1.6.1 - 02/12/2011
FIXES
......@@ -12,6 +266,7 @@ FIXES
CHANGES
1.6.0 - 30/11/2011
ENHANCEMENTS
......
......@@ -2,6 +2,12 @@
Classic-UI JSON Change Log
#######################
1.7.0 - array names changed!!!! #2343
comments -> host_comments / service_comments
downtimes -> host_downtimes / service_downtimes
* add is_in_effect and trigger_time to downtime output #2538
* add modified_attributes to extinfo.cgi #2473
1.6.0 - only values added, no existing values changed
* add more info of (ack, downtime, ... ) status to json export in status.cgi (ivo) #1988
......@@ -11,4 +17,4 @@ Classic-UI JSON Change Log
* added all vars which are necessary to calculate number of hosts and services in different states
1.4.0
* initial version
\ No newline at end of file
* initial version
Icinga Installation Instructions
--------------------------------
Tip: Instead of compiling sources, check if your distribution
provides Icinga packages. Such will make your upgrade life
easier :-)
https://www.icinga.org/download/packages/
A quickstart installation guide can now be found in the HTML
documentation. You can find the quickstart guide (quickstart.html)
documentation. You can find the quickstart guides
in the following subdirectory:
html/docs/
The quickstart covers all the basic steps you need to follow
The quickstart guides cover all the basic steps you need to follow
to install Icinga, the Icinga plugins, and start out monitoring
the machine that Icinga is installed on.
Good luck!
Get online on https://www.icinga.org and find the following as well
* Docs, by version or latest, as well as PDFs
http://docs.icinga.org
* Wiki, user contributed howtos, test & debug hints, package installs
https://wiki.icinga.org
If you happen to have questions on the install, you can get onto the
various community channels: https://www.icinga.org/support/
Good luck! :-)
......@@ -17,7 +17,7 @@ SRC_XDATA=@srcdir@/xdata
SRC_CONTRIB=@srcdir@/contrib
SRC_IDOUTILS=@srcdir@/module/idoutils
SRC_TTAP=@srcdir@/t-tap
SRC_TAP=@srcdir@/tap
SRC_TAP=@srcdir@/tools/libtap
SRC_T=@srcdir@/t
SRC_DOCBOOK=@srcdir@/docbook
SRC_DOCBOOK_DE=@srcdir@/docbook/de
......@@ -36,9 +36,11 @@ LOGDIR=@LOGDIR@
CGILOGDIR=@CGILOGDIR@
CHECKRESULTDIR=@CHECKRESULTDIR@
EXTCMDFILEDIR=@EXTCMDFILEDIR@
EVENTHANDLERDIR=@EVENTHANDLERDIR@
P1FILELOC=@P1FILELOC@
CFGDIR=@sysconfdir@
BINDIR=@bindir@
LIBDIR=@libdir@
CGIDIR=@sbindir@
LIBEXECDIR=@libexecdir@
HTMLDIR=@datarootdir@
......@@ -58,7 +60,6 @@ PERLDIR=@PERLDIR@
USE_EVENTBROKER=@USE_EVENTBROKER@
USE_IDOUTILS=@USE_IDOUTILS@
USE_ICINGAAPI=@USE_ICINGAAPI@
USE_LIBTAP=@USE_LIBTAP@
INSTALLPERLSTUFF=@INSTALLPERLSTUFF@
......@@ -77,7 +78,7 @@ MKDIR=/bin/mkdir
###############################
# Global
###############################
ICINGA_VERSION=1.6.1
ICINGA_VERSION=1.7.0beta1
CP=@CP@
......@@ -112,7 +113,7 @@ none:
@printf "\t%-23s - %s\n" "install-init" "install init script"
@printf "\t%-23s - %s\n" "install-commandmode" "install external command file"
@printf "\t%-23s - %s\n" "install-idoutils" "install idoutils module"
@printf "\t%-23s - %s\n" "install-api" "install php api !!DEPRECATED!!" # FIXME remove in 1.7.0
@printf "\t%-23s - %s\n" "install-eventhandlers" "install sample eventhandlers"
@printf "\t%-23s - %s\n" "install-dev-docu" "install doxygen development documentation"
......@@ -157,9 +158,6 @@ all:
@echo " - This installs the database addon IDOUtils into the"
@echo " destination directory"
@echo ""
@echo " make install-api"
@echo " - This installs the Icinga API !!DEPRECATED!!" # FIXME remove in 1.7.0
@echo ""
@echo " make install-config"
@echo " - This installs *SAMPLE* config files in $(DESTDIR)$(CFGDIR)"
@echo " You'll have to modify these sample files before you can"
......@@ -248,9 +246,7 @@ clean:
cd $(SRC_IDOUTILS) && $(MAKE) $@
cd $(SRC_TTAP) && $(MAKE) $@
cd $(SRC_T) && $(MAKE) $@
@if [ x$(USE_LIBTAP) = xyes ]; then \
cd $(SRC_TAP) && $(MAKE) $@; \
fi
cd $(SRC_TAP) && $(MAKE) $@; \
rm -f *.cfg core
rm -f *~ *.*~ */*~ */*.*~ */*/*.*~
......@@ -267,9 +263,7 @@ distclean: clean
cd $(SRC_IDOUTILS) && $(MAKE) $@
cd $(SRC_TTAP) && $(MAKE) $@
cd $(SRC_T) && $(MAKE) $@
@if [ x$(USE_LIBTAP) = xyes ]; then \
cd $(SRC_TAP) && $(MAKE) $@; \
fi
cd $(SRC_TAP) && $(MAKE) $@; \
rm -f sample-config/*.cfg sample-config/*.conf sample-config/template-object/*.cfg
rm -f daemon-init pkginfo rc.ido2db daemon-init-redhat
......@@ -288,17 +282,13 @@ test:
$(MAKE) test-perl
$(MAKE) test-tap
test-tap: tap/src/tap.o icinga cgis
@if [ x$(USE_LIBTAP) = xyes ]; then \
cd $(SRC_TTAP) && $(MAKE) test; \
else \
echo "NOTE: You must run configure with --enable-libtap to run the C tap tests"; \
fi
test-tap: tools/libtap/tap.o icinga cgis
cd $(SRC_TTAP) && $(MAKE) test;
tap/src/tap.o:
cd tap && $(MAKE)
tools/libtap/tap.o:
cd tools/libtap && $(MAKE)
test-perl: cgis
test-perl: icinga cgis
cd t && $(MAKE) test
###############################
......@@ -394,6 +384,9 @@ install-basic:
@echo " - This installs and configures permissions on the"
@echo " directory for holding the external command file"
@echo ""
@echo " make install-eventhandlers"
@echo " - This installs the sample eventhandlers in $(DESTDIR)$(EVENTHANDLERDIR)"
@echo ""
@echo " make install-idoutils"
@echo " - This installs the database addon IDOUtils into the"
@echo " destination directory"
......@@ -404,11 +397,17 @@ install-basic:
@echo " make install-webconf"
@echo " - This installs the Apache config file for the web interface"
@echo ""
@echo ""
@echo "*** Make sure to check Changelog for introduced changes! ***"
@echo "*** In case of an upgrade, don't forget to read the upgrade guides! ***"
@echo " http://docs.icinga.org/latest/en/upgrading.html"
@echo ""
install-config:
$(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(CFGDIR)
$(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(CFGDIR)/objects
$(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(CFGDIR)/conf.d
$(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(CFGDIR)/modules
$(INSTALL) -b -m 664 $(INSTALL_OPTS) sample-config/icinga.cfg $(DESTDIR)$(CFGDIR)/icinga.cfg
$(INSTALL) -b -m 660 $(INSTALL_OPTS) sample-config/resource.cfg $(DESTDIR)$(CFGDIR)/resource.cfg
......@@ -417,7 +416,7 @@ install-config:
$(INSTALL) -b -m 664 $(INSTALL_OPTS) sample-config/template-object/templates.cfg $(DESTDIR)$(CFGDIR)/objects/templates.cfg
$(INSTALL) -b -m 664 $(INSTALL_OPTS) sample-config/template-object/commands.cfg $(DESTDIR)$(CFGDIR)/objects/commands.cfg
$(INSTALL) -b -m 664 $(INSTALL_OPTS) sample-config/template-object/contacts.cfg $(DESTDIR)$(CFGDIR)/objects/contacts.cfg
$(INSTALL) -b -m 664 $(INSTALL_OPTS) sample-config/template-object/contacts.cfg $(DESTDIR)$(CFGDIR)/objects/notifications.cfg
$(INSTALL) -b -m 664 $(INSTALL_OPTS) sample-config/template-object/notifications.cfg $(DESTDIR)$(CFGDIR)/objects/notifications.cfg
$(INSTALL) -b -m 664 $(INSTALL_OPTS) sample-config/template-object/timeperiods.cfg $(DESTDIR)$(CFGDIR)/objects/timeperiods.cfg
$(INSTALL) -b -m 664 $(INSTALL_OPTS) sample-config/template-object/localhost.cfg $(DESTDIR)$(CFGDIR)/objects/localhost.cfg
$(INSTALL) -b -m 664 $(INSTALL_OPTS) sample-config/template-object/windows.cfg $(DESTDIR)$(CFGDIR)/objects/windows.cfg
......@@ -448,6 +447,17 @@ install-idoutils:
echo "" ;\
echo "*** IDOUtils installed ***" ;\
echo "" ;\
echo "!!! ATTENTION !!!" ; \
echo " idomod.o was renamed to idomod.so, module extension is now .so" ;\
echo " idomod.so will now be installed to $(DESTDIR)$(LIBDIR) " ;\
echo " " ;\
echo " Check your config within wether icinga.cfg:broker_module OR" ;\
echo " module definition in modules/ and update to the new path!!!" ;\
echo "!!! ATTENTION !!!" ;\
echo "" ;\
echo "Please check Changelog - CHANGES for more information!" ;\
echo "Upgrade docs available at http://docs.icinga.org/latest/en/upgrading_idoutils.html " ;\
echo "" ;\
else \
echo "" ;\
echo "Sorry, IDOUtils not enabled!" ;\
......@@ -455,13 +465,6 @@ install-idoutils:
echo "" ;\
fi
install-api:
@echo "Sorry, Icinga PHP API was removed from package prior 1.6.0!"
@echo "Please keep in mind that Icinga-Web uses its own db layer starting with 1.5.0"
@echo "In case please look for a seperated package and/or icinga-api.git"
@echo ""
install-init: install-daemoninit
install-daemoninit:
......@@ -485,10 +488,28 @@ install-commandmode:
@echo "*** External command directory configured ***"
@echo ""
install-eventhandlers:
$(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(EVENTHANDLERDIR)
$(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(EVENTHANDLERDIR)/distributed-monitoring
$(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(EVENTHANDLERDIR)/redundancy-scenario1
$(INSTALL) -b -m 774 $(INSTALL_OPTS) contrib/eventhandlers/submit_check_result $(DESTDIR)$(EVENTHANDLERDIR)/submit_check_result
$(INSTALL) -b -m 774 $(INSTALL_OPTS) contrib/eventhandlers/disable_active_service_checks $(DESTDIR)$(EVENTHANDLERDIR)/disable_active_service_checks
$(INSTALL) -b -m 774 $(INSTALL_OPTS) contrib/eventhandlers/enable_active_service_checks $(DESTDIR)$(EVENTHANDLERDIR)/enable_active_service_checks
$(INSTALL) -b -m 774 $(INSTALL_OPTS) contrib/eventhandlers/disable_notifications $(DESTDIR)$(EVENTHANDLERDIR)/disable_notifications
$(INSTALL) -b -m 774 $(INSTALL_OPTS) contrib/eventhandlers/enable_notifications $(DESTDIR)$(EVENTHANDLERDIR)/enable_notifications
$(INSTALL) -b -m 774 $(INSTALL_OPTS) contrib/eventhandlers/distributed-monitoring/obsessive_svc_handler $(DESTDIR)$(EVENTHANDLERDIR)/distributed-monitoring/obsessive_svc_handler
$(INSTALL) -b -m 774 $(INSTALL_OPTS) contrib/eventhandlers/distributed-monitoring/submit_check_result_via_nsca $(DESTDIR)$(EVENTHANDLERDIR)/distributed-monitoring/submit_check_result_via_nsca
$(INSTALL) -b -m 774 $(INSTALL_OPTS) contrib/eventhandlers/redundancy-scenario1/handle-master-host-event $(DESTDIR)$(EVENTHANDLERDIR)/redundancy-scenario1/handle-master-host-event
$(INSTALL) -b -m 774 $(INSTALL_OPTS) contrib/eventhandlers/redundancy-scenario1/handle-master-proc-event $(DESTDIR)$(EVENTHANDLERDIR)/redundancy-scenario1/handle-master-proc-event
@echo ""
@echo "*** Sample Eventhandlers installed ***"
@echo ""
fullinstall:
@if [ x$(USE_IDOUTILS) = xyes ]; then \
${MAKE} install install-init install-commandmode install-webconf install-idoutils ;\
${MAKE} install install-init install-commandmode install-webconf install-idoutils install-eventhandlers;\
echo "Run make install-config for installing/overwriting the configs..." ;\
else \
${MAKE} install install-init install-commandmode install-webconf ;\
......
Icinga 1.x README
-----------------
What is Icinga?
Icinga is a fork of Nagios and is backward compatible. So, Nagios configurations, plugins
and addons can all be used with Icinga. Though Icinga retains all the existing features
of its predecessor, it builds on them to add many long awaited patches and features
requested by the user community.
Icinga is a host/service/network monitoring program written in C and
released under the GNU General Public License. CGI programs are
included to allow you to view the current status, history, etc via
a web interface if you so desire.
Icinga is an enterprise grade open source monitoring system which keeps watch over a
network and any conceivable network resource, notifies the user of errors and recoveries,
and generates performance data for reporting.
Scalable and extensible, Icinga can monitor complex, large environments across dispersed
locations. Icinga is licensed under GPL V2 and is free to use, distribute and modify.
Features:
1) Monitoring of network services (via SMTP, POP3, HTTP, PING, etc).
2) A plugin interface to allow for user-developed service monitoring methods.
3) Notifications when problems occur and get resolved (via email, pager,
or user-defined method).
4) Ability to define "event handlers" for proactive problem resolution
5) Web output (current status, notifications, problem history, log file, etc.)
6) Automatic log file rotation/archiving
With Icinga you can:
MONITOR – ANY NETWORK AND ALL ITS RESOURCES
Network services: SMTP, POP3, HTTP, SNMP, NNTP, PING, etc.
Host resources: CPU load, disk utilization, system logs, etc
Server components: Switches, routers, temperature and humidity sensors, etc
NOTIFY –WHEN ISSUES ARISE AND ARE RESOLVED
Through any channel (eMail, SMS, phone call, etc)
Escalate alerts to other users or communication channels
Fine tune notification settings (accounting for dependencies between hosts & services)
REPORT – ON PERFORMANCE AND PLAN AHEAD
Capacity utilization to plan for growth
Chart graphs with addons like PNP or Grapher
Icinga takes open source monitoring to the next level - check out the features new and old.
https://www.icinga.org/about/
https://www.icinga.org/about/icinga-features/
For installation instructions, use a web browser to read the HTML documentation
in the html/docs subdirectory.
Visit the Icinga homepage at http://www.icinga.org for online
documentation, new releases, bug reports, information on the mailing
lists, etc.
Visit the Icinga homepage at http://www.icinga.org for
* online documentation http://docs.icinga.org
* wiki https://wiki.icinga.org
* new releases https://www.icinga.org/blog/
* bug reports https://dev.icinga.org
* faq https://www.icinga.org/faq/
* feedback http://feedback.icinga.org
* support https://www.icinga.org/support/
* packages https://www.icinga.org/download/packages/
Please report any bugs, feature requests, ideas, feedback and help make Icinga
better!
Thanks for using Icinga :-)
Introduction
------------
CHANGES for 1.7
* bindir/idomod.o => libdir/idomod.so
* /var/icinga => /var/spool/icinga
* icinga-idoutils => icinga-idoutils-libdbi-mysql and icinga-idoutils-libdbi-pgsql
The packages are made as little dependend on each other as possible, to get the
maximum flexibility in setting up distributed monitoring environments. This
means, that you may have to install some additional packages manually. Yum is
your friend.
Recommended OS Installation
---------------------------
Repositories:
* Fedora EPEL repository (http://fedoraproject.org/wiki/EPEL)
* RHN Channel "Red Hat Optional Server" if using RHEL
* Repoforge repository if needed (http://wiki.centos.org/AdditionalResources/Repositories/RPMForge)
It is also recommended to switch SELinux to "disabled" or develop a proper policy
for icinga et al (if you have it, share it ;-)).
Order of Installation
---------------------