how to start nagios multiple instance

shadih rahman shadhin71 at gmail.com
Fri Oct 23 16:04:20 CEST 2009


Marc,
    Thanks for your reply.  The reason behind doing multiple instance is
described below.  Thanks

1) Previous monitoring system (survivor) was running multiple instance based
on different systems group.

2) I have been doing hostgroup and servicegroup along with contactgroup to
represent different instances of previous monitoring system.  However its
growing exponentially and seeing performance issue.  ( currently there are
8000 servicechecks.  Some of the hosts will be 20 fold on the number of
service checks run on them soon.)

3.  Ndoutils database has performance on quering some of these services.
When run different instances with separate database their data set will be
smaller and it will be easy to retain the data for longer time.

On Fri, Oct 23, 2009 at 9:38 AM, Marc Powell <marc at ena.com> wrote:

>
> On Oct 22, 2009, at 2:03 PM, shadih rahman wrote:
>
> > All,
> >    I am sub dividing my nagios into multiple instances.  I have read
> http://support.nagios.com/knowledgebase/faqs/index.php?option=com_content&view=article&id=52&catid=35&faq_id=22&expand=false&showdesc=true
> >  for information.  However I have few questions.  Thanks in advance
> >
> > 1) How would we manage init.d script?  are we going to use one
> > init.d script to start all the process or should there be multiple
> > init.d script?
>
> When I wanted to do this, I used one init.d script, heavily modified.
>
> > 2) Do we need multiple nagios.cfg file for each instance or one
> > nagios.cfg file separate parameter suche "log_file" with multiple
> > argument.
>
> You'll need multiple nagios.cfg files so that the files that nagios
> writes to don't conflict. Nagios doesn't understand multiple arguments
> to things like 'log_file'.
>
> > 3) Is there a possibility for namespace clash in cgi urls?
>
> I'm not sure but you may have issues if you enable the use of nagios
> environment variables?
>
> 4) Why do you think you need to run multiple instances of nagios? What
> are you trying to accomplish?
>
> --
> Marc
>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> 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
>



-- 
Cordially,
Shadhin Rahman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20091023/53cf4f4e/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
-------------- next part --------------
_______________________________________________
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