Skip to main content

Sharepoint health monitor nagios plugin

Project description

Sharepoint HealthPlugin

Checks sharepoint HealthMonitor reports list and raise an alert if some is found.

VERSION

Install

Linux:

sudo pip3 install sp-health --upgrade

Also is possible to use:

sudo python3 -m pip install sp-health --upgrade

On windows with python3.5:

pip install sp-health --upgrade

For proxies add:

--proxy='http://user:passw@server:port'

Usage

Use the command line:

sphealth --help

usage: sphealth [-h] [-u [USER]] [-p [PASSWORD]] [-s [SITE_URL]]

optional arguments:
-h, --help            show this help message and exit
-u [USER], --user [USER]
                        Username for Ntlm auth like domain\user
-p [PASSWORD], --password [PASSWORD]
                        Password for Ntlm Auth like
-s [SITE_URL], --site [SITE_URL]
                        site url for sharepoint HealthMonitor, ex: http://site:9876

Example usage

Example use:

> sphealth -u domain\user -p pass -s http://spurl:9876
Information: http://spurl:9876 |alerts=9;1;2;0;

TODO

  • Use hash passwords
  • Add Unit tests?

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for sp-health, version 0.2.3
Filename, size File type Python version Upload date Hashes
Filename, size sp_health-0.2.3-py3-none-any.whl (6.6 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size sp_health-0.2.3.tar.gz (4.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page