mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 07:34:35 +02:00
fix ovh notification
This commit is contained in:
parent
be51612890
commit
6643f318db
@ -105,10 +105,10 @@ sub run {
|
|||||||
"to=$self->{option_results}->{to}",
|
"to=$self->{option_results}->{to}",
|
||||||
"from=$self->{option_results}->{from}",
|
"from=$self->{option_results}->{from}",
|
||||||
"message=$self->{option_results}->{message}",
|
"message=$self->{option_results}->{message}",
|
||||||
"class=$self->{option_results}->{class}",
|
"class=" . (defined($self->{option_results}->{class}) ? $self->{option_results}->{class} : ''),
|
||||||
"noStop=$self->{option_results}->{nostop}",
|
"noStop=" . (defined($self->{option_results}->{nostop}) ? $self->{option_results}->{nostop} : ''),
|
||||||
"contentType=application/json",
|
"contentType=application/json",
|
||||||
"smsCoding=$self->{option_results}->{smsCoding}",
|
"smsCoding=" . (defined($self->{option_results}->{smsCoding}) ? $self->{option_results}->{smsCoding} : ''),
|
||||||
];
|
];
|
||||||
my $response = $self->{http}->request(method => 'GET', get_param => $sms_param);
|
my $response = $self->{http}->request(method => 'GET', get_param => $sms_param);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user