Thanks so much Ashish for your reply.

I am trying to monitor state of all my containers with different names.

So, I need to display names of all the 150 containers on the page which I dont 
think will look good.

I am planning to dynamically create the configuration file and restart nagios.

I will share the code once I have it developed. I think it will help others too.

Thanks & Regards,
Sakshi Anand

________________________________
From: Kumar, Ashish [mailto:xml.de...@gmail.com]
Sent: Thursday, March 17, 2011 12:02 AM
To: Anand, Sakshi; Nagios Users List
Subject: Re: [Nagios-users] Create services dynamically for a specific host

On Wed, Mar 16, 2011 at 7:51 PM, Anand, Sakshi 
<sa185...@ncr.com<mailto:sa185...@ncr.com>> wrote:
I have gone through this article. Not of much help to me :(

Is it somehow possible that nagios fetches service name from passive check sent 
to it and display it as it is to nagios home page?

Regards,
Sakshi Anand


Perhaps you can try naming the service something like "Enterprise service".  
Send all the passive checks to this service and prefix a label to the message 
and send out the alerts immediately, e.g.

CPU CRITICAL - 100% utilised
MEM WARNING - 95% utilised
JBOSS WARNING - something strange in logs
ORACLE CRITICAL - RAC service XXXX down
crond CRITICAL - 0 processes running

If you are using e-mails for notifications then probably you might want to 
change the format and focus more on the message, not service name.
------------------------------------------------------------------------------
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@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

Reply via email to