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.

Built Distribution

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

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page