Skip to content

Releases: ITRS-Group/cordial

Release v1.12.0

15 Jan 04:27
Compare
Choose a tag to compare

⚠️ Note that the binaries for this release were built, for the first time, in containers running under WSL2. This should not cause issue, but please report anything unexpected.

⚠️Note 2: files2dv has not been included as a pre-built binary yet. This should be done for the next patch release after further testing.

Change Log

Version v1.12.0

Released 2024-01-15

Please report issues via github or the ITRS Community Forum.

v1.12.0 Changes

  • tools/files2dv New

    A new program that can be run as a Toolkit (soon as an API sampler) to scan files and directories and create one row per file. The contents of files can be checked and extracted into columns - the difference between the standard Geneos FKM and Statetracker plugins and using files2dv is that the whole file is scanned until each column is either filled in or no matches found, in the latter case a failure value can also be substituted. This is not a line-by-line scanner, like FKM.

    If no contents are checked then just the matching file's metadata is used.

  • tools/gateway-reporter

    gateway-reporter has had a number of issues fixed but also gets a new csvdir output format, which can be used to create a "live" directory of CSV files and an optional Gateway include file to read back reports into a Gateway-of-Gateways.

  • pkg/geneos

    Added an ExpandFileDates() function to emulate Geneos expansion of file paths including <today ...> placeholders. Currently only today is supported.

  • pkg/config

    Change LookupTable() options to take variadic args and deprecate LookupTables()

    Map dashes (-) to underscored (_) when using environment variable lookups, so configuration items like file-name can be references as FILE_NAME in an env var.

v1.12.0 Fixes

  • pkg/geneos

    Fixes around the handling of merged output files (where the var- prefix is dropped by the Gateway on some XML) so thet gateway-reporter works again.

  • tools/geneos

    Fix fa2 start-up to include -secure when in secure mode.

    Better handling of remote hosts and display of a Flags column to show if hosts have been "hidden" (disabled). While documentation needs to be updated, the difference between hiding a host and disabling it (which is not yet possible) is that a hidden host can still be referenced explicitly on the command line, but is not included in any "all" lookups, such as geneos start

Release v1.11.2 - fix dv2email output ordering and support secure fileagents

07 Dec 13:41
Compare
Choose a tag to compare

Change Log

Version v1.11.2

Released 2023-12-07

Please report issues via github or the ITRS Community Forum.

v1.11.2 Fixes

  • pkg/commands

    • add custom UnmarshalJSON to Dataview type to record the received order of headlines, rows and columns
  • tools/dv2email

    • use dataview ordering (above) to render dataviews as seen from the Gateway, matching the normal Active Console
    • add support to differentiate between unset and empty --type on command line

v1.11.2 Changes

  • tools/geneos

    • add support for secure arguments for fileagent releases 6.6 and higher

Release v1.11.1 - Fix `ac2` start-up on Linux

04 Dec 17:12
Compare
Choose a tag to compare

Change Log

Version v1.11.1

Released 2023-12-05

Please report issues via github or the ITRS Community Forum.

v1.11.1 Fixes

  • tools/geneos

    • Fix ac2 start-up on Linux by passing on DISPLAY and XAUTHORITY envs to process, when they are defined

    • Output ISO8601 date/times in geneos tls ls outputs, not Go default format

Release v1.11.0

23 Nov 16:21
Compare
Choose a tag to compare

Change Log

Version v1.11.0

Released 2023-11-23

Please report issues via github or the ITRS Community Forum.

