https://github.com/oefenweb/ansible-cacti-server
Ansible role to set up cacti in Debian-like systems (server side)
https://github.com/oefenweb/ansible-cacti-server
ansible cacti monitoring server ubuntu
Last synced: 6 months ago
JSON representation
Ansible role to set up cacti in Debian-like systems (server side)
- Host: GitHub
- URL: https://github.com/oefenweb/ansible-cacti-server
- Owner: Oefenweb
- License: mit
- Created: 2015-12-08T10:59:56.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-11-02T11:01:57.000Z (over 1 year ago)
- Last Synced: 2023-11-02T11:36:34.837Z (over 1 year ago)
- Topics: ansible, cacti, monitoring, server, ubuntu
- Language: Jinja
- Homepage:
- Size: 98.6 KB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
## cacti-server
[](https://travis-ci.org/Oefenweb/ansible-cacti-server)
[](https://galaxy.ansible.com/Oefenweb/cacti_server/)Set up cacti in Debian-like systems (server side).
#### Requirements
[See](https://github.com/Cacti/documentation/blob/develop/Installing-Under-Ubuntu-Debian.md) and `tests/pre.yml`.
#### Variables
* `cacti_server_checkout_repo`: [default: `https://github.com/Cacti/cacti.git`]: Cacti git repo
* `cacti_server_version`: [default: `1.2.17`]: Only used in `{{ cacti_server_git_version }}`
* `cacti_server_git_version`: [default: `"release/{{ cacti_server_version }}"`]: What version of Cacti to check out (set up). This can be the full 40-character SHA-1 hash, the literal string HEAD, a branch name, or a tag name* `cacti_server_config_database_default`: [default: `cacti`]: Database name
* `cacti_server_config_database_hostname`: [default: `localhost`]: Database host
* `cacti_server_config_database_username`: [default: `cacti`]: Database username
* `cacti_server_config_database_password`: [default: `cacti`]: Database password
* `cacti_server_config_database_port`: [default: `3306`]: Database port* `cacti_server_config_url_path`: [default: `/cacti/`]: The (default) path of your cacti install
* `cacti_server_use_poller_php`: [default: `true`]: Whether or not to install a crontab for the poller
* `cacti_server_install`: [default: `[]`]: Additional packages to install
* `cacti_server_install_path`: [default: `{}`]: Install declaration
* `cacti_server_install_path.src`: [required]: Path of Cacti checkout (e.g. `"{{ cacti_server_checkout_path }}"`)
* `cacti_server_install_path.dest`: [required]: Path of Cacti install (where it will be symlinked to, e.g. `/var/www/example.com/cacti/public_html/cacti`)## Dependencies
None
## Recommended
* `cacti-client` ([see](https://github.com/Oefenweb/ansible-cacti-client))
* `cacti-plugin-percona` ([see](https://github.com/Oefenweb/ansible-cacti-plugin-percona))
* `cacti-spine` ([see](https://github.com/Oefenweb/ansible-cacti-spine))#### Example
```yaml
---
- hosts: all
roles:
- oefenweb.cacti-server
vars:
cacti_server_install_path:
src: "{{ cacti_server_checkout_path }}"
dest: /var/www/example.com/cacti/public_html/cacti
```#### License
MIT
#### Author Information
Mischa ter Smitten
#### Feedback, bug-reports, requests, ...
Are [welcome](https://github.com/Oefenweb/ansible-cacti-server/issues)!