- Nothing changed yet.
- Removed pbis and rabbitmq: both are unused.
- Sped up geoserver log extraction and made sure it didn't consume so much memory anymore.
- Added JNDI info for geoserver.
- Omitting geoserver layers found in the nginx logfile if no corresponding workspace can be found. This helps in keeping the report clean when you remove old layers.
- Work around weird "upstream respons is buffered to a temporary file" message that's embedded in some nginx loglines. It trips up our logfile parsing library.
- The geoserver-info script is now called by gather-all-info.
- Another geoserver usage reporting fix. Sometimes the workspace name is in
the
layers=
parameter instead of in the/geoserver/WORKSPACE/wms
url.
- Fix for geoserver usage reporting. In the query parameters, uppercase
LAYERS=
is now also detected...
- Small geoserver-info fixes: allow missing logfile and only iterate over workspaces once when there are multiple datastore files.
- Added geoserver data extraction. You need a config file on the server to enable it.
- Extracting the ip adresses from where database connections are made.
- Switched off database table bloat detection: we don't really look at it and it sometimes takes a lot of time for it to finish.
- Database usage regex now accepts database names with a dash in them
(
geoserver-v2
)....
- Removed six (we're python3-only now).
- Moved tests from travis-ci to github actions.
- Using docker to run the tests now.
- Added grep command to determine database usage.
- Fixed editable packages in docker containers without git.
- Fixed checkoutinfo crash when there's a 'main' branch instead of 'master'.
- Added docker support.
- Added virtualenv support.
- When cifsfixer is started from cron,
ps ax
shows both the actual command and abin/sh -c /usr/local/bin/cifsfixer
line. So cifsfixer thinks it runs twice, which it considers an error. So... I now allow "two" instances before raising an error.
- Added check if cifsfixer is already running. When so, there's probably a hanging mount. In any case, it indicates a big problem. This prevents cifsfixer from starting over and over again, leading to even more problems.
- Change directory to a pipenv-managed directory before running commands there.
- Unmounting duplicate mounts, when found. It regularly occurs that shares are mounted more than once in the same location. This new behaviour automatically cleans it up.
- Updated install instructions now that we can download the release from github.
- Fixed sudo command: a numeric UID must be prefixed with
#
.
- Made it run on both python 2.7 and 3.5/3.6/3.7.
- Added automatic travis-ci tests.
- Running
bin/django diffsettings
andpython manage.py diffsettings
as the actual script's owner instead of assuming thebuildout
user. - Made it open source. Perhaps someone can grab a trick or two out of it. And it is easier for ourselves to download a release :-)
- Fixed checkouts.whereis and supervisorctl in case of pipenv projects.
- Refactor of checkouts.py
- Check existence of pipenv executable.
- Skip virtualenv-managed projects (temporary fix).
- Added checkout-info support for supervisorctl in pipenv projects.
- Fix support 'access_log off;' in nginx configs.
- Added checkout-info support for pipenv projects.
- Support 'access_log off;' in nginx configs.
- Pbis info (whether it exists only, though) is exported to the serverinfo facts.
- Fixed database version detection for postgres 9.5.
- Added bin/pbis-info script which checks the pbis status for zabbix.
- Added database bloat logging.
- More corner cases.
- Bugfix (corner case).
- Bugfix (missing import).
- Ignoring files (instead of the expected directories) and lost+found dir in /srv now.
- Added docker detection (number of active images/volumes/containers).
- Zapped check of global supervisor: this is handled differently now and really needs a change in the supervisorrecipe. The current checks only lead to false positives.
- Fixing vhosts=None case.
- Don't crash when the rabbitmq config file doesn't exist.
- Rabbitmq check now always writes to the output files.
- Set path to rabbitmqctl.
- Import rabbitmq module.
- Improved rabbitmq logging.
- Added rabbitmq queue size checker.
- Added a couple more cronjob-type exceptions for supervisor.
- Ignoring supervisor lines with 'cron' in them. They don't need to be running, they are just there to keep cronjobs from running into each other. (Convention worked out with Alexandr for two 'flooding' servers).
- Added try/except around apache/nginx config file reading. Catches non-working symlinks, for instance. [reinout]
- Typo fix.
- Working around matplotlib issue. [reinout]
- More robust 'diffsettings' handling. [reinout]
- Returning from "diffsettings" command if there's an error (and no output). [reinout]
- Ignoring symlinks in
/srv/
. [reinout] - Extracting number of not-running processes out of supervisorctl (both inside
/srv/sitename
as the global one (if present). [reinout]
- Excluding datetime lines from diffsettings, too. [reinout]
- More broad exclusion: '<' handles '<lambda>', '<unbound ...>' and so on. [reinout]
- Logging bugfix. [reinout]
- Also ignoring "<lambda>" functions in diffsettings output. [reinout]
- Compensating for possible "syntax error" warnings when parsing the diffsettings output. Lizard-ui used to add "layout.Action()" objects to the settings and the output thereof isn't parseable. [reinout]
- Recording number of failures of running 'bin/django' for zabbix.
- Better spatialite handling. [reinout]
- Don't run both bin/django, bin/python and bin/test if one of them is
enough. Prefer
bin/django
, thenbin/test
and lastbin/python
. [reinout]
- Bugfix for undefined variable. [reinout]
- Extracting DB info from django sites. [reinout]
- Returning databases as dict instead of only a number (=size). [reinout]
- Added missing import so that database info is gathered on all servers. [reinout]
- Return database size in bytes. That looks way better in zabbix. Otherwise
you get
20.4 kMB
or something like that. [reinout]
- Fixed actual error: wrongly-named option. [reinout]
- More fixing. [reinout]
- More logging. [reinout]
- Added bin/database-info script. [reinout]
- Extracting databases info from postgres, including postgres version and database sizes. [reinout]
- Writing string to file (instead of an int). [reinout]
- Writing number of duplicate apache/ngix sites to a zabbix-readable file. [reinout]
- Added
bin/gather-all-info script
so that we only need one cronjob instead of multiple ones. [reinout]
- Cifsfixer now additionally outputs its cifs knowledge as a fact file for serverinfo. [reinout]
- Working RotatingFileHandler import... [reinout]
- Including
six.py
. We don't want any external dependency. [reinout] - Extracting git info from
/srv/
directories even when there's nobuildout.cfg
. [reinout] - Extracting cifs options, for instance the username from the cifs credentials file, if available. [reinout]
- Extracting info from haproxy. [reinout]
- Deleting 'Python' key from the returned eggs. It is set, somehow, to the version we run serverscripts with. Instead of the python version we want to detect. This last one is stored under the lowercase 'python' key. [reinout]
- Better python version detection. It doesn't crash anymore when there's no result. And it reads both stderr and stdout. Python 2 and 3 differ which stream they output their version to... [reinout]
- Extracting protocol (http/https) for redirects, too. [reinout]
- Added apache/nginx redirect detection. [reinout]
- Fix: /etc/apache2/ instead of /etc/apache/... [reinout]
- Added
bin/apache-info
for apache detection. It mostly mimicks the nginx one. [reinout]
- Compatibility with python 2 (which we're installed as as long as we still have 12.04 machines...) [reinout]
- Fix for multiple sites within one server section: using
copy.deepcopy()
, otherwise we end up with multiple copies of only one site. [reinout] - Better git url detection: the trailing
.git
is not mandatory anymore. [reinout] - Extracting related local checkout and proxy to local port or remote server. [reinout]
- Supporting lizard5 nginx regex magic. [reinout]
- Syntax typo fix... [reinout]
- Bugfix in bin/nginx-info; json doesn't accept tuples as keys. [reinout]
- Started nginx-info-extractor. [reinout]
- Fix for git url regex so that
https
urls (instead of onlygit@
urls) are also accepted. [reinout]
- Added
bin/checkout-info
that saves info on git checkouts. [reinout]
- Just listing the directory itself (
ls -d /mnt/something
) as a test whether the mount is readable. Pipes were giving too many problems. [reinout]
- Work around weird 'broken pipe' problem on some servers. See http://coding.derkeiler.com/Archive/Python/comp.lang.python/2004-06/3823.html [reinout]
- Fixed
ls
command to be more friendly for large directories. [reinout] - Added zabbix integration. [reinout]
- Added bare-bones installation instructions. [reinout]
- Fixed regex: multiple spaces aren't a problem anymore. [reinout]
- Added tests for reading fstab/mtab files. [reinout]
- Added cifschecker script for auto-remounting necessary cifs mounts. [reinout]
- Initial project structure created with nensskel 1.37.dev0. [reinout]