mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
Code review
This commit is contained in:
parent
be6269fc89
commit
5cdc0b8a14
@ -33,13 +33,13 @@ sub help_screen{
|
|||||||
\t$0 -p <path_to_consoleAPI> -u <credentials> -create_event <options>
|
\t$0 -p <path_to_consoleAPI> -u <credentials> -create_event <options>
|
||||||
|
|
||||||
Where options:\n
|
Where options:\n
|
||||||
-u <credentials> : API credentials separated by comma: <api_pass>,<user>,<pass>
|
-u <credentials> : API credentials separated by comma: <api_pass>,<user>,<pass>
|
||||||
-name <event_name> : Free text
|
-name <event_name> : Free text
|
||||||
-group <id_group> : Group ID (use 0 for 'all')
|
-group <id_group> : Group ID (use 0 for 'all')
|
||||||
-agent : Agent ID
|
|
||||||
|
|
||||||
Optional parameters:
|
Optional parameters:
|
||||||
|
|
||||||
|
[-agent <id_agent] : Agent ID
|
||||||
[-status <status>] : 0 New, 1 Validated, 2 In process
|
[-status <status>] : 0 New, 1 Validated, 2 In process
|
||||||
[-user <id_user>] : User comment (use in combination with -comment option)
|
[-user <id_user>] : User comment (use in combination with -comment option)
|
||||||
[-type <event_type>] : unknown, alert_fired, alert_recovered, alert_ceased
|
[-type <event_type>] : unknown, alert_fired, alert_recovered, alert_ceased
|
||||||
|
@ -33,13 +33,13 @@ sub help_screen{
|
|||||||
\t$0 -p <path_to_consoleAPI> -u <credentials> -create_event <options>
|
\t$0 -p <path_to_consoleAPI> -u <credentials> -create_event <options>
|
||||||
|
|
||||||
Where options:\n
|
Where options:\n
|
||||||
-u <credentials> : API credentials separated by comma: <api_pass>,<user>,<pass>
|
-u <credentials> : API credentials separated by comma: <api_pass>,<user>,<pass>
|
||||||
-name <event_name> : Free text
|
-name <event_name> : Free text
|
||||||
-group <id_group> : Group ID (use 0 for 'all')
|
-group <id_group> : Group ID (use 0 for 'all')
|
||||||
-agent : Agent ID
|
|
||||||
|
|
||||||
Optional parameters:
|
Optional parameters:
|
||||||
|
|
||||||
|
[-agent <id_agent] : Agent ID
|
||||||
[-status <status>] : 0 New, 1 Validated, 2 In process
|
[-status <status>] : 0 New, 1 Validated, 2 In process
|
||||||
[-user <id_user>] : User comment (use in combination with -comment option)
|
[-user <id_user>] : User comment (use in combination with -comment option)
|
||||||
[-type <event_type>] : unknown, alert_fired, alert_recovered, alert_ceased
|
[-type <event_type>] : unknown, alert_fired, alert_recovered, alert_ceased
|
||||||
|
Loading…
x
Reference in New Issue
Block a user