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

Uploaded Python 2 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