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.

Files for okerrclient, version 2.0.164
Filename, size File type Python version Upload date Hashes
Filename, size okerrclient-2.0.164-py2.py3-none-any.whl (43.2 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page