Hi.

On Fri Jan 27, 2017 at 20:31:04PM +0100, Stephane Bortzmeyer wrote:
> I have a debugging problem with a command, and I'm looking for a way
> to get the actual command line that Icinga executes. I do not find it
> on the IcingaWeb2 interface, nor in the log files. Is it available
> somwhere?
Enable debug log (icinga2 feature enable debuglog), restart (not
reload!) icinga2. The debug log can usually found in
/var/log/icinga2/debug.log. Look for lines with:

"notice/Process: Running command"

in the HUGE list of output.

Don't forget to disable debuglog when you are done
and make sure to remove the debug.log as it will contain
sensitive informations (e.g. SNMP communities, passphrases, ...)

HTH,

Andreas.

-- 
"Things that try to look like things often do
 look more like things than things. Well-known fact."
Granny Weatherwax - "Wyrd sisters"

Attachment: signature.asc
Description: PGP signature

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

Reply via email to