Skip to content

Commit

Permalink
Merge pull request #41 from scline/1.1.37
Browse files Browse the repository at this point in the history
1.1.37
  • Loading branch information
scline authored Apr 4, 2018
2 parents e550008 + 24f85ca commit 9ce6421
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 5 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ RUN mkdir /backup
RUN mkdir /cacti
RUN mkdir /spine

## -- MISC SETUP --
RUN echo "ServerName localhost" > /etc/httpd/conf.d/fqdn.conf

## --- ENV ---
ENV \
DB_NAME=cacti \
Expand Down
18 changes: 13 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,6 @@ docker exec <docker image ID or name> ./backup.sh

This will store compressed backups in a tar.gz format within the cacti docker container under /backups directory. Its recommended to map this directory using volumes so data is persistent. By default it only stores 7 most recent backups and will automatically delete older ones, to change this value update `BACKUP_RETENTION` environmental variable with the number of backups you wish to store.

##### Automatic backups - !!!Not Working!!!
The environment variable `BACKUP_TIME` can be altered to have the container automatically backup cacti. The value is in days and will kick off at midnight by default. By default this is disabled with a value of 0, if you want to further customize backup times edit `configs/crontab.apache` in this repo and rebuild the docker image.

### Restore Backup
To restore from an existing backup, run the following docker exec command with the backup file location as an argument.
```
Expand Down Expand Up @@ -187,6 +184,16 @@ REPLACE INTO `%DB_NAME%`.`settings` (`name`, `value`) VALUES('poller_type', '2')
```

# Change Log
#### 1.1.37 - 02/8/2018
* Update Cacti and Spine from 1.1.34 to 1.1.37
* [changelog 1.1.36 -> 1.1.37][CL1.1.37]
* [changelog 1.1.35 -> 1.1.36][CL1.1.36]
* [changelog 1.1.34 -> 1.1.35][CL1.1.35]
* Close Issue [#36](https://github.com/scline/docker-cacti/issues/36) - Initialize DB fails if mysql running on non-standard port
* Close Issue [#38](https://github.com/scline/docker-cacti/issues/38) - "httpd: Could not reliably determine the server's fully qualified domain name" httpd errors
* Close Issue [#40](https://github.com/scline/docker-cacti/issues/40) - Remove documentation about automated backups since this is not implemented.


#### 1.1.34 - 02/8/2018
* Update Cacti and Spine from 1.1.31 to 1.1.34
* [changelog 1.1.33 -> 1.1.34][CL1.1.34]
Expand Down Expand Up @@ -289,14 +296,15 @@ REPLACE INTO `%DB_NAME%`.`settings` (`name`, `value`) VALUES('poller_type', '2')
* Initial push

# Known Issues/Fixes
* Automatic data backups using the variable `BACKUP_TIME` does not work. I am not able to get the cronjob to properly run backup.sh :(
* HTTPS is not setup to work, it may work just understand no testing has been done.

# ToDo
* Enable container SNMP for monitoring, import/create local container template for use.
* Auto import remote pollers, currently you need to navigate to there GUI for a few clicks.
* Documentation cleanup.

[CL1.1.37]: http://www.cacti.net/release_notes.php?version=1.1.37
[CL1.1.36]: http://www.cacti.net/release_notes.php?version=1.1.36
[CL1.1.35]: http://www.cacti.net/release_notes.php?version=1.1.35
[CL1.1.34]: http://www.cacti.net/release_notes.php?version=1.1.34
[CL1.1.33]: http://www.cacti.net/release_notes.php?version=1.1.33
[CL1.1.32]: http://www.cacti.net/release_notes.php?version=1.1.32
Expand Down
Binary file not shown.
Binary file removed cacti/cacti-spine-1.1.34.tar.gz
Binary file not shown.
Binary file added cacti/cacti-spine-1.1.37.tar.gz
Binary file not shown.

0 comments on commit 9ce6421

Please sign in to comment.