Skip to main content

This is a python implementation of SVMON client

Project description

PySVMON

PySVMON is a develoment project for SVMON client. It migrates bash-based client code to python. The development is based on python 2.7.13, and shall be tested on python 3.* version(TO DO).

Before installation, check your installation of pakiti-client, see whether it support –svmonreport option. If unsupported, please remove it. A new version of pakiti-client will be installed with svmon client(rpm or pip). Then one can use pip tools directly (root privileges if no virtualenv),

pip install svmon-client

Update pip client to the latest version (pip 18.1 )

pip install –upgrade pip

For test, just run the command svmon, the shell will return you help information. One can also try

svmon -T (–test)

One can see an output with svmon client version. This could cause error with old pip versions.

After test, the service owner could specify the parameters of its own service via command options, and save it For example for svmon (currently not all service types are supported),

svmon –site KIT –host svmon.eudat.eu –type svmon –dump

the –dump option will save the configuration to config.json file. Currently, for B2HANDLE service, one need to further input epic version file and handle server excutable directory into the client.

To check the current configuration, type

svmon –show-config

To see output of svmon client,

svmon –print

Make sure you have installed perl-libwww-perl, perl-LWP-Protocol-https packages. Then try

pakiti-client –svmonreport

to see the report collected by svmon client. To send svmon report to our server, run pakiti client:

pakiti-client –svmonreport –url https://svmon.eudat.eu:8443/api/serviceComponent/pakiti/report

One can add it to crontab. Or alternatively, direct post to the svmon server is supported, try:

svmon –send

. However, you need install python requests library (http://docs.python-requests.org/en/master/user/install/#install). In addition, to establish secure link, you will also need SSL trusted CA chain file.

Note: we also enclose the trusted CA file within the client: chain_TERENA_SSL_CA_3.pem.

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

svmon-client-1.3.4.tar.gz (18.3 kB view details)

Uploaded Source

File details

Details for the file svmon-client-1.3.4.tar.gz.

File metadata

  • Download URL: svmon-client-1.3.4.tar.gz
  • Upload date:
  • Size: 18.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15+

File hashes

Hashes for svmon-client-1.3.4.tar.gz
Algorithm Hash digest
SHA256 3c3a9c7bd36154919fc09e02517766c933f3440bee2a92bc3e18339b39652eff
MD5 42772d0c2cfc10a9e1b5503647195917
BLAKE2b-256 8e2279cb901345547239c4eebb4255897ac0205125bed4cde03428f5226f2b1c

See more details on using hashes here.

Supported by

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