summaryrefslogtreecommitdiffstats
path: root/scripts/check-uptime/main.yml
blob: d37f7120e3d37b395d1dba5d04be0bfb9cde9842 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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