Hi,I'm using a script for automatic deployments of new configuration using director. The script should notify me when some problem occurs. The script is called from cronjob.
A part of this script checks if the configuration was deployed successfully or not - see https://github.com/CESNET/eduroam-icinga/blob/master/sync/main.sh#L31-L47
It seems that this specific parts behaves strange. Sometimes it gives me the startup log as it should, but sometimes it just gives me NULL. The deploy takes only several seconds, at least it seems so from icingaweb - configuration is successfully deployed several seconds after cronjob ran.
Is there some better way to check if the newly deployed configuration is valid and that startup log does not contain any warnings/errors?
cheers, Vaclav -- Václav Mach tel: +420 234 680 206 CESNET, z.s.p.o. www.cesnet.cz
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users