Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dev.icinga.com #7123] Manubulon-Plugin conf Filename wrong #1958

Closed
icinga-migration opened this issue Sep 8, 2014 · 3 comments
Closed
Labels
area/configuration DSL, parser, compiler, error handling bug Something isn't working
Milestone

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/7123

Created by crsp on 2014-09-08 07:55:06 +00:00

Assignee: mfriedrich
Status: Resolved (closed on 2014-09-08 09:25:04 +00:00)
Target Version: 2.1.1
Last Update: 2014-09-08 09:25:04 +00:00 (in Redmine)

Icinga Version: r2.1.0-1 from Debmon

include in icinga2.conf results in:

tail: /var/log/icinga2/startup.log: file truncated
[2014-09-08 09:38:14 +0200] information/icinga-app: Icinga application loader (version: r2.1.0-1)
[2014-09-08 09:38:14 +0200] information/icinga-app: Loading application type: icinga/IcingaApplication
[2014-09-08 09:38:14 +0200] information/Utility: Loading library 'libicinga.so'
[2014-09-08 09:38:14 +0200] information/ConfigCompiler: Adding include search dir: /usr/share/icinga2/include
[2014-09-08 09:38:14 +0200] information/ConfigCompiler: Compiling config file: /etc/icinga2/icinga2.conf
[2014-09-08 09:38:14 +0200] information/ConfigCompiler: Compiling config file: /etc/icinga2/constants.conf
[2014-09-08 09:38:14 +0200] information/ConfigCompiler: Compiling config file: /etc/icinga2/zones.conf
[2014-09-08 09:38:14 +0200] information/ConfigCompiler: Compiling config file: /usr/share/icinga2/include/itl
[2014-09-08 09:38:14 +0200] information/ConfigCompiler: Compiling config file: /usr/share/icinga2/include/command.conf
[2014-09-08 09:38:14 +0200] information/Utility: Loading library 'libmethods.so'
[2014-09-08 09:38:14 +0200] information/ConfigCompiler: Compiling config file: /usr/share/icinga2/include/command-icinga.conf
[2014-09-08 09:38:14 +0200] information/ConfigCompiler: Compiling config file: /usr/share/icinga2/include/timeperiod.conf
[2014-09-08 09:38:14 +0200] information/ConfigCompiler: Compiling config file: /usr/share/icinga2/include/plugins
[2014-09-08 09:38:14 +0200] information/ConfigCompiler: Compiling config file: /usr/share/icinga2/include/command-plugins.conf
[2014-09-08 09:38:14 +0200] information/ConfigCompiler: Compiling config file: /usr/share/icinga2/include/manubulon
[2014-09-08 09:38:14 +0200] information/ConfigCompiler: Compiling config file: /etc/icinga2/features-enabled/checker.conf
[2014-09-08 09:38:14 +0200] information/Utility: Loading library 'libchecker.so'
[2014-09-08 09:38:14 +0200] information/ConfigCompiler: Compiling config file: /etc/icinga2/features-enabled/command.conf
[2014-09-08 09:38:14 +0200] information/Utility: Loading library 'libcompat.so'
[2014-09-08 09:38:14 +0200] information/ConfigCompiler: Compiling config file: /etc/icinga2/features-enabled/compatlog.conf
[2014-09-08 09:38:14 +0200] information/Utility: Loading library 'libcompat.so'
[2014-09-08 09:38:14 +0200] information/ConfigCompiler: Compiling config file: /etc/icinga2/features-enabled/graphite.conf
[2014-09-08 09:38:14 +0200] information/Utility: Loading library 'libperfdata.so'
[2014-09-08 09:38:14 +0200] information/ConfigCompiler: Compiling config file: /etc/icinga2/features-enabled/mainlog.conf
[2014-09-08 09:38:14 +0200] information/ConfigCompiler: Compiling config file: /etc/icinga2/features-enabled/notification.conf
[2014-09-08 09:38:14 +0200] information/Utility: Loading library 'libnotification.so'
[2014-09-08 09:38:14 +0200] information/ConfigCompiler: Compiling config file: /etc/icinga2/features-enabled/perfdata.conf
[2014-09-08 09:38:14 +0200] information/Utility: Loading library 'libperfdata.so'
[2014-09-08 09:38:14 +0200] information/ConfigCompiler: Compiling config file: /etc/icinga2/features-enabled/statusdata.conf
[2014-09-08 09:38:14 +0200] information/Utility: Loading library 'libcompat.so'
[2014-09-08 09:38:14 +0200] information/ConfigCompiler: Compiling config file: /etc/icinga2/conf.d/commands.conf
[2014-09-08 09:38:14 +0200] information/ConfigCompiler: Compiling config file: /etc/icinga2/conf.d/downtimes.conf
[2014-09-08 09:38:14 +0200] information/ConfigCompiler: Compiling config file: /etc/icinga2/conf.d/groups.conf
[2014-09-08 09:38:14 +0200] information/ConfigCompiler: Compiling config file: /etc/icinga2/conf.d/notifications.conf
[2014-09-08 09:38:14 +0200] information/ConfigCompiler: Compiling config file: /etc/icinga2/conf.d/services.conf
[2014-09-08 09:38:14 +0200] information/ConfigCompiler: Compiling config file: /etc/icinga2/conf.d/templates.conf
[2014-09-08 09:38:14 +0200] information/ConfigCompiler: Compiling config file: /etc/icinga2/conf.d/timeperiods.conf
[2014-09-08 09:38:14 +0200] information/ConfigCompiler: Compiling config file: /etc/icinga2/conf.d/users.conf
[2014-09-08 09:38:14 +0200] information/ConfigCompiler: Compiling config file: /etc/icinga2/conf.d/check_commands/check_interfaces.conf
[2014-09-08 09:38:14 +0200] information/ConfigCompiler: Compiling config file: /etc/icinga2/conf.d/check_commands/check_nt.conf
[2014-09-08 09:38:14 +0200] information/ConfigCompiler: Compiling config file: /etc/icinga2/conf.d/hosts/hosts.conf
[2014-09-08 09:38:14 +0200] information/ConfigCompiler: Compiling config file: /etc/icinga2/conf.d/hosts/localhost.conf
[2014-09-08 09:38:14 +0200] information/ConfigCompiler: Compiling config file: /etc/icinga2/conf.d/hosts/localhost/apt.conf
[2014-09-08 09:38:14 +0200] information/ConfigCompiler: Compiling config file: /etc/icinga2/conf.d/hosts/localhost/disk.conf
[2014-09-08 09:38:14 +0200] information/ConfigCompiler: Compiling config file: /etc/icinga2/conf.d/hosts/localhost/http.conf
[2014-09-08 09:38:14 +0200] information/ConfigCompiler: Compiling config file: /etc/icinga2/conf.d/hosts/localhost/icinga.conf
[2014-09-08 09:38:14 +0200] information/ConfigCompiler: Compiling config file: /etc/icinga2/conf.d/hosts/localhost/load.conf
[2014-09-08 09:38:14 +0200] information/ConfigCompiler: Compiling config file: /etc/icinga2/conf.d/hosts/localhost/procs.conf
[2014-09-08 09:38:14 +0200] information/ConfigCompiler: Compiling config file: /etc/icinga2/conf.d/hosts/localhost/ssh.conf
[2014-09-08 09:38:14 +0200] information/ConfigCompiler: Compiling config file: /etc/icinga2/conf.d/hosts/localhost/swap.conf
[2014-09-08 09:38:14 +0200] information/ConfigCompiler: Compiling config file: /etc/icinga2/conf.d/hosts/localhost/users.conf
[2014-09-08 09:38:14 +0200] information/ConfigCompiler: Compiling config file: /etc/icinga2/conf.d/services/services.conf
[2014-09-08 09:38:14 +0200] critical/config:
Config error: /tmp/buildd/icinga2-2.1.0/lib/config/configcompiler.cpp(134): Throw in function void icinga::ConfigCompiler::HandleInclude(const icinga::String&, bool, const ic inga::DebugInfo&)
Dynamic exception type: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injectorstd::invalid_argument >
std::exception::what: Include file 'plugin-commands-manubulon.conf' does not exist: in /usr/share/icinga2/include/manubulon: 24:1-24:40
[icinga::StackTrace*] =
(0) libbase.so: void boost::throw_exception<boost::exception_detail::error_info_injectorstd::invalid_argument >(boost::exception_detail::error_info_injector<std::in valid_argument> const&) (+0x76) [0x7f8e8c5b2cb6]
(1) libbase.so: void boost::exception_detail::throw_exception_std::invalid_argument(std::invalid_argument const&, char const**, char const**, int) (+0x64) [0x7f8e8c5b bb64]
(2) libconfig.so: icinga::ConfigCompiler::HandleInclude(icinga::String const&, bool, icinga::DebugInfo const&) (+0x5c6) [0x7f8e8c26d696]
(3) libconfig.so: yyparse(icinga::ConfigCompiler*) (+0x2be0) [0x7f8e8c286160]
(4) libconfig.so: icinga::ConfigCompiler::Compile() (+0x62) [0x7f8e8c289d62]
(5) libconfig.so: icinga::ConfigCompiler::CompileStream(icinga::String const&, std::istream*, icinga::String const&) (+0xc3) [0x7f8e8c26cc43]
(6) libconfig.so: icinga::ConfigCompiler::CompileFile(icinga::String const&, icinga::String const&) (+0x12e) [0x7f8e8c26d92e]
(7) libbase.so: icinga::Utility::Glob(icinga::String const&, boost::function<void (icinga::String const&)> const&, int) (+0x26d) [0x7f8e8c611bdd]
(8) libconfig.so: icinga::ConfigCompiler::HandleInclude(icinga::String const&, bool, icinga::DebugInfo const&) (+0x19c) [0x7f8e8c26d26c]
(9) libconfig.so: yyparse(icinga::ConfigCompiler*) (+0x2b2a) [0x7f8e8c2860aa]
(10) libconfig.so: icinga::ConfigCompiler::Compile() (+0x62) [0x7f8e8c289d62]
(11) libconfig.so: icinga::ConfigCompiler::CompileStream(icinga::String const&, std::istream*, icinga::String const&) (+0xc3) [0x7f8e8c26cc43]
(12) libconfig.so: icinga::ConfigCompiler::CompileFile(icinga::String const&, icinga::String const&) (+0x12e) [0x7f8e8c26d92e]
(13) icinga2: Main() (+0x22c1) [0x425531]
(14) icinga2: main (+0x24) [0x422a54]
(15) libc.so.6: __libc_start_main (+0xfd) [0x7f8e8a857eed]
(16) /usr/sbin/icinga2() [0x422b5d]

