Closed garnier-quentin closed 2 years ago
Add webservices to open ticket for a host or a service.
For a service:
$ perl centreon_plugins.pl --plugin=notification::centreon::opentickets::api::plugin --mode=open-service --api-hostname=10.25.5.178 --api-username=admin --api-password=centreon --rule-name=mail --host-id=11 --service-id=50 --service-state=CRITICAL --service-output=plop --extra-property='custom_message=plop' --select='test2=plop 2'
For a host:
$ perl centreon_plugins.pl --plugin=notification::centreon::opentickets::api::plugin --mode=open-host --api-hostname=10.25.5.178 --api-username=admin --api-password=centreon --rule-name=mail --host-id=11 --host-state=DOWN --host-output=plop2 --extra-property='custom_message=plop' --select='test2=plop 2'
SonarQube Quality Gate
0 Bugs 0 Vulnerabilities 0 Security Hotspots 60 Code Smells
0.0% Coverage 10.0% Duplication
Description
Add webservices to open ticket for a host or a service.
Type of change
Target serie
How this pull request can be tested ?
For a service:
For a host:
Checklist