This repository has been archived by the owner on Oct 12, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
08. Executed actions
Khelil Sator edited this page May 16, 2017
·
1 revision
StackStorm ships with an intuitive WebUI. You can access it at https://hostname.
You can execute actions from the GUI, and you can get an history of executed actions.
$ sudo st2 execution list
+----------------------------+------------------+--------------+--------------------------+--------------------------+--------------------------+
| id | action.ref | context.user | status | start_timestamp | end_timestamp |
+----------------------------+------------------+--------------+--------------------------+--------------------------+--------------------------+
| 5915f9a4a374d80940a8c679 | napalm.get_facts | st2admin | succeeded (6s elapsed) | Fri, 12 May 2017 | Fri, 12 May 2017 |
| | | | | 18:06:28 UTC | 18:06:34 UTC |
| 5915f9bda374d80940a8c67c | napalm.get_facts | st2admin | succeeded (6s elapsed) | Fri, 12 May 2017 | Fri, 12 May 2017 |
| | | | | 18:06:53 UTC | 18:06:59 UTC |
| 5915fa85a374d80940a8c67f | napalm.get_facts | st2admin | succeeded (6s elapsed) | Fri, 12 May 2017 | Fri, 12 May 2017 |
| | | | | 18:10:13 UTC | 18:10:19 UTC |
| 5915fbb6a374d80940a8c682 | napalm.get_facts | st2admin | succeeded (7s elapsed) | Fri, 12 May 2017 | Fri, 12 May 2017 |
| | | | | 18:15:18 UTC | 18:15:25 UTC |
+----------------------------+------------------+--------------+--------------------------+--------------------------+--------------------------+
$ sudo st2 execution get 5915fa85a374d80940a8c67f
id: 5915fa85a374d80940a8c67f
status: succeeded (6s elapsed)
parameters:
hostname: ex4300-17
result:
exit_code: 0
result:
raw:
fqdn: ex4300-17.poc-nl.jnpr.net
hostname: ex4300-17
interface_list:
- ge-0/0/0
- pfe-0/0/0
- pfh-0/0/0
- ge-0/0/1
- ge-0/0/2
- ge-0/0/3
- ge-0/0/4
- ge-0/0/5
- ge-0/0/6
- ge-0/0/7
- ge-0/0/8
- ge-0/0/9
- ge-0/0/10
- ge-0/0/11
- ge-0/0/12
- ge-0/0/13
- ge-0/0/14
- ge-0/0/15
- ge-0/0/16
- ge-0/0/17
- ge-0/0/18
- ge-0/0/19
- ge-0/0/20
- ge-0/0/21
- ge-0/0/22
- ge-0/0/23
- .local.
- bme0
- dsc
- gre
- ipip
- irb
- jsrv
- lo0
- lsi
- me0
- mtun
- pimd
- pime
- tap
- vme
model: EX4300-24T
os_version: 15.1R5.5
serial_number: PG3713430170
uptime: 11147520
vendor: Juniper
stderr: ''
stdout: ''