Nagios rest api to create multiple object in static folder
Posted: Sun Oct 22, 2017 10:18 pm
Hi there,
I have a few questions regarding creating objects using rest api.
1. is it possible to create multiple objects (e.g. hosts, services,servicegroup, timeperiods) in one rest api call?
2. If 1 is yes, is it possible to put these configure definitions as a file, then use that file as a parameter to the rest api?
3. is it possible to create these objects as static, like those under nagios/etc/static folder?
Thanks a lot for your help.
Best Regards,
scott
I have a few questions regarding creating objects using rest api.
1. is it possible to create multiple objects (e.g. hosts, services,servicegroup, timeperiods) in one rest api call?
2. If 1 is yes, is it possible to put these configure definitions as a file, then use that file as a parameter to the rest api?
3. is it possible to create these objects as static, like those under nagios/etc/static folder?
Thanks a lot for your help.
Best Regards,
scott