https://github.com/oefenweb/ansible-nagios-client
Ansible role to set up nagios in Debian-like systems (client side)
https://github.com/oefenweb/ansible-nagios-client
android client debian nagios nagios3 ubuntu
Last synced: 2 months ago
JSON representation
Ansible role to set up nagios in Debian-like systems (client side)
- Host: GitHub
- URL: https://github.com/oefenweb/ansible-nagios-client
- Owner: Oefenweb
- License: mit
- Created: 2015-10-23T12:58:02.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-11-02T11:05:08.000Z (over 1 year ago)
- Last Synced: 2025-01-23T02:44:41.993Z (4 months ago)
- Topics: android, client, debian, nagios, nagios3, ubuntu
- Language: Dockerfile
- Homepage:
- Size: 86.9 KB
- Stars: 2
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
## nagios-client
[](https://github.com/Oefenweb/ansible-nagios-client/actions?query=workflow%3ACI)
[](https://galaxy.ansible.com/Oefenweb/nagios_client)Set up a machine (client) so it can be monitored by nagios (server).
#### Requirements
None
#### Variables
* `nagios_client_install` [default: `[]`]: Packages to install (e.g. `percona-nagios-plugins`)
* `nagios_client_user`: [default: `nagios`]: The user that the nagios server will use to login
* `nagios_client_group`: [default: `nagios`]: The primary group of the nagios user
* `nagios_client_groups`: [default: `[]`]: The secondary groups of the nagios user* `nagios_client_authorized_keys`: [default: `[]`]: Authorized key declarations
* `nagios_client_authorized_keys.{n}.src`: [required]: The local path of the key
* `nagios_client_authorized_keys.{n}.state`: [optional, default: `present`]: State* `nagios_client_script_map` [default: `{}`]: Script declarations
* `nagios_client_script_map.key`: [required]: The identifier of the file (e.g. `check_raid`)
* `nagios_client_script_map.key.src`: [required]: The local path of the file to copy, can be absolute or relative (e.g. `../../../files/nagios-client/usr/lib/nagios/plugins/check_raid`)
* `nagios_client_script_map.key.dest`: [required]: The remote path of the file to copy (e.g. `/usr/lib/nagios/plugins/check_raid`)
* `nagios_client_script_map.key.owner`: [optional, default `root`]: The name of the user that should own the file
* `nagios_client_script_map.key.group`: [optional, default `root`]:The name of the group that should own the file
* `nagios_client_script_map.key.mode`: [optional, default `0755`]: The mode of the file## Dependencies
None
#### Example
```yaml
---
- hosts: all
roles:
- oefenweb.nagios-client
vars:
nagios_client_authorized_keys:
- src: ../../../files/nagios-client/etc/nagios/id_rsa.pub
```#### License
MIT
#### Author Information
Mischa ter Smitten
#### Feedback, bug-reports, requests, ...
Are [welcome](https://github.com/Oefenweb/ansible-nagios-client/issues)!