Petr Ruzicka | ba0a49d | 2018-01-31 22:16:20 +0100 | [diff] [blame] | 1 | |
| 2 | ================================== |
| 3 | Watchdog Formula |
| 4 | ================================== |
| 5 | |
| 6 | Install and configure watchdog daemon |
| 7 | |
| 8 | |
| 9 | Sample Pillars |
| 10 | ============== |
| 11 | |
| 12 | Single watchdog service |
| 13 | |
| 14 | .. code-block:: yaml |
| 15 | |
| 16 | watchdog: |
| 17 | server: |
Petr Ruzicka | 7a333c3 | 2018-02-01 14:02:59 +0100 | [diff] [blame] | 18 | admin: root |
Petr Ruzicka | ba0a49d | 2018-01-31 22:16:20 +0100 | [diff] [blame] | 19 | enabled: true |
Petr Ruzicka | 7a333c3 | 2018-02-01 14:02:59 +0100 | [diff] [blame] | 20 | interval: 1 |
| 21 | log_dir: /var/log/watchdog |
| 22 | realtime: yes |
Petr Ruzicka | ba0a49d | 2018-01-31 22:16:20 +0100 | [diff] [blame] | 23 | timeout: 60 |
Petr Ruzicka | 7a333c3 | 2018-02-01 14:02:59 +0100 | [diff] [blame] | 24 | device: /dev/watchdog |
| 25 | |
| 26 | # Salt Stack will automatically detect the necessary kernel module which needs to be loaded (ex. hpwdt, iTCO_wdt). |
| 27 | # If the hardware model is not predefined in map.jinja the default watchdog driver is used: softdog |
| 28 | # You may specify the kernel parameters if needed: |
Petr Ruzicka | ba0a49d | 2018-01-31 22:16:20 +0100 | [diff] [blame] | 29 | kernel: |
| 30 | parameter: |
| 31 | soft_panic: 1 |
| 32 | parameter: value |
| 33 | parameter_only_without_value: none |
| 34 | |
| 35 | |
| 36 | More Information |
| 37 | ================ |
| 38 | |
| 39 | https://github.com/torvalds/linux/blob/master/Documentation/watchdog/watchdog-api.txt |
| 40 | |
| 41 | |
| 42 | Documentation and Bugs |
| 43 | ====================== |
| 44 | |
| 45 | To learn how to install and update salt-formulas, consult the documentation |
| 46 | available online at: |
| 47 | |
| 48 | http://salt-formulas.readthedocs.io/ |
| 49 | |
| 50 | In the unfortunate event that bugs are discovered, they should be reported to |
| 51 | the appropriate issue tracker. Use GitHub issue tracker for specific salt |
| 52 | formula: |
| 53 | |
| 54 | https://github.com/salt-formulas/salt-formula-watchdog/issues |
| 55 | |
| 56 | For feature requests, bug reports or blueprints affecting entire ecosystem, |
| 57 | use Launchpad salt-formulas project: |
| 58 | |
| 59 | https://launchpad.net/salt-formulas |
| 60 | |
| 61 | Developers wishing to work on the salt-formulas projects should always base |
| 62 | their work on master branch and submit pull request against specific formula. |
| 63 | |
| 64 | You should also subscribe to mailing list (salt-formulas@freelists.org): |
| 65 | |
| 66 | https://www.freelists.org/list/salt-formulas |
| 67 | |
| 68 | Any questions or feedback is always welcome so feel free to join our IRC |
| 69 | channel: |
| 70 | |
| 71 | #salt-formulas @ irc.freenode.net |