Re: [Nagios-users] Dynamically add/remove hosts on Nagios

2012-02-10 Thread carlos
Hi, By scripting, you can create a new file for your new host (or delete) and reload nagios. Not smart... Felipe Cecagno fceca...@gmail.com ha escrito: Hi everybody, This is the first time I'm posting on this mailing list, so I'm sorry if my question was already discussed here

Re: [Nagios-users] Dynamically add/remove hosts on Nagios

2012-02-10 Thread Mike Lindsey
On 2/9/12 5:32 PM, Felipe Cecagno wrote: The problem is that I want to add and remove instances dynamically, I don't want to manually modify hosts.cfg on the central each time I change my infrastructure. So my idea was that when a new instance gets up, it will send to Nagios something like

Re: [Nagios-users] Dynamically add/remove hosts on Nagios

2012-02-10 Thread ranjib dey
Have you considered using a configuration management tool like chef or puppet ? They address the exact usecase On Feb 10, 2012 7:08 AM, Felipe Cecagno fceca...@gmail.com wrote: Hi everybody, This is the first time I'm posting on this mailing list, so I'm sorry if my question was already

Re: [Nagios-users] Dynamically add/remove hosts on Nagios

2012-02-10 Thread Daniel Wittenberg
That depends on your definition of dynamically. I would like to see it be able to add/remove hosts without requiring a restart of the service. I currently use puppet, but it's still just updating files and then you have to restart to pickup the changes. Dan From: ranjib dey