| |
| ================================== |
| Watchdog Formula |
| ================================== |
| |
| Install and configure watchdog daemon |
| |
| |
| Sample Pillars |
| ============== |
| |
| Single watchdog service |
| |
| .. code-block:: yaml |
| |
| watchdog: |
| server: |
| admin: root |
| enabled: true |
| interval: 1 |
| log_dir: /var/log/watchdog |
| realtime: yes |
| timeout: 60 |
| device: /dev/watchdog |
| |
| # Salt Stack will automatically detect the necessary kernel module which needs to be loaded (ex. hpwdt, iTCO_wdt). |
| # If the hardware model is not predefined in map.jinja the default watchdog driver is used: softdog |
| # You may specify the kernel parameters if needed: |
| kernel: |
| parameter: |
| soft_panic: 1 |
| parameter: value |
| parameter_only_without_value: none |
| |
| |
| More Information |
| ================ |
| |
| https://github.com/torvalds/linux/blob/master/Documentation/watchdog/watchdog-api.txt |
| |
| |
| Documentation and Bugs |
| ====================== |
| |
| To learn how to install and update salt-formulas, consult the documentation |
| available online at: |
| |
| http://salt-formulas.readthedocs.io/ |
| |
| In the unfortunate event that bugs are discovered, they should be reported to |
| the appropriate issue tracker. Use GitHub issue tracker for specific salt |
| formula: |
| |
| https://github.com/salt-formulas/salt-formula-watchdog/issues |
| |
| For feature requests, bug reports or blueprints affecting entire ecosystem, |
| use Launchpad salt-formulas project: |
| |
| https://launchpad.net/salt-formulas |
| |
| Developers wishing to work on the salt-formulas projects should always base |
| their work on master branch and submit pull request against specific formula. |
| |
| You should also subscribe to mailing list (salt-formulas@freelists.org): |
| |
| https://www.freelists.org/list/salt-formulas |
| |
| Any questions or feedback is always welcome so feel free to join our IRC |
| channel: |
| |
| #salt-formulas @ irc.freenode.net |
| |
| |
| To-Do |
| ================ |
| |
| Remove the part in `server.sls` about the Ubuntu Xenial bug once it's fixed in upstream: |
| |
| https://bugs.launchpad.net/ubuntu/+source/watchdog/+bug/1448924 |