Sharepoint health monitor nagios plugin
Project description
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.2.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for sp_health-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bb34c85001ba059b653840f6f762284d690f419e6a58676adb84f18a3d0ab9a |
|
MD5 | 117a2ae485eec3c77018a29efe6e9963 |
|
BLAKE2b-256 | 863614d2036f96fab8a1cd6766d546f84423f52c735c7692126e8875e33a95ab |