Skip to main content

An additional module that exposes s/ware patching and metrics information to the built in FileWave dashboard

Project description

FileWave Extra Metrics

The purpose of Extra Metrics is to augment a standard FileWave installation with additional metrics and dashboard capabilities.

Overview

Extra Metrics provides a series of dashboards and prometheus metrics related to how your fleet's deployments are progressing. The information can be used to show "at-a-glance" insights into the software patch status, device health and user specific deployments.

Example dashboards are included in this project; and will be installed automatically.

Requirements

Before you begin - it's very important to ensure that you meet the requirements for this additional module.

Minimum FileWave System Requirements:

  1. FileWave Version 14+: Extra Metrics requires version 14 or higher of the FileWave product. It will fail to configure on anything less.
  2. SSH: You will need SSH access to your FileWave Server.
  3. Create an API Key specifically for this module (with inventory create rights).
  4. Ensure your server has SSL certificates - self signed certs are not enough.

Installation

These instructions assume you will be installing Extra Metrics directly on your FileWave Server, which already has Python3.7 (or later) installed.

We highly recommend installing Extra Metrics into its own virtual environment. Doing so ensures that the introduction of this module cannot interfere with the operational integrity of your FileWave Server.

DO NOT INSTALL EXTRA METRICS DIRECTLY INTO THE PYTHON RUNTIME ENVIRONMENT OF YOUR FILEWAVE SERVER.

If you are unsure about the above statement - STOP - contact your FileWave SE or support. Your FileWave Server installation can be destroyed by mis-understanding the impact of this configuration.

Steps

Assuming you are already logged into your FileWave Server using SSH, follow along to set up the virtual environment, install the Extra Metrics package and configure it for use.

For the purpose of these instructions we are assuming a non-root user called gregor has been created.

$ /usr/local/filewave/python/bin/pyvenv $HOME/extra-metrics
$ source $HOME/extra-metrics/bin/activate

Now your terminal prompt will change - the name of the virtual env should show up:

(extra-metrics) $ pip install filewave-extra-metrics

Now the python package is installed; before completing configuration you need an API Key (and SSL certs)

Create & configure an Inventory API Key

Extra Metrics should be configured with an Inventory API Key in order to access Inventory and create the inventory groups and queries.

Please create a unique access token (API Key) for the Extra Metrics module

Once you have the API key; use the following command:

$ which extra-metrics-config $ sudo extra-metrics/bin/extra-metrics-config --api-key 'EzblNWflNTYwLtQzZWEtNDMwYc1iNTa1LTlmZTkxODFjODAyNH0=' --external-dns-name 'fwserver.mydomain.com'

Hint: don't skip this - SSL Certs

Make sure you have an SSL certificate, it must be valid, trusted by everyone (not just the server) and absolutely under no circumstances should it be self signed.

Just do this - you'll save yourself untold pain. Trust me I'm still healing.

Reference

Adjust supervisorctl to include --storage.tsdb.allow-overlapping-blocks?

What information is exported by Extra Metrics?

Software Patch Status

The software update (patch status) of clients is calculated using software update catalogs as well as information delivered by clients about the updates they require.

Panels provided:

  • A birds eye view of the entire fleet's patch status - represented via percentage numbers of patch deployment, grouped by state (success, pending installation and warning/error).
  • Numbers related to (critical) updates that are not fully deployed.
  • Links into the FileWave web UI to make remediation or further investigation easier.

Device Health

The whole fleet of devices is continuously sending data back to the FileWave Inventory system which is used to calculate device health.

Panels provided:

  • Device health summary - a grouping of all devices by health state. The health of a device is calculated as follows:
  • TBD (disk space, outstanding patches)

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

filewave-extra-metrics-1.0.5.tar.gz (25.0 kB view details)

Uploaded Source

Built Distribution

filewave_extra_metrics-1.0.5-py3-none-any.whl (43.5 kB view details)

Uploaded Python 3

File details

Details for the file filewave-extra-metrics-1.0.5.tar.gz.

File metadata

  • Download URL: filewave-extra-metrics-1.0.5.tar.gz
  • Upload date:
  • Size: 25.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for filewave-extra-metrics-1.0.5.tar.gz
Algorithm Hash digest
SHA256 7c3733968b6569cae354b637d09a2eed826da86b565d6ec5648a164621825244
MD5 0638685d5ec76d31966cda8f942a783b
BLAKE2b-256 3ab1d56271ac6bbaa3bc6a2cd2f04d3387d1d1f28e66f31a81259cc9d54f5ff9

See more details on using hashes here.

File details

Details for the file filewave_extra_metrics-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: filewave_extra_metrics-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 43.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for filewave_extra_metrics-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 22c3abe9036c07428760be0c776b36983d49e27827f9332925ad959234d885e3
MD5 90ad8bc3ade3a7e66a7285f40ceb0e08
BLAKE2b-256 ab3bc37ed3873076cc0bacc98838146c22f1a54c1f15be42cc4c15bce96dcd8f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page