2014-06-13 Sergio Martin <sergio.martin@artica.es>
* include/functions_api.php: Add doc info to pagerduty webhook option git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10183 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
c0839f047f
commit
ee8ce8e679
|
@ -1,3 +1,8 @@
|
|||
2014-06-13 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* include/functions_api.php: Add doc info to pagerduty
|
||||
webhook option
|
||||
|
||||
2014-06-13 Alejandro Gallardo <alejandro.gallardo@artica.es>
|
||||
|
||||
* godmode/agentes/module_manager_editor_plugin.php,
|
||||
|
|
|
@ -6647,6 +6647,19 @@ function api_set_enable_disable_agent ($id, $thrash2, $other, $thrash3) {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Validate alert from Pager Duty service. This call will be setted in PagerDuty's service as a Webhook to
|
||||
* validate the alerts of Pandora FMS previously linked to PagertDuty when its were validated from PagerDuty.
|
||||
*
|
||||
* This call only have a parameter: id=alert
|
||||
*
|
||||
* Call example:
|
||||
* http://127.0.0.1/pandora_console/include/api.php?op=set&op2=pagerduty_webhook&apipass=1234&user=admin&pass=pandora&id=alert
|
||||
*
|
||||
* TODO: Add support to events.
|
||||
*
|
||||
*/
|
||||
|
||||
function api_set_pagerduty_webhook($type, $matchup_path, $tresh2, $return_type) {
|
||||
global $config;
|
||||
|
||||
|
|
Loading…
Reference in New Issue