Skip to main content

client for okerr cloud monitoring system

Project description

okerrclient

okerrclient is old client for okerr network/host monitoring system (okerr-dev git repo).

Most (especially new) users should not need to use this okerrclient package and should use okerrupdate client instead (it's much newer, redesigned and simpler to use) but okerrclient has features to use okerr API which is missed in small okerrupdate utilities.

Example usage

assume your project has textid 'mytextid'

simple indicator update create (minimalistic)

okerrclient -n delme -s OK 

more complex example

okerrclient -i mytextid -n delme -s OK -S bzbzbz -u http://dev.okerr.com/okerr -m "numerical|minlim=0|maxlim=100" -v

run API queries

configure textid=mytextid and api-key = your_project_okerr_api_key in /etc/okerrclient.conf.

okerrclient --api-indicators
okerrclient --api-indicator --name MyIndicator
okerrclient --api-filter sslcert '!policy:Default'
okerrclient --name MyIndicator --api-set url=http://google.com/ retest=1 

Or use in script (set policy 'Daily' for all 'whois' indicator with policy 'Default'):

for i in `okerrclient --api-filter whois policy:Default`; 
do 
    echo fix $i; 
    okerrclient -i okerr --name $i --api-set policy=Daily; 
done

Other okerr resources

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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

okerrclient-2.0.164-py2.py3-none-any.whl (43.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file okerrclient-2.0.164-py2.py3-none-any.whl.

File metadata

  • Download URL: okerrclient-2.0.164-py2.py3-none-any.whl
  • Upload date:
  • Size: 43.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.7.3

File hashes

Hashes for okerrclient-2.0.164-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0abd2b9551351cd525c8749db9effc3ee2ab8d452b46473500757c65a27c53f4
MD5 5451f0273b17b973d06b47b02024d2d2
BLAKE2b-256 9ca37075254098596debab527d967506b009aa10a92a6f949bbb09d3f2a656f4

See more details on using hashes here.

Supported by

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