Script to add machines to nagios

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
intelXIadmin
Posts: 65
Joined: Mon Mar 25, 2013 9:10 am

Script to add machines to nagios

Post by intelXIadmin »

Hello,

Is there method of using a script to add a host to a nagiosXI server somehow. We bring VM's up and down for temporary uses that need to be monitored. The VM's are scripted and I would like to write a script for automating the addition of these servers to Nagios.

Regards,

Randy.

Nagios XI 2012R2.9
Redhat 6.5
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Script to add machines to nagios

Post by sreinhardt »

I would highly suggest taking a look at the talk below from Activision at our world conference in 2012.

http://vimeo.com/52112155
http://exchange.nagios.org/directory/Mu ... te/details

See if that will suite your needs, I think its a pretty close although probably not perfect fit.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
intelXIadmin
Posts: 65
Joined: Mon Mar 25, 2013 9:10 am

Where to find documentation?

Post by intelXIadmin »

Hello,

Thank you for the reply on this. It may be a solution for us. Where can I find some documentation on this?

Regards,

Randy. :)
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Script to add machines to nagios

Post by abrist »

Well, the documentation is found in the form of slides for the most part . . .
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
intelXIadmin
Posts: 65
Joined: Mon Mar 25, 2013 9:10 am

Re: Script to add machines to nagios

Post by intelXIadmin »

abrist wrote:Well, the documentation is found in the form of slides for the most part . . .
About all the slides say is the Auto Deployment feature is available in 2011R3.2, unless I am missing something. Where is this feature at on the server?

Regards,

Randy.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Script to add machines to nagios

Post by slansing »

Hey intelXIadmin,

I believe what you are looking for is this:

http://assets.nagios.com/downloads/nagi ... gement.pdf

That should show you how to automate the processes that were talked about in those slides.
Locked