[icinga::ContextTrace*] =
(0) Compiling configuration stream with name '/usr/share/icinga2/include/manubulon'
(1) Compiling configuration file '/usr/share/icinga2/include/manubulon'
(2) Compiling configuration stream with name '/etc/icinga2/icinga2.conf'
(3) Compiling configuration file '/etc/icinga2/icinga2.conf'

[2014-09-08 09:38:14 +0200] critical/config: 1 errors, 0 warnings.

renaming command-plugins-manubulon.conf plugin-commands-manubulon.conf
fixes the Error.
Seems like the ConfigCompiler has wrong path/name config for that.

Changesets

2014-09-08 09:22:38 +00:00 by (unknown) ab7fc25

Fix Manubulon include file

fixes #7123
@icinga-migration
Copy link
Author

Updated by mfriedrich on 2014-09-08 08:16:58 +00:00

  • Status changed from New to Assigned
  • Assigned to set to mfriedrich
  • Target Version set to 2.1.1

Seems I forgot to commit that change, sorry about that. I remember changing the wrong location on disk.

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2014-09-08 08:17:20 +00:00

  • Estimated Hours set to 0.15

@icinga-migration
Copy link
Author

Updated by Anonymous on 2014-09-08 09:25:04 +00:00

  • Status changed from Assigned to Resolved
  • Done % changed from 0 to 100

Applied in changeset ab7fc25.

@icinga-migration icinga-migration added bug Something isn't working area/configuration DSL, parser, compiler, error handling labels Jan 17, 2017
@icinga-migration icinga-migration added this to the 2.1.1 milestone Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/configuration DSL, parser, compiler, error handling bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant