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.

Source Distribution

sp_health-0.2.3.tar.gz (4.7 kB view hashes)

Uploaded Source

Built Distribution

sp_health-0.2.3-py3-none-any.whl (6.6 kB view hashes)

Uploaded 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