Hi,
The native SAM api poller handling is very static requiring manual handling in SW for changes on the target side.
With a proxy Python script we could handle changes as well as just installing the script for other sites.
Further, the api poller is a SAM function whereas the api data is related to different network elements.
The proxy could then also resolve this mismatch.
I have envisaged that we should be able to generate a python script which will:
- Initialize - identify the components from the api response to be monitored and configure SW variables accordingly
- For each polling it will detect if any configuration changes have been made on the target side and adapt the SW config accordingly
- For each polling it will update the SW variables and SW actions should be taken if status is down etc as natively handled by SW
My starting point for changing values in SW is to use the Orion api via Python as documented at https://github.com/solarwinds/orionsdk-python
One should then be able to add nodes and set custom properties for those.
However, I do not understand how one should be able to apply a “push model” (from the proxy into SW) yielding a SW handling with alarms etc for these variables / custom properties.
The documentation is focused on poller types which is the opposite way of data handling (fetch model).
I would then be pleased to get some guidance on how use the orion api with python for our purposes.
Thanks!
Goran