Page 1 of 1
Best Practices for Automated host creation
Posted: Tue Apr 11, 2017 8:43 am
by powellbc
I am new to Nagios XI and the biggest paint point is creating hosts for monitoring. I am planning on taking advantage of the .cfg method and reconfigure_nagios.sh script to ease this. Are there any best practices or pointers that might be useful? I am planning on a set of base cfg files which we will duplicate and edit the host names as needed.
Any pointers would be appreciated!
Re: Best Practices for Automated host creation
Posted: Tue Apr 11, 2017 9:18 am
by tacolover101
are you using xi or core?
i found this pdf document randomly a long time ago that helped me understand how to use xi's API to manage things on a large scale.
Re: Best Practices for Automated host creation
Posted: Tue Apr 11, 2017 9:36 am
by powellbc
We are using XI.
I had run across a different PDF that got me started (
Automated Host Management In Nagios XI). Thanks for sharing this one as well!
Re: Best Practices for Automated host creation
Posted: Tue Apr 11, 2017 11:55 am
by dwhitfield
The two documents aside, I would suggest using the API. The documentation for that is built in to the help menu in XI. Please let us know if you run into any issues.
Re: Best Practices for Automated host creation
Posted: Wed Apr 12, 2017 6:03 am
by rony albert
dwhitfield wrote:The two documents aside, I would suggest using the API. The documentation for that is built in to the help menu in XI. Please let us know if you run into any issues.
Is that API is open source or has some-kind of restrictions?
tachophobiaipledgesRemedies
Re: Best Practices for Automated host creation
Posted: Wed Apr 12, 2017 9:31 am
by dwhitfield
@rony albert , the API is part of XI. If you want to discuss automation in Core, you should open a thread in the Core forums. Alternatively, I can just move your post to those forums.