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 but also runs on python 3.* version.

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 21.1.3)

pip install –upgrade pip

Install python-dotenv:

pip install python-dotenv

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_python_client-2.3.5.tar.gz (14.7 kB view details)

Uploaded Source

Built Distribution

svmon_python_client-2.3.5-py3-none-any.whl (17.8 kB view details)

Uploaded Python 3

File details

Details for the file svmon_python_client-2.3.5.tar.gz.

File metadata

  • Download URL: svmon_python_client-2.3.5.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.6.8

File hashes

Hashes for svmon_python_client-2.3.5.tar.gz
Algorithm Hash digest
SHA256 d1009447b33947b0cef496a6d114908a8757b2ee523e39d30a8333cdf6633e9f
MD5 f7a2488afaccec304e242d713f1075ba
BLAKE2b-256 ef915fe112964eb4ac99659928a3a2336b4759da7ddcfe15336a35c49fe20f6d

See more details on using hashes here.

File details

Details for the file svmon_python_client-2.3.5-py3-none-any.whl.

File metadata

  • Download URL: svmon_python_client-2.3.5-py3-none-any.whl
  • Upload date:
  • Size: 17.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.6.8

File hashes

Hashes for svmon_python_client-2.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ad2bd072a2c097883f777b8f9fea9de267f6597a474e1205c44fcba965fed4af
MD5 ce4d7dd40258a65292e0ec1708b9104d
BLAKE2b-256 b516c83b3d9d6a0695c9f866cbde35feec9b979c8b3ae6829cc294b037ef74c1

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