[Icinga-devel] Hello / Demo modules
paul at minimoo.org
Wed Apr 15 08:54:01 CEST 2015
I was mistakingly trying to load the hello 'app' as a hello 'library' -
with no config. i.e using library 'hello'
This was then processing application load once for hello and once for
And failing the assert that m_instance is null. Followed by a secondary
assert on the way out that the script frame does not match.
On 15 Apr 2015 06:58, "Gunnar Beutner" <Gunnar.Beutner at netways.de> wrote:
> Hi Paul,
> failed assertions are _always_ bugs.
> The ‚hello‘ module does not require any config:
> acheron:icinga2 gunnar$ icinga2 daemon -a hello -z
> [2015-04-15 07:54:16 +0200] information/cli: Icinga application loader
> (version: v2.3.0-129-ga3065d8; debug)
> [2015-04-15 07:54:16 +0200] information/ConfigItem: Committing config items
> [2015-04-15 07:54:16 +0200] information/ConfigItem: Checked 1 Hello(s).
> [2015-04-15 07:54:16 +0200] information/ScriptGlobal: Dumping variables to
> file '/Users/gunnar/i2/var/cache/icinga2/icinga2.vars'
> [2015-04-15 07:54:16 +0200] information/DynamicObject: Restoring program
> state from file '/Users/gunnar/i2/var/lib/icinga2/icinga2.state'
> [2015-04-15 07:54:16 +0200] information/DynamicObject: Restored 184
> objects. Loaded 1 new objects without state.
> [2015-04-15 07:54:16 +0200] information/ConfigItem: Triggering Start
> signal for config items
> [2015-04-15 07:54:16 +0200] information/ConfigItem: Activated all objects.
> [2015-04-15 07:54:16 +0200] information/Hello: Hello World!
> acheron:icinga2 gunnar$
> From: P Richards
> Reply-To: "icinga-devel at lists.icinga.org"
> Date: Tuesday 14 April 2015 23:10
> To: "icinga-devel at lists.icinga.org"
> Subject: [Icinga-devel] Hello / Demo modules
> I've been trying to take a look at the 'hello' and 'demo' modules within
> At the moment, I'm struggling to actually get these rather simple modules
> to work.
> Could someone confirm the purpose of the demo/hello module's, and provide
> a config file that can be used with them?
> For the demo module, I've opened a bug 9053 [
> https://dev.icinga.org/issues/9053] which has a patch to fix compilation
> issue. The commit to fix issue #8890 on 28th March @
> 6b928585664e15f75b1f1f;js=1 broke the build.
> For the hello module, my attempts to work out a config file for it are
> only generating an assertion failure, so before raising another bug, would
> like to check I'm doing it right ;)
> Gunnar Beutner
> Application Developer
> NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg
> Tel: +49 911 92885-0 | Fax: +49 911 92885-77
> GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
> http://www.netways.de | Gunnar.Beutner at netways.de
> ** OSDC 2015 - April - osdc.de **
> ** Puppet Camp Berlin 2015 - April - netways.de/puppetcamp **
> ** OSBConf 2015 - September - osbconf.org **
> icinga-devel mailing list
> icinga-devel at lists.icinga.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the icinga-devel