I have Centreon 22.10 and I’m trying to implement Teams notification integration following the procedure
But I keep getting the error below.
"root@centreon ~]# centreon -u 'admin' -p '********' -i /tmp/clapi-teams.import
Line 1 : Object already exists (bam-notify-by-microsoft-teams)
Line 8 : Object already exists (host-notify-by-microsoft-teams)
Line 14 : Object already exists (service-notify-by-microsoft-teams)
Line 21 : Your password must be 12 characters long and must contain : uppercase characters, lowercase characters, numbers, special characters among '@$!%*?&'.
Line 23 : Object not found:hostnotifperiod
Line 25 : Object not found:svcnotifperiod
Line 27 : Object not found:hostnotifopt
Line 29 : Object not found:servicenotifopt
Line 31 : Object not found:contact_pager
Line 33 : Object not found:contact_address1
Line 35 : Object not found:contact_js_effects
Line 37 : Object not found:reach_api
Line 39 : Object not found:reach_api_rt
Line 41 : Object not found:contact_enable_notifications
Line 43 : Object not found:contact_activate
Line 45 : Object not found:show_deprecated_pages
Line 47 : Object not found:contact_ldap_last_sync
Line 49 : Object not found:contact_ldap_required_sync
Line 51 : Object not found:hostnotifcmd
Line 53 : Object not found:svcnotifcmd
Any ideas ?
I received the notifications if I run it manually
/usr/lib/centreon/plugins/centreon_notification_teams.pl --plugin=notification::microsoft::office365::teams::plugin --mode=alert --custommode=webhookapi --teams-webhook=https:aWEBOOK_URI] --notification-type='RECOVERY' host-name='OHOST.NAME]' --service-state='UP' --date='12-05-2022' --action-links --centreon-url=kURL_CENTREON]