v1.11.0 Changes

  • Major updates to dv2email

    dv2email has has a major work-over. In addition to fixing numerous bugs we've also added the ability to send dataviews as XLSX or Text Table attachments, splitting multiple Dataviews into either individual attachments or per-Entity. The export sub-command allows to you save Dataviews as files in XLSX, HTML or Text Table formats. Take a look and let us know what you think.

  • New gateway-reporter

    A new tool to build monitoring coverage reports from static Gateway configurations. This is a new tool and support is limited to a core set of plugins and the data reported for each. The tool does not interrogate running Gateways and so does not attempt to resolve dynamic parts of the configuration. Output is in XLSX, CSV and JSON formats.

    This is a new work in progress based on an internal project for a client and we welcome suggestions and contributions. Please use the links above to send us feedback!

  • New example holidays

    Another new tool, but very early in development. This uses the Python holiday module (which seems the only reliable, free source of global holiday data) to generate a list of holidays and their names in Go. It has to run in a docker container as the cpy3 Go package only supports Python 3.7. It may prove simpler just to write the whole tool in Python and avoid Go, but the local skills are sadly lacking at the moment. Also, we have Go based tools in pkg/geneos to build Gateway configuration XML in a nice, clean way.

    The aim is to be able to create Gateway include files with predefined Active Times of holidays that can be incorporated into more general monitoring.

    Again, suggestions and, more importantly, contributions welcomed.

  • geneos has had a number of enhancements (and bug fixes, of course).

    The geneos aes encode command can now also create "app key" files for use with Gateway Hub and Obcerv Centralised Configs. To help with that the logic around how the Gateway command line is constructed has also had a refresh, with new options for the Centralised Config options. See the documentation for encode and the gateway for more information.

v1.11.0 Fixes

  • pkg/

    • Removal of all logging in packages. This was left over from early development and is considered bad practice.
  • tools/geneos

    • Fix a mistake in handling remote hosts in geneos show -V for validation runs.

    • Fix geneos home matching of instances when the same name existed on local and remote hosts.

    • Fix issues in geneos package sub-system commands. They should now work more consistently and do what you expect.

Release v1.10.4 - Fix remote log tailing and aes commands

03 Nov 15:15
Compare
Choose a tag to compare

Change Log

Version v1.10.4

Released 2023-11-03

Please report issues via github or the ITRS Community Forum.

v1.10.4 Fixes

  • pkg/hosts - disable sftp concurrent reads as this seems to mess with the file offset after io.Copy() and causes geneos logs to do strange things with remote log files

  • tools/geneos

    • Fix a number of issues with geneos logs, including the results of the above but also how log file references are stored so that when you are tailing the same named instance on two hosts they get mixed up.

    • Update aes commands to be less error prone, change import to not automatically update key files in instances, but require a new --update flag. Update docs.

Release v1.10.3 - Fixes

02 Nov 08:53
Compare
Choose a tag to compare

Change Log

Version v1.10.3

Released 2023-11-02

Please report issues via github or the ITRS Community Forum.

v1.10.3 Fixes

  • tools/geneos - Fix duplication of non-host qualified names introduced in last fixes - a string list was re-used instead of being locally allocated inside blocks.

  • pkg/config - In Sub() copy the pointer to the mutex from the parent so that locks apply to the whole config object. Fixes concurrent access panic when methods are called on both the parent and the new sub-config. While here, also copy the other config fields, like delimiter.

Release v1.10.2 - Fix `geneos` wildcards and remote ssh sessions

31 Oct 13:17
Compare
Choose a tag to compare

Change Log

Version v1.10.2

Released 2023-10-31

Please report issues via github or the ITRS Community Forum.

⚠️ Note: The previous patch version was removed after finding the fix for wildcards was only partial. This second patch release addresses that issue.

v1.10.2 Fixes

  • tools/geneos

    • The recently introduced wildcarding for instance names was causing non-matching instance names to be evaluated all "all", so geneos stop test would stop all instances. Fix this by checking the list of names returned from the pattern match and if empty assume the input is not a pattern and leave it alone.
    • The fix to pkg/host below tries to ensure that running multiple sessions to remote hosts works more reliably, especially those where commands take some time to return, like for start
  • pkg/process - Fix Daemon() for Windows by adding a DETACHED_PROCESS flag to new proc attributes.

  • pkg/config

    • Protect global map access with a mutex in expandoptions.go
    • Make the viper mutex a plain one, not RWLock. Reorder calls to Unlock to cover decode()
  • pkh/host - Allow for remote SSH session limits, retry NewSession() up to 10 times with a 250ms delay. This limit is in the remote server, so cannot be overridden.

*DO NOT USE* Release v1.10.0

25 Oct 08:32
Compare
Choose a tag to compare
Pre-release

A problem has been found that means you should not use geneos from this release. Update coming soon.

