diff options
Diffstat (limited to '')
-rw-r--r-- | scripts/check-uptime/main.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/scripts/check-uptime/main.yml b/scripts/check-uptime/main.yml new file mode 100644 index 0000000..d37f712 --- /dev/null +++ b/scripts/check-uptime/main.yml @@ -0,0 +1,19 @@ +version: 2.2 +category: Script +shortdesc: Check uptime of nodes +longdesc: > + Fetches the uptime of all nodes and reports which + node has lived longest. + +parameters: + - name: show_all + shortdesc: Show all uptimes + type: boolean + value: false + +actions: + - shortdesc: Fetch uptimes + collect: fetch.py + + - shortdesc: Report uptime + report: report.py |