Il est possible via l'option synchronizer__log_users__enabled d'activer des logs d'authentification supplémentaire dans un fichier spécifique. Cette option est configurable dans le fichier de configuration /etc/shinken/synchronizer.cfg.
Par défaut, les logs seront écrits dans le fichier /var/log/shinken/synchronizer/log_users.log. Cet emplacement peut être modifié via l'option synchronizer__log_users__file_path.
Pour plus d'information sur les options synchronizer__log_users__enabled et synchronizer__log_users__file_path, référez-vous à la page Synchronizer.cfg ( Paramètres globaux ) |
Si synchronizer__log_users__add_user_name est activé:
[ YYYY-MM-DD HH:MM:SS ] [ READ ] [ LOGIN ] [ RESULT:200 ] [ TIME: 1ms ] [ USER:<user_uuid> / <user_name> ] [ CALL_BY:<IP> ] [ AUTHENTICATED:OK ] [ BY:UI Configuration ] [ AUTHENTICATED BY THE MODULE:<module_name> ] |
Sinon:
[ YYYY-MM-DD HH:MM:SS ] [ READ ] [ LOGIN ] [ RESULT:200 ] [ TIME: 1ms ] [ USER:<user_uuid> ] [ CALL_BY:<IP> ] [ AUTHENTICATED:OK ] [ BY:UI Configuration ] [ AUTHENTICATED BY THE MODULE:<module_name> ] |
Si synchronizer__log_users__add_user_name est activé:
[ YYYY-MM-DD HH:MM:SS ] [ READ ] [ LOGIN ] [ RESULT:401 ] [ TIME: 4ms ] [ USER:<user_uuid> / <user_name> ] [ CALL_BY:<IP> ] [ AUTHENTICATED:FAILED ] [ BY:UI Configuration ] |
Sinon:
[ YYYY-MM-DD HH:MM:SS ] [ READ ] [ LOGIN ] [ RESULT:401 ] [ TIME: 4ms ] [ USER:<user_uuid> ] [ CALL_BY:<IP> ] [ AUTHENTICATED:FAILED ] [ BY:UI Configuration ] |
Si synchronizer__log_users__add_user_name est activé:
[ YYYY-MM-DD HH:MM:SS ] [ READ ] [ LOGOUT ] [ RESULT:200 ] [ TIME: 0ms ] [ USER:<user_uuid> / <user_name> ] [ CALL_BY:<IP> ] [ BY:UI Configuration ] |
Sinon:
[ YYYY-MM-DD HH:MM:SS ] [ READ ] [ LOGOUT ] [ RESULT:200 ] [ TIME: 0ms ] [ USER:<user_uuid> ] [ CALL_BY:<IP> ] [ BY:UI Configuration ] |