Change Log

Version v1.10.0

Released 2023-10-25

Please report issues via github or the ITRS Community Forum.

v1.10.0 Fixes

  • pkg/config

    The Sub() methods will now return an empty Config struct and not nil if the key is not found. This is a divergence from viper.

    The non-global GetSliceStringMapString method returned values from the global config object. Found while implementing changes to noe use embedded viper, see below.

  • pkg/geneos/netprobe

    Updates to the structs to produce valid XML when rendered as XML through the Go xml package.

  • tools/geneos

    • Do not automatically try to rebuild component config files if the setup parameters is to a remote configuration.

    • Fix the show -s command to read instance configurations from their potentially remote host and not localhost.

    • Add a 250ms delay after starting an instance to allow for the process to fully start and update OS args so that the GetPID call works more often and can report the successful start-up.

v1.10.0 Changes

  • pkg/config

    Potential API Changes - to allow safer concurrent access to the underlying viper configuration objects the original embedded viper instance in the Config struct has been promoted to be named as Viper. This removes access to embedded methods and the intermediate methods have been updated to use a RWMutex around every call to viper. This however means that not all viper methods are transparently available and new shims have been added for the most common ones found. If dependent code now fails to compile because of missing methods they will need to be added to config.go along with the appropriate mutex wrappers.

    Added a WatchConfig() option to enable auto-reloading final config files found during Load(). Note that WatchConfig is not concurrency safe. This may change if we implement our own callback.

  • tools/geneos

    • Add "glob" style wildcard support for instance names (and names only, not remote hosts) to most command. This should always be used with quoting to avoid shell expansion. This allows commands line geneos start gateway 'LDN*' and so on. Also add support to move and copy to act on multiple wildcarded sources as long as the destination is a @HOST.

    • Some instance configuration parameters are no tested for the instance home path and this is replaced with ${config:home} so that moves and copies have paths auto updated. This include certificates, keys and set-up files.

    • Lower the auto-generated instance.setup.xml Gateway include file priority value so it is loaded before other typical includes.

    • For Gateway and SAN change default parameters gatewayname and sanname respectively to use name in an GetString expansion. This makes the parameters auto-update if the instance name changes (for example using move or copy) until and unless the user sets a fixed name.

    • Remove the -setup-interval from SAN command lines (which was using the default anyway) to allow it to be overridden in the options parameter.

Release v1.9.2

10 Oct 15:29
Compare
Choose a tag to compare

Change Log

Version v1.9.2

Released 2023-10-10

Please report issues via github or the ITRS Community Forum.

v1.9.2 Fixes

  • tools/dv2email
    • Fix environment handling, which was broken in an earlier update to the config package
    • Add command line args for use from a Geneos Command
    • Update Dataview Row handling
    • Fix HTML template for multiple Dataviews
    • Update docs

v1.9.2 Changes

  • pkg/config
    • Add a SetConfigReader() option to Load to be able to load configuration from an io.Reader. Untested, work in progress for a project.

Release v1.9.1

06 Oct 10:50
Compare
Choose a tag to compare

Change Log

Version v1.9.1

Released 2023-10-06

Please report issues via github or the ITRS Community Forum.

v1.9.1 Fixes

  • The release build process has been reworked to use Debian Bullseye images to maximise compatibility for shared libraries and also to build static binaries cleanly. A change in the Go toolchain at some point has made the build of the dynamically linked centos7 binary of geneos not work. This has now been removed while investigations into how to do this properly continue. This means that for users who have network directories for users there will be errors looking up users for ls and ps commands, at minimum.
  • tools/geneos
    • Use path.IsAbs() and not filepath.IsAbs() so that constructing paths on a Windows host works for remote Linux systems. Fixes process start from Windows to Linux.
    • Allow deletion of protected instances with the --force/-F flags, as intended originally
    • When creating instances check all listening ports, not just those reserved in instance configurations
    • More fixes to package handling around component types with parent types
    • Change TLS cert verification to validation and document better
    • Add chain file path to geneos tls ls -l output

v1.9.1 Changes

  • pkg/geneos
    • Move Netprobe XML structs to their own package pkg/geneos/netprobe