mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-31 01:24:35 +02:00
fix(notification-teams): fix notification output
Refs:CTOR-1379
This commit is contained in:
parent
3005f723b1
commit
c83e1e80b6
@ -471,9 +471,7 @@ __END__
|
||||
Send notifications to a Microsoft Teams Channel.
|
||||
|
||||
Example for a Host:
|
||||
centreon_plugins.pl --plugin=notification::microsoft::office365::teams::plugin --mode=alert --teams-webhook='https:/teams.microsoft.com/1/channel/...'
|
||||
--host-name='my_host_1' --host-state='DOWN' --host-output='CRITICAL - my_host_1: rta nan, lost 100%'
|
||||
--centreon-url='https://127.0.0.1/centreon' --action-links'
|
||||
C<centreon_plugins.pl --plugin=notification::microsoft::office365::teams::plugin --mode=alert --teams-webhook='https:/teams.microsoft.com/1/channel/...' --host-name='my_host_1' --host-state='DOWN' --host-output='CRITICAL - my_host_1: rta nan, lost 100%' --centreon-url='https://127.0.0.1/centreon' --action-links'>
|
||||
|
||||
=over 8
|
||||
|
||||
@ -513,7 +511,7 @@ Add actions links buttons to the notification card (resource status & graph page
|
||||
=item B<--centreon-url>
|
||||
|
||||
Specify the Centreon interface URL (to be used with the action links).
|
||||
Syntax: --centreon-url='https://mycentreon.mydomain.local/centreon'
|
||||
Syntax: C<--centreon-url='https://mycentreon.mydomain.local/centreon'>
|
||||
|
||||
=item B<--bam>
|
||||
|
||||
@ -525,7 +523,7 @@ Specify the date & time of the event.
|
||||
|
||||
=item B<--extra-info>
|
||||
|
||||
Specify extra information about author and comment (only for ACK and DOWNTIME types).
|
||||
Specify extra information about author and comment (only for ACKNOWLEDGEMENT and DOWNTIME types).
|
||||
|
||||
=item B<--extra-info-format>
|
||||
|
||||
@ -535,7 +533,7 @@ Specify the extra info display format (default: 'Author: %s, Comment: %s').
|
||||
|
||||
Only to be used with Centreon.
|
||||
Permit redirection to Centreon legacy resource status pages.
|
||||
To be used with --action-links.
|
||||
To be used with C<--action-links>.
|
||||
|
||||
=back
|
||||
|
||||
|
@ -34,6 +34,7 @@ AWSCLI
|
||||
--aws-role-arn
|
||||
Backbox
|
||||
BackupJobSession
|
||||
BAM
|
||||
base64
|
||||
BGP
|
||||
blocked-by-uf
|
||||
|
Loading…
x
Reference in New Issue
Block a user