pkl-mufqi / regat-test

0 stars 0 forks source link

[Problem] All Rancher Agents are down #102

Open regatapp[bot] opened 3 years ago

regatapp[bot] commented 3 years ago

Alert's URL

https://senseobservationsystem.app.opsgenie.com/alert/detail/7b6fec27-304c-4915-b4d7-d309c95f968e-1635491448090/details

Alert's Description

All Rancher Agents in is Down All Rancher Agents in is Down Alerts Firing: Labels:

regatapp[bot] commented 3 years ago
Policy has been added successfully
Policy's Name: Issue 102
mufqiuwais commented 3 years ago

@regat-app --help

regatapp[bot] commented 3 years ago
Usage: @regat-app [command] [options]

Options:
  -V, --version   output the version number
  -h, --help      display help for command

Commands:
  workaround      workaround related
  help [command]  display help for command
mufqiuwais commented 3 years ago

@regat-app workaround --help

regatapp[bot] commented 3 years ago
Usage: @regat-app workaround [command] [options]

workaround related

Options:
  -h, --help      display help for command

Commands:
  add             adding new workaround
  help [command]  display help for command
mufqiuwais commented 3 years ago

@regat-app workaround add --help

regatapp[bot] commented 3 years ago
Usage: @regat-app workaround add [command] [options]

adding new workaround

Options:
  -h, --help             display help for command

Commands:
  adhoc [options]        adding new adhoc workaround
  jobTemplate [options]  adding new job template workaround
  help [command]         display help for command
mufqiuwais commented 3 years ago

@regat-app workaround add jobTemplate --help

regatapp[bot] commented 3 years ago
Usage: @regat-app workaround add jobTemplate [options]

adding new job template workaround

Options:
  -a, --action-name <action-name>   action name for opsgenie (mandatory)
  -T, --template-id <template-id>   template id from AWX (mandatory)
  -e, --extra-vars [extra-vars...]  extra variables for the AWX job
  -h, --help                        display help for command
mufqiuwais commented 3 years ago

@regat-app workaround add adhoc --help

regatapp[bot] commented 3 years ago
Usage: @regat-app workaround add adhoc [options]

adding new adhoc workaround

Options:
  -a, --action-name <action-name>     action name for opsgenie (mandatory)
  -i, --inventory <inventory>         AWX inventory name (mandatory)
  -c, --credential <credential>       AWX credential name (mandatory)
  -l, --limit <limit>                 target host(s) (mandatory)
  -m, --module-name <module-name>     module name from AWX (mandatory)
  -p, --privilege-escalation          module args for the adhoc (default: false)
  -M, --module-args [module-args...]  module args for the adhoc
  -e, --extra-vars [extra-vars...]    extra variables for the AWX job
  -h, --help                          display help for command
mufqiuwais commented 3 years ago

@regat-app workaround add jobTemplate -a "Demo Ping Localhost" -T 12

regatapp[bot] commented 3 years ago
Action has been added successfully.
{
  "actionName": "Demo Ping Localhost",
  "extraVars": [],
  "jobTemplateId": "12",
  "jobTemplateName": "Demo Regat",
  "limit": "localhost",
  "org": "Intern",
  "stringExtraVars": "",
  "type": "jobTemplate"
}
mufqiuwais commented 3 years ago

@regat-app workaround add adhoc -a "Demo Ping Localhost" -i "Demo Inventory" -c "Demo Credential" -l "localhost" -m "ping" -e key1="value1=true" -e key2=value2

regatapp[bot] commented 3 years ago
This action's name is already registered for this issue in the previous workaround. Please write different name for it.
mufqiuwais commented 3 years ago

@regat-app workaround add adhoc -a "Demo Ping Localhost Adhoc" -i "Demo Inventory" -c "Demo Credential" -l "localhost" -m "ping" -e key1="value1=true" -e key2=value2

regatapp[bot] commented 3 years ago
Action has been added successfully.
{
  "actionName": "Demo Ping Localhost Adhoc",
  "credential": 1,
  "credentialName": "Demo Credential",
  "extraVars": [
    {
      "key": "key1",
      "value": "value1=true"
    },
    {
      "key": "key2",
      "value": "value2"
    }
  ],
  "inventory": 3,
  "inventoryName": "Demo Inventory",
  "limit": "localhost",
  "moduleArgs": "",
  "moduleName": "ping",
  "org": "Intern",
  "privilegeEscalation": false,
  "stringExtraVars": "key1=\"value1=true\" key2=value2",
  "type": "adhoc"
}