On 3/18/19 9:08 PM, Antony Stone wrote:
On Monday 18 March 2019 at 21:00:45, Václav Mach wrote:

I've not seen a thing that worked on console and not in the actual
configuration. What output do you get when you try step by step (like
above) while using log function?

If I could get the log() function to actually put anything into
/var/log/icinga2/icinga2.log, I'd be rather happier than I am now...

I'm not sure about that. If you're not using director or some other way of dynamic config, it should be enough to just edit the config files and then check the current configuration by 'icinga2 daemon -C'.

This command just takes the current configuration and evaluates it. While this is happening, your debug log() calls also get evaluated and you get some of output. Not a great way to debug it, but at least something.

cheers,
Vaclav
--
Václav Mach
tel: +420 234 680 206
CESNET, z.s.p.o.
www.cesnet.cz

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to