pip install pyncentral
Actions are based on 4 tasks:
pyncentral -username "USERNAME" -p "PASSWORD" -url "www.myncentralserver.local" all -h
pyncentral -username "USERNAME" -p "PASSWORD" -url "www.myncentralserver.local" customer -h
pyncentral -username "USERNAME" -p "PASSWORD" -url "www.myncentralserver.local" device -h
pyncentral -username "USERNAME" -p "PASSWORD" -url "www.myncentralserver.local" task -h
Please use -h switch for help
- Each customer or site has a CustomerID
- Each device has a unique id
- Each monitored item on a device is called a task and also has a unique id (in API)
- You can pause/enable monitoring of spesific items ---- Yes, that means a website or service on a server for example.
- You list customers.
- You can list devices per customer.
- You can list tasks per device.
- Get active issue list per customer.
- Get device info.
Output: All in Json format ;-)