On Tuesday July 1 2008 02:21:07 pm Marc Powell wrote: > On Jul 1, 2008, at 4:30 AM, Christian Schneemann wrote: > > Hi, > > is it possible to add hosts to a running nagios server through an AP > > (commands > > in command file)? > > Not currently... Interpret as you will -- > > checks.c: /* TODO - add new service definition > automatically */ > checks.c: /* TODO - add new host definition > automatically */ I interpret it, that it is on the TODO list that a service/host definition should be created automatically if a service/host result comes in which is not defined? It it is so, it would be that what I want/need.
> > I also believe this might be something the event broker could do in > the future. > > > I can't know which hosts here at work will have the software > > installed, but > > when they have it insalled they has to be monitored. > > How would nagios know about them then? The hosts register at the service when they will do jobs for it, from this service I could get the information about hosts I have to add to nagios. (service here is not a service in nagios, it is meant as a service on a server) > My suggestion would be to > create your own plugin that knows this information and checks them all > at once. Assign it to a host that always runs the software or a dummy > host created for this purpose. We would like to do it in a clean way ;) > Alternately, have the service check > assigned to all possible hosts but exit as OK if the software isn't > supposed to be running on it at that time. Thats not possible, I don't want to monitor every workstation we have here at the company. We just want to monitor the hosts having this service enabled and for the time it is enabled. > > -- > Marc > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- Christian Schneemann ------------------------------------- SUSE LINUX Products GmbH, Maxfeldstr. 5, D - 90409 Nürnberg Phone: +49 (0)911 - 740 53 0 e-mail:[EMAIL PROTECTED] ------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex HRB 16746 (AG Nürnberg) ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null