Create services dynamically for a specific host

Anand, Sakshi sa185043 at ncr.com
Thu Mar 17 05:51:58 CET 2011


This is great idea. I think I will try this out.

Thanks Yueh.

Regards,
Sakshi Anand 

-----Original Message-----
From: Yueh-Hung Liu [mailto:yuehung.liu at gmail.com] 
Sent: Wednesday, March 16, 2011 8:48 PM
To: Nagios Users List
Subject: Re: [Nagios-users] Create services dynamically for a specific host

no.
you have to define the services before Nagios can "display" them, otherwise Nagios won't know where the passive checks it received should go, this is the rule.
but maybe you can do a trick: while a passive check occurs, create a config file "dynamically" for the subject service, restart Nagios to read the new config file, then issue an external command to set the status of the service.
just an idea, no detail now.


On Wed, Mar 16, 2011 at 7:09 PM, Anand, Sakshi <sa185043 at ncr.com> wrote:
> Hi,
>
> I have some 150 services that I wish to monitor using passive checks 
> to Nagios.
>
> Is it possible for Nagios to dynamically display these services as it 
> received the check without specifying the exact service name in the 
> configuration?
>
> Please suggest if there is any way out to get this done.
>
> Thanks & Regards,
> Sakshi Anand
>
> ----------------------------------------------------------------------
> --------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit for your 
> organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list