Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
univention-pkg-icinga
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
packaging
univention-pkg-icinga
Commits
3b8c280b
Commit
3b8c280b
authored
Jun 29, 2011
by
Alexander Wirt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Imported Upstream version 1.4.2
parent
e522c868
Changes
272
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
272 changed files
with
2981 additions
and
2629 deletions
+2981
-2629
Changelog
Changelog
+20
-1
Makefile.in
Makefile.in
+1
-1
base/checks.c
base/checks.c
+4
-1
base/icinga.c
base/icinga.c
+1
-1
base/icingastats.c
base/icingastats.c
+1
-1
cgi/cgiauth.c
cgi/cgiauth.c
+36
-0
cgi/cgiutils.c
cgi/cgiutils.c
+14
-1
cgi/cmd.c
cgi/cmd.c
+2
-2
cgi/config.c
cgi/config.c
+22
-22
cgi/status.c
cgi/status.c
+7
-4
configure
configure
+3
-3
configure.in
configure.in
+3
-3
docbook/de/extcommands2.xml
docbook/de/extcommands2.xml
+1
-1
docbook/de/upgrading.xml
docbook/de/upgrading.xml
+60
-26
docbook/de/upgrading_icingaweb.xml
docbook/de/upgrading_icingaweb.xml
+3
-0
docbook/de/upgrading_idoutils.xml
docbook/de/upgrading_idoutils.xml
+3
-0
docbook/en/extcommands2.xml
docbook/en/extcommands2.xml
+1
-1
docbook/en/upgrading.xml
docbook/en/upgrading.xml
+71
-36
docbook/en/upgrading_icingaweb.xml
docbook/en/upgrading_icingaweb.xml
+3
-0
docbook/en/upgrading_idoutils.xml
docbook/en/upgrading_idoutils.xml
+3
-0
html/docs/de/about.html
html/docs/de/about.html
+6
-6
html/docs/de/activechecks.html
html/docs/de/activechecks.html
+2
-2
html/docs/de/adaptive.html
html/docs/de/adaptive.html
+2
-2
html/docs/de/addons.html
html/docs/de/addons.html
+25
-25
html/docs/de/beginners.html
html/docs/de/beginners.html
+1
-1
html/docs/de/cachedchecks.html
html/docs/de/cachedchecks.html
+2
-2
html/docs/de/cgiauth.html
html/docs/de/cgiauth.html
+8
-8
html/docs/de/cgiincludes.html
html/docs/de/cgiincludes.html
+1
-1
html/docs/de/cgiparams.html
html/docs/de/cgiparams.html
+2
-2
html/docs/de/cgis.html
html/docs/de/cgis.html
+16
-16
html/docs/de/cgisecurity.html
html/docs/de/cgisecurity.html
+5
-5
html/docs/de/ch03.html
html/docs/de/ch03.html
+15
-15
html/docs/de/ch12.html
html/docs/de/ch12.html
+16
-16
html/docs/de/checkscheduling.html
html/docs/de/checkscheduling.html
+14
-14
html/docs/de/clusters.html
html/docs/de/clusters.html
+1
-1
html/docs/de/components.html
html/docs/de/components.html
+10
-10
html/docs/de/config.html
html/docs/de/config.html
+1
-1
html/docs/de/configcgi.html
html/docs/de/configcgi.html
+41
-41
html/docs/de/configmain.html
html/docs/de/configmain.html
+133
-133
html/docs/de/configobject.html
html/docs/de/configobject.html
+1
-1
html/docs/de/customobjectvars.html
html/docs/de/customobjectvars.html
+1
-1
html/docs/de/db_changes.html
html/docs/de/db_changes.html
+1
-1
html/docs/de/db_intro.html
html/docs/de/db_intro.html
+8
-8
html/docs/de/db_model.html
html/docs/de/db_model.html
+69
-69
html/docs/de/dependencies.html
html/docs/de/dependencies.html
+2
-2
html/docs/de/dependencychecks.html
html/docs/de/dependencychecks.html
+1
-1
html/docs/de/distributed.html
html/docs/de/distributed.html
+1
-1
html/docs/de/downtime.html
html/docs/de/downtime.html
+2
-2
html/docs/de/embeddedperl.html
html/docs/de/embeddedperl.html
+1
-1
html/docs/de/epnplugins.html
html/docs/de/epnplugins.html
+1
-1
html/docs/de/escalation_condition.html
html/docs/de/escalation_condition.html
+1
-1
html/docs/de/escalations.html
html/docs/de/escalations.html
+1
-1
html/docs/de/eventhandlers.html
html/docs/de/eventhandlers.html
+2
-2
html/docs/de/example-configs.html
html/docs/de/example-configs.html
+6
-6
html/docs/de/extcommands.html
html/docs/de/extcommands.html
+1
-1
html/docs/de/extcommands2.html
html/docs/de/extcommands2.html
+160
-160
html/docs/de/faststartup.html
html/docs/de/faststartup.html
+7
-7
html/docs/de/flapping.html
html/docs/de/flapping.html
+1
-1
html/docs/de/freshness.html
html/docs/de/freshness.html
+1
-1
html/docs/de/hostchecks.html
html/docs/de/hostchecks.html
+1
-1
html/docs/de/howtos.html
html/docs/de/howtos.html
+1
-1
html/docs/de/icinga-api.html
html/docs/de/icinga-api.html
+2
-2
html/docs/de/icinga-web-api.html
html/docs/de/icinga-web-api.html
+1
-1
html/docs/de/icinga-web-config.html
html/docs/de/icinga-web-config.html
+7
-7
html/docs/de/icinga-web-introduction.html
html/docs/de/icinga-web-introduction.html
+51
-51
html/docs/de/icinga-web-pnp.html
html/docs/de/icinga-web-pnp.html
+2
-2
html/docs/de/icinga-web-scratch.html
html/docs/de/icinga-web-scratch.html
+2
-2
html/docs/de/icingastats.html
html/docs/de/icingastats.html
+1
-1
html/docs/de/index.html
html/docs/de/index.html
+109
-109
html/docs/de/int-mklivestatus.html
html/docs/de/int-mklivestatus.html
+2
-2
html/docs/de/int-snmptrap.html
html/docs/de/int-snmptrap.html
+1
-1
html/docs/de/int-tcpwrappers.html
html/docs/de/int-tcpwrappers.html
+1
-1
html/docs/de/integration.html
html/docs/de/integration.html
+1
-1
html/docs/de/ix01.html
html/docs/de/ix01.html
+1
-1
html/docs/de/largeinstalltweaks.html
html/docs/de/largeinstalltweaks.html
+1
-1
html/docs/de/macrolist.html
html/docs/de/macrolist.html
+307
-307
html/docs/de/macros.html
html/docs/de/macros.html
+1
-1
html/docs/de/monitoring-linux.html
html/docs/de/monitoring-linux.html
+2
-2
html/docs/de/monitoring-netware.html
html/docs/de/monitoring-netware.html
+2
-2
html/docs/de/monitoring-printers.html
html/docs/de/monitoring-printers.html
+2
-2
html/docs/de/monitoring-publicservices.html
html/docs/de/monitoring-publicservices.html
+2
-2
html/docs/de/monitoring-routers.html
html/docs/de/monitoring-routers.html
+2
-2
html/docs/de/monitoring-windows.html
html/docs/de/monitoring-windows.html
+3
-3
html/docs/de/mrtggraphs.html
html/docs/de/mrtggraphs.html
+1
-1
html/docs/de/networkreachability.html
html/docs/de/networkreachability.html
+2
-2
html/docs/de/notifications.html
html/docs/de/notifications.html
+4
-4
html/docs/de/nrpe.html
html/docs/de/nrpe.html
+4
-4
html/docs/de/nsca.html
html/docs/de/nsca.html
+3
-3
html/docs/de/objectdefinitions.html
html/docs/de/objectdefinitions.html
+46
-46
html/docs/de/objectinheritance.html
html/docs/de/objectinheritance.html
+6
-6
html/docs/de/objecttricks.html
html/docs/de/objecttricks.html
+11
-11
html/docs/de/oncallrotation.html
html/docs/de/oncallrotation.html
+1
-1
html/docs/de/passivechecks.html
html/docs/de/passivechecks.html
+1
-1
html/docs/de/passivestatetranslation.html
html/docs/de/passivestatetranslation.html
+1
-1
html/docs/de/perfdata.html
html/docs/de/perfdata.html
+1
-1
html/docs/de/pluginapi.html
html/docs/de/pluginapi.html
+1
-1
html/docs/de/plugins.html
html/docs/de/plugins.html
+5
-5
html/docs/de/quickstart-icinga-freebsd.html
html/docs/de/quickstart-icinga-freebsd.html
+1
-1
html/docs/de/quickstart-icinga.html
html/docs/de/quickstart-icinga.html
+2
-2
html/docs/de/quickstart-idoutils-freebsd.html
html/docs/de/quickstart-idoutils-freebsd.html
+1
-1
html/docs/de/quickstart-idoutils.html
html/docs/de/quickstart-idoutils.html
+1
-1
html/docs/de/quickstart.html
html/docs/de/quickstart.html
+2
-2
html/docs/de/redundancy.html
html/docs/de/redundancy.html
+4
-4
html/docs/de/reporting.html
html/docs/de/reporting.html
+3
-3
html/docs/de/security.html
html/docs/de/security.html
+1
-1
html/docs/de/servicechecks.html
html/docs/de/servicechecks.html
+1
-1
html/docs/de/stalking.html
html/docs/de/stalking.html
+1
-1
html/docs/de/startstop.html
html/docs/de/startstop.html
+3
-3
html/docs/de/statetypes.html
html/docs/de/statetypes.html
+1
-1
html/docs/de/timeperiods.html
html/docs/de/timeperiods.html
+1
-1
html/docs/de/tuning.html
html/docs/de/tuning.html
+1
-1
html/docs/de/upgrading.html
html/docs/de/upgrading.html
+60
-32
html/docs/de/upgrading_icingaweb.html
html/docs/de/upgrading_icingaweb.html
+13
-4
html/docs/de/upgrading_idoutils.html
html/docs/de/upgrading_idoutils.html
+10
-1
html/docs/de/verifyconfig.html
html/docs/de/verifyconfig.html
+5
-5
html/docs/de/volatileservices.html
html/docs/de/volatileservices.html
+1
-1
html/docs/de/whatsnew.html
html/docs/de/whatsnew.html
+1
-1
html/docs/en/about.html
html/docs/en/about.html
+6
-6
html/docs/en/activechecks.html
html/docs/en/activechecks.html
+2
-2
html/docs/en/adaptive.html
html/docs/en/adaptive.html
+2
-2
html/docs/en/addons.html
html/docs/en/addons.html
+25
-25
html/docs/en/beginners.html
html/docs/en/beginners.html
+1
-1
html/docs/en/cachedchecks.html
html/docs/en/cachedchecks.html
+1
-1
html/docs/en/cgiauth.html
html/docs/en/cgiauth.html
+8
-8
html/docs/en/cgiincludes.html
html/docs/en/cgiincludes.html
+1
-1
html/docs/en/cgiparams.html
html/docs/en/cgiparams.html
+2
-2
html/docs/en/cgis.html
html/docs/en/cgis.html
+16
-16
html/docs/en/cgisecurity.html
html/docs/en/cgisecurity.html
+5
-5
html/docs/en/ch03.html
html/docs/en/ch03.html
+15
-15
html/docs/en/ch12.html
html/docs/en/ch12.html
+16
-16
html/docs/en/checkscheduling.html
html/docs/en/checkscheduling.html
+14
-14
html/docs/en/clusters.html
html/docs/en/clusters.html
+1
-1
html/docs/en/config.html
html/docs/en/config.html
+1
-1
html/docs/en/configcgi.html
html/docs/en/configcgi.html
+41
-41
html/docs/en/configmain.html
html/docs/en/configmain.html
+136
-136
html/docs/en/configobject.html
html/docs/en/configobject.html
+1
-1
html/docs/en/customobjectvars.html
html/docs/en/customobjectvars.html
+1
-1
html/docs/en/db_changes.html
html/docs/en/db_changes.html
+1
-1
html/docs/en/db_components.html
html/docs/en/db_components.html
+10
-10
html/docs/en/db_example-configs.html
html/docs/en/db_example-configs.html
+6
-6
html/docs/en/db_intro.html
html/docs/en/db_intro.html
+8
-8
html/docs/en/db_model.html
html/docs/en/db_model.html
+69
-69
html/docs/en/dependencies.html
html/docs/en/dependencies.html
+2
-2
html/docs/en/dependencychecks.html
html/docs/en/dependencychecks.html
+1
-1
html/docs/en/distributed.html
html/docs/en/distributed.html
+1
-1
html/docs/en/downtime.html
html/docs/en/downtime.html
+1
-1
html/docs/en/embeddedperl.html
html/docs/en/embeddedperl.html
+1
-1
html/docs/en/epnplugins.html
html/docs/en/epnplugins.html
+1
-1
html/docs/en/escalation_condition.html
html/docs/en/escalation_condition.html
+1
-1
html/docs/en/escalations.html
html/docs/en/escalations.html
+1
-1
html/docs/en/eventhandlers.html
html/docs/en/eventhandlers.html
+2
-2
html/docs/en/extcommands2.html
html/docs/en/extcommands2.html
+161
-161
html/docs/en/faststartup.html
html/docs/en/faststartup.html
+6
-6
html/docs/en/flapping.html
html/docs/en/flapping.html
+1
-1
html/docs/en/freshness.html
html/docs/en/freshness.html
+1
-1
html/docs/en/hostchecks.html
html/docs/en/hostchecks.html
+1
-1
html/docs/en/howtos.html
html/docs/en/howtos.html
+1
-1
html/docs/en/icinga-api.html
html/docs/en/icinga-api.html
+2
-2
html/docs/en/icinga-web-api.html
html/docs/en/icinga-web-api.html
+1
-1
html/docs/en/icinga-web-config.html
html/docs/en/icinga-web-config.html
+7
-7
html/docs/en/icinga-web-introduction.html
html/docs/en/icinga-web-introduction.html
+51
-51
html/docs/en/icinga-web-pnp.html
html/docs/en/icinga-web-pnp.html
+2
-2
html/docs/en/icinga-web-scratch.html
html/docs/en/icinga-web-scratch.html
+3
-3
html/docs/en/icingastats.html
html/docs/en/icingastats.html
+1
-1
html/docs/en/index.html
html/docs/en/index.html
+109
-109
html/docs/en/int-mklivestatus.html
html/docs/en/int-mklivestatus.html
+2
-2
html/docs/en/int-snmptrap.html
html/docs/en/int-snmptrap.html
+1
-1
html/docs/en/int-tcpwrappers.html
html/docs/en/int-tcpwrappers.html
+1
-1
html/docs/en/integration.html
html/docs/en/integration.html
+1
-1
html/docs/en/ix01.html
html/docs/en/ix01.html
+1
-1
html/docs/en/largeinstalltweaks.html
html/docs/en/largeinstalltweaks.html
+1
-1
html/docs/en/macrolist.html
html/docs/en/macrolist.html
+306
-306
html/docs/en/macros.html
html/docs/en/macros.html
+1
-1
html/docs/en/monitoring-linux.html
html/docs/en/monitoring-linux.html
+1
-1
html/docs/en/monitoring-netware.html
html/docs/en/monitoring-netware.html
+1
-1
html/docs/en/monitoring-printers.html
html/docs/en/monitoring-printers.html
+1
-1
html/docs/en/monitoring-publicservices.html
html/docs/en/monitoring-publicservices.html
+1
-1
html/docs/en/monitoring-routers.html
html/docs/en/monitoring-routers.html
+1
-1
html/docs/en/monitoring-windows.html
html/docs/en/monitoring-windows.html
+2
-2
html/docs/en/mrtggraphs.html
html/docs/en/mrtggraphs.html
+1
-1
html/docs/en/networkreachability.html
html/docs/en/networkreachability.html
+2
-2
html/docs/en/notifications.html
html/docs/en/notifications.html
+4
-4
html/docs/en/nrpe.html
html/docs/en/nrpe.html
+4
-4
html/docs/en/nsca.html
html/docs/en/nsca.html
+3
-3
html/docs/en/objectdefinitions.html
html/docs/en/objectdefinitions.html
+46
-46
html/docs/en/objectinheritance.html
html/docs/en/objectinheritance.html
+7
-7
html/docs/en/objecttricks.html
html/docs/en/objecttricks.html
+11
-11
html/docs/en/oncallrotation.html
html/docs/en/oncallrotation.html
+1
-1
html/docs/en/passivechecks.html
html/docs/en/passivechecks.html
+1
-1
html/docs/en/passivestatetranslation.html
html/docs/en/passivestatetranslation.html
+1
-1
html/docs/en/perfdata.html
html/docs/en/perfdata.html
+1
-1
html/docs/en/pluginapi.html
html/docs/en/pluginapi.html
+1
-1
html/docs/en/plugins.html
html/docs/en/plugins.html
+4
-4
html/docs/en/quickstart-icinga-freebsd.html
html/docs/en/quickstart-icinga-freebsd.html
+1
-1
html/docs/en/quickstart-icinga.html
html/docs/en/quickstart-icinga.html
+1
-1
html/docs/en/quickstart-idoutils-freebsd.html
html/docs/en/quickstart-idoutils-freebsd.html
+1
-1
html/docs/en/quickstart-idoutils.html
html/docs/en/quickstart-idoutils.html
+1
-1
html/docs/en/quickstart.html
html/docs/en/quickstart.html
+1
-1
html/docs/en/redundancy.html
html/docs/en/redundancy.html
+3
-3
html/docs/en/reporting.html
html/docs/en/reporting.html
+3
-3
html/docs/en/security.html
html/docs/en/security.html
+1
-1
html/docs/en/servicechecks.html
html/docs/en/servicechecks.html
+1
-1
html/docs/en/stalking.html
html/docs/en/stalking.html
+1
-1
html/docs/en/startstop.html
html/docs/en/startstop.html
+3
-3
html/docs/en/statetypes.html
html/docs/en/statetypes.html
+1
-1
html/docs/en/timeperiods.html
html/docs/en/timeperiods.html
+1
-1
html/docs/en/tuning.html
html/docs/en/tuning.html
+1
-1
html/docs/en/upgrading.html
html/docs/en/upgrading.html
+73
-42
html/docs/en/upgrading_icingaweb.html
html/docs/en/upgrading_icingaweb.html
+13
-4
html/docs/en/upgrading_idoutils.html
html/docs/en/upgrading_idoutils.html
+10
-1
html/docs/en/verifyconfig.html
html/docs/en/verifyconfig.html
+5
-5
html/docs/en/volatileservices.html
html/docs/en/volatileservices.html
+1
-1
html/docs/en/whatsnew.html
html/docs/en/whatsnew.html
+1
-1
html/images/icinga-web-admin_groups1.png
html/images/icinga-web-admin_groups1.png
+0
-0
html/images/icinga-web-admin_groups2.png
html/images/icinga-web-admin_groups2.png
+0
-0
html/images/icinga-web-admin_logs1.png
html/images/icinga-web-admin_logs1.png
+0
-0
html/images/icinga-web-admin_principals.png
html/images/icinga-web-admin_principals.png
+0
-0
html/images/icinga-web-admin_tasks.png
html/images/icinga-web-admin_tasks.png
+0
-0
html/images/icinga-web-admin_users1.png
html/images/icinga-web-admin_users1.png
+0
-0
html/images/icinga-web-admin_users2.png
html/images/icinga-web-admin_users2.png
+0
-0
html/images/icinga-web-commands_hst.png
html/images/icinga-web-commands_hst.png
+0
-0
html/images/icinga-web-commands_hst_1.3.png
html/images/icinga-web-commands_hst_1.3.png
+0
-0
html/images/icinga-web-commands_svc.png
html/images/icinga-web-commands_svc.png
+0
-0
html/images/icinga-web-commands_svc_1.3.png
html/images/icinga-web-commands_svc_1.3.png
+0
-0
html/images/icinga-web-cronks1.png
html/images/icinga-web-cronks1.png
+0
-0
html/images/icinga-web-cronks1_1.3.png
html/images/icinga-web-cronks1_1.3.png
+0
-0
html/images/icinga-web-cronks2.png
html/images/icinga-web-cronks2.png
+0
-0
html/images/icinga-web-cronks2_1.3.png
html/images/icinga-web-cronks2_1.3.png
+0
-0
html/images/icinga-web-cronks3.png
html/images/icinga-web-cronks3.png
+0
-0
html/images/icinga-web-cronks3_1.3.png
html/images/icinga-web-cronks3_1.3.png
+0
-0
html/images/icinga-web-filter1.png
html/images/icinga-web-filter1.png
+0
-0
html/images/icinga-web-filter1_1.3.png
html/images/icinga-web-filter1_1.3.png
+0
-0
html/images/icinga-web-filter2.png
html/images/icinga-web-filter2.png
+0
-0
html/images/icinga-web-filter2_1.3.png
html/images/icinga-web-filter2_1.3.png
+0
-0
html/images/icinga-web-filter3.png
html/images/icinga-web-filter3.png
+0
-0
html/images/icinga-web-log.png
html/images/icinga-web-log.png
+0
-0
html/images/icinga-web-log_1.3.png
html/images/icinga-web-log_1.3.png
+0
-0
html/images/icinga-web-login.png
html/images/icinga-web-login.png
+0
-0
html/images/icinga-web-main_bar.png
html/images/icinga-web-main_bar.png
+0
-0
html/images/icinga-web-mainscreen1.png
html/images/icinga-web-mainscreen1.png
+0
-0
html/images/icinga-web-mainscreen1_1.3.png
html/images/icinga-web-mainscreen1_1.3.png
+0
-0
html/images/icinga-web-open_problems.png
html/images/icinga-web-open_problems.png
+0
-0
html/images/icinga-web-overview.png
html/images/icinga-web-overview.png
+0
-0
html/images/icinga-web-overview_1.3.png
html/images/icinga-web-overview_1.3.png
+0
-0
html/images/icinga-web-search1.png
html/images/icinga-web-search1.png
+0
-0
html/images/icinga-web-search1_1.3.png
html/images/icinga-web-search1_1.3.png
+0
-0
html/images/icinga-web-settings.png
html/images/icinga-web-settings.png
+0
-0
html/images/icinga-web-statuscronk.png
html/images/icinga-web-statuscronk.png
+0
-0
html/images/icinga-web-topmenu1.png
html/images/icinga-web-topmenu1.png
+0
-0
html/images/icinga-web-topmenu2.png
html/images/icinga-web-topmenu2.png
+0
-0
html/images/icinga-web-topmenu2_1.3.png
html/images/icinga-web-topmenu2_1.3.png
+0
-0
html/index.html.in
html/index.html.in
+1
-4
html/main.html
html/main.html
+3
-3
icinga.spec
icinga.spec
+58
-17
include/cgiauth.h
include/cgiauth.h
+3
-0
include/common.h
include/common.h
+2
-2
module/idoutils/Makefile.in
module/idoutils/Makefile.in
+2
-2
module/idoutils/config/idoutils.cfg-sample.in
module/idoutils/config/idoutils.cfg-sample.in
+12
-0
module/idoutils/db/README
module/idoutils/db/README
+0
-0
module/idoutils/db/mysql/mysql.sql
module/idoutils/db/mysql/mysql.sql
+1
-1
module/idoutils/db/oracle/oracle.sql
module/idoutils/db/oracle/oracle.sql
+1
-1
module/idoutils/db/scripts/installdb.in
module/idoutils/db/scripts/installdb.in
+1
-1
module/idoutils/db/scripts/upgradedb.in
module/idoutils/db/scripts/upgradedb.in
+3
-3
module/idoutils/include/ido2db.h
module/idoutils/include/ido2db.h
+3
-2
module/idoutils/include/idomod.h
module/idoutils/include/idomod.h
+2
-2
module/idoutils/src/db.c
module/idoutils/src/db.c
+44
-1
module/idoutils/src/dbhandlers.c
module/idoutils/src/dbhandlers.c
+13
-13
module/idoutils/src/file2sock.c
module/idoutils/src/file2sock.c
+2
-2
module/idoutils/src/log2ido.c
module/idoutils/src/log2ido.c
+2
-2
module/idoutils/src/sockdebug.c
module/idoutils/src/sockdebug.c
+2
-2
update-version
update-version
+10
-10
xdata/xsddefault.c
xdata/xsddefault.c
+5
-0
No files found.
Changelog
View file @
3b8c280b
...
...
@@ -2,7 +2,26 @@
Icinga 1.4.x Change Log
#######################
1.4.1 - ??/06/2011
1.4.2 - 29/06/2011
ENHANCEMENTS
* classic ui: add a check for status data freshness into cgis #1667
FIXES
* core: fix freshness_threshold problem in host checks by using check_interval in HARD or OK state, else retry_interval (like service checks) #1331
* classic ui: re-fix xss vulnerability and string escaping for command expansion #1605 #1624
* classic ui: remove sidebar.html inclusion in index.html causing troubles on reload #1632
* classic ui: fixed: User can execute host/servicegroup commands even if not authorized for (Sven Nierlein) #1679
* classic ui: fixed: plugin_output_short didn't get checked properly and caused segfault in status.cgi #1673
* idoutils: do not update start_time of already started downtimes #1658
* idoutils: fix started downtime update for table scheduleddowntime in oracle #1658
* install: fix make install-idoutils overwrites sample - adding idoutils.cfg-sample instead #1625
1.4.1 - 08/06/2011
ENHANCEMENTS
...
...
Makefile.in
View file @
3b8c280b
...
...
@@ -75,7 +75,7 @@ MKDIR=/bin/mkdir
###############################
# Global
###############################
ICINGA_VERSION
=
1.4.
1
ICINGA_VERSION
=
1.4.
2
CP
=
@CP@
...
...
base/checks.c
View file @
3b8c280b
...
...
@@ -2615,7 +2615,10 @@ int is_host_result_fresh(host *temp_host, time_t current_time, int log_this){
/* use user-supplied freshness threshold or auto-calculate a freshness threshold to use? */
if
(
temp_host
->
freshness_threshold
==
0
)
freshness_threshold
=
(
temp_host
->
check_interval
*
interval_length
)
+
temp_host
->
latency
+
additional_freshness_latency
;
if
(
temp_host
->
state_type
==
HARD_STATE
||
temp_host
->
current_state
==
STATE_OK
)
freshness_threshold
=
(
temp_host
->
check_interval
*
interval_length
)
+
temp_host
->
latency
+
additional_freshness_latency
;
else
freshness_threshold
=
(
temp_host
->
retry_interval
*
interval_length
)
+
temp_host
->
latency
+
additional_freshness_latency
;
else
freshness_threshold
=
temp_host
->
freshness_threshold
;
...
...
base/icinga.c
View file @
3b8c280b
...
...
@@ -3,7 +3,7 @@
* ICINGA.C - Core Program Code For Icinga
*
* Program: Icinga
* Version: 1.4.
1
* Version: 1.4.
2
* License: GPL
* Copyright (c) 1999-2009 Ethan Galstad (http://www.nagios.org)
* Copyright (c) 2009-2011 Nagios Core Development Team and Community Contributors
...
...
base/icingastats.c
View file @
3b8c280b
...
...
@@ -3,7 +3,7 @@
* ICINGASTATS.C - Displays Icinga Statistics
*
* Program: Icingastats
* Version: 1.4.
1
* Version: 1.4.
2
* License: GPL
* Copyright (c) 2003-2008 Ethan Galstad (egalstad@nagios.org)
* Copyright (c) 2009-2011 Nagios Core Development Team and Community Contributors
...
...
cgi/cgiauth.c
View file @
3b8c280b
...
...
@@ -858,3 +858,39 @@ int is_authorized_for_host_commands(host *hst, authdata *authinfo){
}
/* check is the current user is authorized to issue commands relating to a particular servicegroup */
int
is_authorized_for_servicegroup_commands
(
servicegroup
*
sg
,
authdata
*
authinfo
){
servicesmember
*
temp_servicesmember
;
service
*
temp_service
;
if
(
sg
==
NULL
)
return
FALSE
;
/* see if user is authorized for all services commands in the servicegroup */
for
(
temp_servicesmember
=
sg
->
members
;
temp_servicesmember
!=
NULL
;
temp_servicesmember
=
temp_servicesmember
->
next
){
temp_service
=
find_service
(
temp_servicesmember
->
host_name
,
temp_servicesmember
->
service_description
);
if
(
is_authorized_for_service_commands
(
temp_service
,
authinfo
)
==
FALSE
)
return
FALSE
;
}
return
TRUE
;
}
/* check is the current user is authorized to issue commands relating to a particular hostgroup */
int
is_authorized_for_hostgroup_commands
(
hostgroup
*
hg
,
authdata
*
authinfo
){
hostsmember
*
temp_hostsmember
;
host
*
temp_host
;
if
(
hg
==
NULL
)
return
FALSE
;
/* see if user is authorized for all hosts in the hostgroup */
for
(
temp_hostsmember
=
hg
->
members
;
temp_hostsmember
!=
NULL
;
temp_hostsmember
=
temp_hostsmember
->
next
){
temp_host
=
find_host
(
temp_hostsmember
->
host_name
);
if
(
is_authorized_for_host_commands
(
temp_host
,
authinfo
)
==
FALSE
)
return
FALSE
;
}
return
TRUE
;
}
cgi/cgiutils.c
View file @
3b8c280b
...
...
@@ -85,6 +85,7 @@ extern int enable_failure_prediction;
extern
int
process_performance_data
;
extern
time_t
last_command_check
;
extern
time_t
last_log_rotation
;
extern
time_t
status_file_creation_time
;
/** readlogs.c **/
int
log_rotation_method
=
LOG_ROTATION_NONE
;
...
...
@@ -94,7 +95,7 @@ extern time_t next_scheduled_log_rotation;
char
log_file
[
MAX_INPUT_BUFFER
];
char
log_archive_path
[
MAX_INPUT_BUFFER
];
int
status_update_interval
=
60
;
int
check_external_commands
=
0
;
int
log_external_commands_user
=
FALSE
;
...
...
@@ -628,6 +629,12 @@ int read_main_config_file(char *filename){
interval_length
=
(
temp_buffer
==
NULL
)
?
60
:
atoi
(
temp_buffer
);
}
else
if
(
strstr
(
input
,
"status_update_interval="
)
==
input
){
temp_buffer
=
strtok
(
input
,
"="
);
temp_buffer
=
strtok
(
NULL
,
"\x0"
);
status_update_interval
=
(
temp_buffer
==
NULL
)
?
60
:
atoi
(
temp_buffer
);
}
else
if
(
strstr
(
input
,
"log_file="
)
==
input
){
temp_buffer
=
strtok
(
input
,
"="
);
temp_buffer
=
strtok
(
NULL
,
"\x0"
);
...
...
@@ -1529,6 +1536,9 @@ char * html_encode(char *input, int escape_newlines){
int
x
,
y
;
char
temp_expansion
[
10
];
if
(
input
==
NULL
)
return
""
;
/* we need up to six times the space to do the conversion */
len
=
(
int
)
strlen
(
input
);
output_len
=
len
*
6
;
...
...
@@ -1773,6 +1783,9 @@ void display_info_table(char *title,int refresh, authdata *current_authdata, int
printf
(
"<DIV CLASS='infoBoxBadProcStatus'>- Service checks are disabled</DIV>"
);
}
if
(
status_file_creation_time
<
(
current_time
-
status_update_interval
-
10
))
printf
(
"<DIV CLASS='infoBoxBadProcStatus'>Warning: Status data OUTDATED! Last status data update was %d seconds ago!</DIV>"
,(
int
)(
current_time
-
status_file_creation_time
));
printf
(
"</TD></TR>
\n
"
);
printf
(
"</TABLE>
\n
"
);
...
...
cgi/cmd.c
View file @
3b8c280b
...
...
@@ -2175,11 +2175,11 @@ void commit_command_data(int cmd){
cmd
==
CMD_ENABLE_HOSTGROUP_SVC_CHECKS
||
cmd
==
CMD_DISABLE_HOSTGROUP_SVC_CHECKS
||
\
cmd
==
CMD_SCHEDULE_HOSTGROUP_HOST_DOWNTIME
||
cmd
==
CMD_SCHEDULE_HOSTGROUP_SVC_DOWNTIME
){
temp_hostgroup
=
find_hostgroup
(
hostgroup_name
);
if
(
is_authorized_for_hostgroup
(
temp_hostgroup
,
&
current_authdata
)
==
TRUE
)
if
(
is_authorized_for_hostgroup
_commands
(
temp_hostgroup
,
&
current_authdata
)
==
TRUE
)
is_authorized
[
x
]
=
TRUE
;
}
else
{
temp_servicegroup
=
find_servicegroup
(
servicegroup_name
);
if
(
is_authorized_for_servicegroup
(
temp_servicegroup
,
&
current_authdata
)
==
TRUE
)
if
(
is_authorized_for_servicegroup
_commands
(
temp_servicegroup
,
&
current_authdata
)
==
TRUE
)
is_authorized
[
x
]
=
TRUE
;
}
...
...
cgi/config.c
View file @
3b8c280b
...
...
@@ -112,7 +112,7 @@ void print_expand_input(int type){
else
if
(
type
==
DISPLAY_HOSTESCALATIONS
){
seldesc
=
" Escalations for Host"
;
}
printf
(
"<tr><td align=left class='reportSelectSubTitle'>Show Only%s:</td></tr>
\n
"
,
seldesc
);
printf
(
"<tr><td align=left class='reportSelectItem'><input type='text' name='expand'
\n
"
);
printf
(
"value='%s'>"
,
html_encode
(
to_expand
,
FALSE
));
printf
(
"value='%s'>"
,
escape_string
(
to_expand
));
}
int
main
(
void
){
...
...
@@ -429,7 +429,7 @@ int process_cgivars(void){
error
=
TRUE
;
break
;
}
strncpy
(
to_expand
,
escape_string
(
variables
[
x
])
,
MAX_COMMAND_BUFFER
);
strncpy
(
to_expand
,
variables
[
x
]
,
MAX_COMMAND_BUFFER
);
to_expand
[
MAX_COMMAND_BUFFER
-
1
]
=
'\0'
;
}
...
...
@@ -516,7 +516,7 @@ void display_hosts(void){
printf
(
"
\n
"
);
}
else
{
printf
(
"<P><DIV ALIGN=CENTER CLASS='dataTitle'>Host%s%s</DIV></P>
\n
"
,
(
*
to_expand
==
'\0'
?
"s"
:
" "
),(
*
to_expand
==
'\0'
?
""
:
html_encode
(
to_expand
,
FALSE
)));
(
*
to_expand
==
'\0'
?
"s"
:
" "
),(
*
to_expand
==
'\0'
?
""
:
escape_string
(
to_expand
)));
printf
(
"<P><DIV ALIGN=CENTER>
\n
"
);
printf
(
"<TABLE BORDER=0 CLASS='data'>
\n
"
);
...
...
@@ -1076,7 +1076,7 @@ void display_hostgroups(void){
printf
(
"%sAction URL%s
\n
"
,
csv_data_enclosure
,
csv_data_enclosure
);
}
else
{
printf
(
"<P><DIV ALIGN=CENTER CLASS='dataTitle'>Host Group%s%s</DIV></P>
\n
"
,
(
*
to_expand
==
'\0'
?
"s"
:
" "
),(
*
to_expand
==
'\0'
?
""
:
html_encode
(
to_expand
,
FALSE
)));
(
*
to_expand
==
'\0'
?
"s"
:
" "
),(
*
to_expand
==
'\0'
?
""
:
escape_string
(
to_expand
)));
printf
(
"<P>
\n
"
);
printf
(
"<DIV ALIGN=CENTER>
\n
"
);
...
...
@@ -1209,7 +1209,7 @@ void display_servicegroups(void){
printf
(
"
\n
"
);
}
else
{
printf
(
"<P><DIV ALIGN=CENTER CLASS='dataTitle'>Service Group%s%s</DIV></P>
\n
"
,
(
*
to_expand
==
'\0'
?
"s"
:
" "
),(
*
to_expand
==
'\0'
?
""
:
html_encode
(
to_expand
,
FALSE
)));
(
*
to_expand
==
'\0'
?
"s"
:
" "
),(
*
to_expand
==
'\0'
?
""
:
escape_string
(
to_expand
)));
printf
(
"<P>
\n
"
);
printf
(
"<DIV ALIGN=CENTER>
\n
"
);
...
...
@@ -1348,7 +1348,7 @@ void display_contacts(void){
printf
(
"
\n
"
);
}
else
{
printf
(
"<P><DIV ALIGN=CENTER CLASS='dataTitle'>Contact%s%s</DIV></P>
\n
"
,
(
*
to_expand
==
'\0'
?
"s"
:
" "
),(
*
to_expand
==
'\0'
?
""
:
html_encode
(
to_expand
,
FALSE
)));
(
*
to_expand
==
'\0'
?
"s"
:
" "
),(
*
to_expand
==
'\0'
?
""
:
escape_string
(
to_expand
)));
printf
(
"<P>
\n
"
);
printf
(
"<DIV ALIGN=CENTER>
\n
"
);
...
...
@@ -1629,7 +1629,7 @@ void display_contactgroups(void){
printf
(
"
\n
"
);
}
else
{
printf
(
"<P><DIV ALIGN=CENTER CLASS='dataTitle'>Contact Group%s%s</DIV></P>
\n
"
,
(
*
to_expand
==
'\0'
?
"s"
:
" "
),(
*
to_expand
==
'\0'
?
""
:
html_encode
(
to_expand
,
FALSE
)));
(
*
to_expand
==
'\0'
?
"s"
:
" "
),(
*
to_expand
==
'\0'
?
""
:
escape_string
(
to_expand
)));
printf
(
"<P>
\n
"
);
printf
(
"<DIV ALIGN=CENTER>
\n
"
);
...
...
@@ -1771,7 +1771,7 @@ void display_services(void){
printf
(
"
\n
"
);
}
else
{
printf
(
"<P><DIV ALIGN=CENTER CLASS='dataTitle'>Service%s%s</DIV></P>
\n
"
,
(
*
to_expand
==
'\0'
?
"s"
:
"s Named or on Host "
),(
*
to_expand
==
'\0'
?
""
:
html_encode
(
to_expand
,
FALSE
)));
(
*
to_expand
==
'\0'
?
"s"
:
"s Named or on Host "
),(
*
to_expand
==
'\0'
?
""
:
escape_string
(
to_expand
)));
printf
(
"<P>
\n
"
);
printf
(
"<DIV ALIGN=CENTER>
\n
"
);
...
...
@@ -2314,7 +2314,7 @@ void display_timeperiods(void){
printf
(
"
\n
"
);
}
else
{
printf
(
"<P><DIV ALIGN=CENTER CLASS='dataTitle'>Time Period%s%s</DIV></P>
\n
"
,
(
*
to_expand
==
'\0'
?
"s"
:
" "
),(
*
to_expand
==
'\0'
?
""
:
html_encode
(
to_expand
,
FALSE
)));
(
*
to_expand
==
'\0'
?
"s"
:
" "
),(
*
to_expand
==
'\0'
?
""
:
escape_string
(
to_expand
)));
printf
(
"<P>
\n
"
);
printf
(
"<DIV ALIGN=CENTER>
\n
"
);
...
...
@@ -2591,7 +2591,7 @@ void display_commands(void){
printf
(
"
\n
"
);
}
else
{
printf
(
"<P><DIV ALIGN=CENTER CLASS='dataTitle'>Command%s%s</DIV></P>
\n
"
,
(
*
to_expand
==
'\0'
?
"s"
:
" "
),(
*
to_expand
==
'\0'
?
""
:
html_encode
(
to_expand
,
FALSE
)));
(
*
to_expand
==
'\0'
?
"s"
:
" "
),(
*
to_expand
==
'\0'
?
""
:
escape_string
(
to_expand
)));
printf
(
"<P><DIV ALIGN=CENTER>
\n
"
);
printf
(
"<TABLE BORDER=0 CLASS='data'>
\n
"
);
...
...
@@ -2664,7 +2664,7 @@ void display_servicedependencies(void){
printf
(
"%sDependency Failure Options%s
\n
"
,
csv_data_enclosure
,
csv_data_enclosure
);
}
else
{
printf
(
"<P><DIV ALIGN=CENTER CLASS='dataTitle'>Service Dependencie%s%s</DIV></P>
\n
"
,
(
*
to_expand
==
'\0'
?
"s"
:
"s Involving Host "
),(
*
to_expand
==
'\0'
?
""
:
html_encode
(
to_expand
,
FALSE
)));
(
*
to_expand
==
'\0'
?
"s"
:
"s Involving Host "
),(
*
to_expand
==
'\0'
?
""
:
escape_string
(
to_expand
)));
printf
(
"<P>
\n
"
);
printf
(
"<DIV ALIGN=CENTER>
\n
"
);
...
...
@@ -2819,7 +2819,7 @@ void display_serviceescalations(void){
printf
(
"%sEscalation Options%s
\n
"
,
csv_data_enclosure
,
csv_data_enclosure
);
}
else
{
printf
(
"<P><DIV ALIGN=CENTER CLASS='dataTitle'>Service Escalation%s%s</DIV></P>
\n
"
,
(
*
to_expand
==
'\0'
?
"s"
:
"s on Host "
),(
*
to_expand
==
'\0'
?
""
:
html_encode
(
to_expand
,
FALSE
)));
(
*
to_expand
==
'\0'
?
"s"
:
"s on Host "
),(
*
to_expand
==
'\0'
?
""
:
escape_string
(
to_expand
)));
printf
(
"<P>
\n
"
);
printf
(
"<DIV ALIGN=CENTER>
\n
"
);
...
...
@@ -3067,7 +3067,7 @@ void display_hostdependencies(void){
printf
(
"%sDependency Failure Options%s
\n
"
,
csv_data_enclosure
,
csv_data_enclosure
);
}
else
{
printf
(
"<P><DIV ALIGN=CENTER CLASS='dataTitle'>Host Dependencie%s%s</DIV></P>
\n
"
,
(
*
to_expand
==
'\0'
?
"s"
:
"s Involving Host "
),(
*
to_expand
==
'\0'
?
""
:
html_encode
(
to_expand
,
FALSE
)));
(
*
to_expand
==
'\0'
?
"s"
:
"s Involving Host "
),(
*
to_expand
==
'\0'
?
""
:
escape_string
(
to_expand
)));
printf
(
"<P>
\n
"
);
printf
(
"<DIV ALIGN=CENTER>
\n
"
);
...
...
@@ -3202,7 +3202,7 @@ void display_hostescalations(void){
printf
(
"%sEscalation Options%s
\n
"
,
csv_data_enclosure
,
csv_data_enclosure
);
}
else
{
printf
(
"<P><DIV ALIGN=CENTER CLASS='dataTitle'>Host Escalation%s%s</DIV></P>
\n
"
,
(
*
to_expand
==
'\0'
?
"s"
:
"s for Host "
),(
*
to_expand
==
'\0'
?
""
:
html_encode
(
to_expand
,
FALSE
)));
(
*
to_expand
==
'\0'
?
"s"
:
"s for Host "
),(
*
to_expand
==
'\0'
?
""
:
escape_string
(
to_expand
)));
printf
(
"<P>
\n
"
);
printf
(
"<DIV ALIGN=CENTER>
\n
"
);
...
...
@@ -3421,7 +3421,7 @@ void display_modules(void){
printf
(
"
\n
"
);
}
else
{
printf
(
"<P><DIV ALIGN=CENTER CLASS='dataTitle'>Module%s%s</DIV></P>
\n
"
,
(
*
to_expand
==
'\0'
?
"s"
:
" "
),(
*
to_expand
==
'\0'
?
""
:
html_encode
(
to_expand
,
FALSE
)));
(
*
to_expand
==
'\0'
?
"s"
:
" "
),(
*
to_expand
==
'\0'
?
""
:
escape_string
(
to_expand
)));
printf
(
"<P><DIV ALIGN=CENTER>
\n
"
);
printf
(
"<TABLE BORDER=0 CLASS='data'>
\n
"
);
...
...
@@ -3548,9 +3548,9 @@ void display_command_expansion(void){
if
((
*
to_expand
)
!=
'\0'
){
arg_count
[
0
]
=
0
;
printf
(
"<TR CLASS='dataEven'><TD CLASS='dataEven'>To expand:</TD><TD CLASS='dataEven'>%s"
,
command_args
[
0
]
);
printf
(
"<TR CLASS='dataEven'><TD CLASS='dataEven'>To expand:</TD><TD CLASS='dataEven'>%s"
,
escape_string
(
command_args
[
0
])
);
for
(
i
=
1
;(
i
<
MAX_COMMAND_ARGUMENTS
)
&&
command_args
[
i
];
i
++
)
printf
(
"!<FONT
\n
COLOR='%s'>%s</FONT>"
,
hash_color
(
i
),
command_args
[
i
]
);
printf
(
"!<FONT
\n
COLOR='%s'>%s</FONT>"
,
hash_color
(
i
),
escape_string
(
command_args
[
i
])
);
printf
(
"
\n
</TD></TR>
\n
"
);
/* check all commands */
...
...
@@ -3607,7 +3607,7 @@ void display_command_expansion(void){
if
(
command_args
[
i
]){
if
(
*
(
command_args
[
i
])
!=
'\0'
)
printf
(
"<FONT COLOR='%s'><B>%s%s%s</B></FONT>"
,
hash_color
(
i
),((
lead_space
[
i
]
>
0
)
||
(
trail_space
[
i
]
>
0
)
?
"<U>‍"
:
""
),
html_encode
(
command_args
[
i
],
FALSE
),((
lead_space
[
i
]
>
0
)
||
(
trail_space
[
i
]
>
0
)
?
"‍</U>"
:
""
));
escape_string
(
command_args
[
i
]
),((
lead_space
[
i
]
>
0
)
||
(
trail_space
[
i
]
>
0
)
?
"‍</U>"
:
""
));
else
printf
(
"<FONT COLOR='#0000FF'>(empty)</FONT>"
);
}
else
printf
(
"<FONT COLOR='#0000FF'>(undefined)</FONT>"
);
...
...
@@ -3632,13 +3632,13 @@ void display_command_expansion(void){
if
(
arg_count
[
i
]
==
0
){
printf
(
"<TR CLASS='%s'><TD CLASS='%s' ALIGN='right'><FONT COLOR='#FF0000'>unused:</FONT></TD>
\n
"
,
bg_class
,
bg_class
);
printf
(
"<TD CLASS='%s'>$ARG%u$=<FONT COLOR='%s'>%s%s%s</FONT></TD></TR>
\n
"
,
bg_class
,
i
,
hash_color
(
i
),
((
lead_space
[
i
]
>
0
)
||
(
trail_space
[
i
]
>
0
)
?
"<U>‍"
:
""
),
html_encode
(
command_args
[
i
],
FALSE
),
((
lead_space
[
i
]
>
0
)
||
(
trail_space
[
i
]
>
0
)
?
"<U>‍"
:
""
),
escape_string
(
command_args
[
i
]
),
((
lead_space
[
i
]
>
0
)
||
(
trail_space
[
i
]
>
0
)
?
"‍</U>"
:
""
));
}
else
if
(
arg_count
[
i
]
>
1
){
printf
(
"<TR CLASS='%s'><TD CLASS='%s' ALIGN='right'>used %u x:</TD>
\n
"
,
bg_class
,
bg_class
,
i
);
printf
(
"<TD CLASS='%s'>$ARG%u$=<FONT COLOR='%s'>%s%s%s</FONT></TD></TR>
\n
"
,
bg_class
,
i
,
hash_color
(
i
),
((
lead_space
[
i
]
>
0
)
||
(
trail_space
[
i
]
>
0
)
?
"<U>‍"
:
""
),
html_encode
(
command_args
[
i
],
FALSE
),
((
lead_space
[
i
]
>
0
)
||
(
trail_space
[
i
]
>
0
)
?
"<U>‍"
:
""
),
escape_string
(
command_args
[
i
]
),
((
lead_space
[
i
]
>
0
)
||
(
trail_space
[
i
]
>
0
)
?
"‍</U>"
:
""
));
}
if
((
lead_space
[
i
]
>
0
)
||
(
trail_space
[
i
]
>
0
)){
...
...
@@ -3673,13 +3673,13 @@ void display_command_expansion(void){
if
(
!
arg_count
[
0
]){
printf
(
"<TR CLASS='dataOdd'><TD CLASS='dataOdd' ALIGN='right'><FONT
\n
"
);
printf
(
"COLOR='#FF0000'>Error:</FONT></TD><TD CLASS='dataOdd'><FONT COLOR='#FF0000'>No
\n
"
);
printf
(
"command "%s" found</FONT></TD></TR>
\n
"
,
html_encode
(
command_args
[
0
],
FALSE
));
printf
(
"command "%s" found</FONT></TD></TR>
\n
"
,
escape_string
(
command_args
[
0
]
));
}
}
printf
(
"<TR CLASS='dataEven'><TD CLASS='dataEven'>To expand:</TD><TD CLASS='dataEven'><FORM
\n
"
);
printf
(
"METHOD='GET' ACTION='%s'><INPUT TYPE='HIDDEN' NAME='type' VALUE='command'><INPUT
\n
"
,
CONFIG_CGI
);
printf
(
"TYPE='text' NAME='expand' SIZE='100%%' VALUE='%s'>
\n
"
,
html_encode
(
to_expand
,
FALSE
));
printf
(
"TYPE='text' NAME='expand' SIZE='100%%' VALUE='%s'>
\n
"
,
escape_string
(
to_expand
));
printf
(
"<INPUT TYPE='SUBMIT' VALUE='Go'></FORM></TD></TR>
\n
"
);
printf
(
"</TABLE>
\n
"
);
...
...
cgi/status.c
View file @
3b8c280b
...
...
@@ -5154,10 +5154,13 @@ int add_status_data(int status_type, hoststatus *host_status, servicestatus *ser
/* plugin ouput */
if
(
status_show_long_plugin_output
!=
FALSE
&&
plugin_output_long
!=
NULL
)
{
if
(
content_type
==
CSV_CONTENT
||
content_type
==
JSON_CONTENT
)
dummy
=
asprintf
(
&
plugin_output
,
"%s %s"
,
plugin_output_short
,
escape_newlines
(
plugin_output_long
));
else
dummy
=
asprintf
(
&
plugin_output
,
"%s<BR>%s"
,
html_encode
(
plugin_output_short
,
TRUE
),
html_encode
(
plugin_output_long
,
TRUE
));
if
(
content_type
==
CSV_CONTENT
||
content_type
==
JSON_CONTENT
)
{
if
(
plugin_output_short
!=
NULL
)
dummy
=
asprintf
(
&
plugin_output
,
"%s"
,
escape_newlines
(
plugin_output_long
));
else
dummy
=
asprintf
(
&
plugin_output
,
"%s %s"
,
plugin_output_short
,
escape_newlines
(
plugin_output_long
));
}
else
dummy
=
asprintf
(
&
plugin_output
,
"%s<BR>%s"
,(
plugin_output_short
==
NULL
)
?
""
:
html_encode
(
plugin_output_short
,
TRUE
),
html_encode
(
plugin_output_long
,
TRUE
));
}
else
if
(
plugin_output_short
!=
NULL
)
{
if
(
content_type
==
CSV_CONTENT
||
content_type
==
JSON_CONTENT
)
dummy
=
asprintf
(
&
plugin_output
,
"%s"
,
plugin_output_short
);
...
...
configure
View file @
3b8c280b
...
...
@@ -2399,9 +2399,9 @@ ac_config_headers="$ac_config_headers include/config.h include/snprintf.h"
PKG_NAME
=
icinga-core
PKG_VERSION
=
"1.4.
1
"
PKG_VERSION
=
"1.4.
2
"
PKG_HOME_URL
=
"http://www.icinga.org/"
PKG_REL_DATE
=
"0
5-11
-2011"
PKG_REL_DATE
=
"0
6-29
-2011"
ac_aux_dir
=
for
ac_dir
in
"
$srcdir
"
"
$srcdir
/.."
"
$srcdir
/../.."
;
do
...
...
@@ -8307,7 +8307,7 @@ echo ""
echo
"Creating sample config files in module/idoutils/config/ ..."
perl subst
$srcdir
/module/idoutils/config/icinga.cfg
perl subst
$srcdir
/module/idoutils/config/idoutils.cfg
perl subst
$srcdir
/module/idoutils/config/idoutils.cfg
-sample
perl subst
$srcdir
/module/idoutils/config/ido2db.cfg-sample
perl subst
$srcdir
/module/idoutils/config/idomod.cfg-sample
...
...
configure.in
View file @
3b8c280b
...
...
@@ -9,9 +9,9 @@ AC_CONFIG_HEADER(include/config.h include/snprintf.h)
AC_PREFIX_DEFAULT(/usr/local/icinga)
PKG_NAME=icinga-core
PKG_VERSION="1.4.
1
"
PKG_VERSION="1.4.
2
"
PKG_HOME_URL="http://www.icinga.org/"
PKG_REL_DATE="0
5-11
-2011"
PKG_REL_DATE="0
6-29
-2011"
dnl Figure out how to invoke "install" and what install options to use.
AC_PROG_INSTALL
...
...
@@ -1205,7 +1205,7 @@ echo ""
echo "Creating sample config files in module/idoutils/config/ ..."
perl subst $srcdir/module/idoutils/config/icinga.cfg
perl subst $srcdir/module/idoutils/config/idoutils.cfg
perl subst $srcdir/module/idoutils/config/idoutils.cfg
-sample
perl subst $srcdir/module/idoutils/config/ido2db.cfg-sample
perl subst $srcdir/module/idoutils/config/idomod.cfg-sample
...
...
docbook/de/extcommands2.xml
View file @
3b8c280b
...
...
@@ -20,7 +20,7 @@
now=`date +%s`
commandfile='/usr/local/icinga/var/rw/icinga.cmd'
/bin/printf "[%lu] ACKNOWLEDGE_HOST_PROBLEM; $now
>
$commandfile
</programlisting>
/bin/printf "[%lu] ACKNOWLEDGE_HOST_PROBLEM;
Host1;1;1;1;Max Mustermann;ein Kommentar\n"
$now
>
$commandfile
</programlisting>
<!--
<para><emphasis role="bold">Index</emphasis></para>
...
...
docbook/de/upgrading.xml
View file @
3b8c280b
...
...
@@ -18,11 +18,15 @@
<para><link
linkend=
"upgrading-rpm"
>
Aktualisierung einer RPM-Installation
</link></para>
<note><para>
Wenn Sie die
&name-idoutils;
benutzen, dann müssen Sie auch diese aktualisieren. Weitere Informationen finden Sie im Abschnitt
<link
linkend=
"upgrading_idoutils"
>
IDOUtils-Datenbank aktualisieren
</link>
.
</para></note>
<note>
<para>
Wenn Sie die
&name-idoutils;
benutzen, dann müssen Sie auch diese aktualisieren. Weitere Informationen finden Sie im Abschnitt
<link
linkend=
"upgrading_idoutils"
>
IDOUtils-Datenbank aktualisieren
</link>
.
</para>
</note>
<note><para>
Wenn Sie
&name-web;
benutzen, dann müssen Sie auch diese aktualisieren. Weitere Informationen finden Sie im Abschnitt
<link
linkend=
"upgrading_icingaweb"
>
Aktualisierung von Icinga-Web und Icinga-Web-Datenbank
</link>
.
</para></note>
<note>
<para>
Wenn Sie
&name-web;
benutzen, dann müssen Sie auch diese aktualisieren. Weitere Informationen finden Sie im Abschnitt
<link
linkend=
"upgrading_icingaweb"
>
Aktualisierung von Icinga-Web und Icinga-Web-Datenbank
</link>
.
</para>
</note>
<para><anchor
xml:id=
"upgrading-icinga"
/>
<emphasis
role=
"bold"
>
Aktualisierung von
&name-icinga;
</emphasis></para>
...
...
@@ -36,12 +40,13 @@
haben. Wenn irgendetwas schief geht oder nicht funktioniert, dann können Sie auf diese Weise schnell Ihre alte
&name-icinga;
-Version
wiederherstellen.
</para>
<para>
Werden Sie der icinga-Benutzer. Debian/Ubuntu-Benutzer sollten
sudo -s icinga
benutzen.
</para>
<para>
Werden Sie der icinga-Benutzer. Debian/Ubuntu-Benutzer sollten
<code>
sudo -s icinga
</code>
benutzen.
</para>
<programlisting>
$
>
su -l icinga
</programlisting>
<para>
Holen Sie sich das Quellcode-Archiv der letzten
&name-icinga;
-Version (besuchen Sie
&url-icinga;
für den Verweis auf die letzte
Version) und entpacken Sie das Quellcode-Archiv.
</para>
<para>
Holen Sie sich das Quellcode-Archiv der letzten
&name-icinga;
-Version (besuchen Sie
<link
xlink:href=
"http://www.icinga.org/"
>
&url-icinga;
</link>
für den Verweis auf die letzte Version) und entpacken Sie das
Quellcode-Archiv.
</para>
<para>
Starten Sie das
&name-icinga;
-configure-Script mit den gleichen Optionen wie bei der letzten Installation, z.B. so:
</para>
...
...
@@ -76,7 +81,9 @@
<screen>
#
>
yum install php mod_php
</screen>
<para><emphasis>
openSuSE / SLES:
</emphasis>
Nutzen Sie yast zur Installation der Pakete
<emphasis>
php5
</emphasis>
und
<emphasis>
apache2-mod_php5
</emphasis>
.
</para>
<emphasis>
apache2-mod_php5
</emphasis>
oder benutzen Sie zypper
</para>
<para><programlisting>
#
>
zypper install php5 apache2-mod_php5
</programlisting></para>
<para>
Stellen Sie sicher, dass Sie eine gute Datensicherung Ihrer bestehenden
&name-nagios;
-Installation und der Konfigurationsdateien
haben. Wenn irgendetwas schief geht oder nicht funktioniert, dann können Sie auf diese Weise schnell Ihre alte
&name-nagios;
-Version
...
...
@@ -87,20 +94,22 @@
<itemizedlist>
<listitem>
<para>
der Default-Präfix nun "
/usr/local/icinga
" heißt
</para>
<para>
der Default-Präfix nun "
<filename>
/usr/local/icinga
</filename>
" heißt
</para>
</listitem>
<listitem>
<para>
die Umgebungs-Makros nun mit ICINGA_ beginnen
</para>
<para>
PNP4Nagios berücksichtigt das seit 0.6rc1 (2009.09.20), aber Sie benötigen die Makros lediglich im "sync"-Modus.
</para>
<para>
check_multi bietet Unterstützung seit 0.21 (2010.06.03), aber Sie müssen dazu die Installation mit beginnend mit dem Schritt
'
configure --with-nagios_name=icinga' erneut durchführen, damit die check_multi-Prozedur mit geänderten Werten erstellt wird.
Stattdessen können Sie auch die Option "-s" zur Übergabe von Werten benutzen.
</para>
'
<code>
configure --with-nagios_name=icinga
</code>
' erneut durchführen, damit die check_multi-Prozedur mit geänderten Werten erstellt
wird.
Stattdessen können Sie auch die Option "-s" zur Übergabe von Werten benutzen.
</para>
</listitem>
<listitem>
<para>
die Konfigurationsdateien der (verbesserten) IDOUtils heißen nun idomod.cfg/ido2db.cfg anstatt ndomod.cfg/ndo2db.cfg
</para>
<para>
die Konfigurationsdateien der (verbesserten) IDOUtils heißen nun
<filename>
idomod.cfg/ido2db.cfg
</filename>
anstatt
<filename>
ndomod.cfg/ndo2db.cfg
</filename></para>
</listitem>
</itemizedlist>
...
...
@@ -118,8 +127,8 @@
<screen>
#
>
tar xzf icinga-
<emphasis>
&ver-icinga;
</emphasis>
.tar.gz
#
>
cd icinga-
<emphasis>
&ver-icinga;
</emphasis>
</screen>
<para>
Starten Sie das
&name-icinga;
-configure-Script mit den Optionen, die Sie beim
./configure von
&name-nagios;
benutzt haben. Den
Aufruf finden Sie in der Datei config.log
. Beispiel:
</para>