On Wed, May 25, 2011 at 4:16 PM, Ronny Lindner <ronny.lind...@unister.de>wrote:
> Hello again.
>
> I noticed a problem with check_multi and shinken:
> When macros like $HOSTADDRESS$ are used in check_multi, they are
> working in Nagios but not in Shinken. I tested it with these two checks
> in a multicheck-file:
> ==========
> command[test1] = env|grep NAGIOS|tee /tmp/multi
> command[test2] = env|tee /tmp/multi2
> ==========
>
> When /tmp/multi is written by nagios, it contains 184 lines with
> NAGIOS_XXXX=YYYY. Run with shinken this file stays empty.
>
> check_multi maps the environment variable NAGIOS_HOSTADDRESS to
> $HOSTADDRESS$ which can then be used in the Multi-Checks.
>
> PS.: We are currently testing Shinken with the complete production
> configuration (well, an edited one because for us Shinken was not
> configuration-compatible to Nagios). Some other reports will be coming
> in shortly by my colleague.
>
> Bye, Ronny Lindner
>
Hi,
You must have the default configuration from Shinken (etc/nagios.cfg) :
use_large_installation_tweaks=1
enable_environment_macros=0
Put the first one at 0 and the second to 1 and you will have the
environnement macros. But this will have an important impact on you
scheduler CPU consumption.
What was your configuration part that is not compatible in Shinken?
Thanks,
Jean
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel