Skip to main content

Check RPM(s) and Drivers information

Project description

soliddriver-checks

A tool for RPM(s) and installed/running drivers checking, with this tool, users can have an overview of their RPM(s) and drivers status:

  • RPM(s): checks vendor, signature, distribution and supported flag for drivers.

  • Drivers: checks supported flag, SUSE release, running and RPM name.

vendor: A RPM should have a vendor name.
signature: Confirm the signature is from the vendor above.
distribution:
supported flag: The values of the flag respensent:

  • yes: This driver is supported by SUSE. But please confirm with SUSE if you're not sure if it's really supported by SUSE or the auther of the driver just put a yes on it.
  • external: This driver is supported by both vendor and SUSE.
  • Missing or no: The driver is not supported by SUSE, please contact the one who provide it to you for any issues.

Installation

From pypi: pip install soliddriver-checks

From RPM: the rpms can be found on build.opensuse.org

Usage

Usage: soliddriver-checks [OPTIONS] [CHECK_TARGET]

  Run checks against CHECK_TARGET.

  CHECK_TARGET can be:
    rpm file
    directory containing rpm files
    "system" to check locally installed kernel modules
    a config file listing remote systems to check

    default is local system

Options:
  -f, --format [html|excel|pdf|all]
                                  Specify output format, default is html, the
                                  default output is $(pwd)/check_result.html
  -q, --query [suse|other|unknown|all]
                                  Filter results based on vendor tag from rpm
                                  package providing module. "suse" = SUSE,
                                  "other" = other vendors, "unknown" = vendor
                                  is unknown, "all" = show all (default)

  -o, --output TEXT               Output destination. Target can be filename
                                  or point existing directory If directory,
                                  files will be placed in the directory using
                                  a autmatically generated filename. If target
                                  is not an existing directory, file name is
                                  assumed and output files will use the path
                                  and file name specified. In either case, the
                                  file extension will be automatically
                                  appended matching on the output format

Examples:

  • Check RPMs:

    # generate a html report for your rpm checks as default output.
    soliddriver-checks /path/to/your/rpm/directory
    
  • Check all drivers on the system.

    # generate reports with html, excel, pdf format of your os.
    soliddriver-checks
    
  • Check remote drivers.

    1. Put all your server information in a json config file, for example:
    {
     "servers": [
       {
         "check": "True",
         "ip": "10.67.17.139",
         "user": "username",
         "password": "password",
         "ssh_port": 22,
         "query": "suse"
       },
       {
     	"check": "True",
     	"ip": "10.67.18.39",
     	"user": "username",
     	"password": "password",
     	"ssh_port": 22,
     	"query": "vendor"
     }
     ]
    }
    

    query: respensent the supported flag you can give all, suse, vendor, unknow to it.

    1. Run the command below:
    # generate excel report of your remote servers.
    soliddriver-checks ./config.json
    

Project details


Download files

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

Source Distribution

soliddriver-checks-0.0.22.tar.gz (21.1 kB view hashes)

Uploaded Source

Built Distribution

soliddriver_checks-0.0.22-py3-none-any.whl (21.9 kB view hashes)

Uploaded Python 3

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