Nagis connection refused error
Assaf Flatto
assaf.flatto at ssp-intl.com
Thu Apr 9 12:52:35 CEST 2009
On the windows machine in nsclient installation directory look for a *.ini file .
In the file you have several sections defined by "[]" find the one relating to NSclient .
In that section you have a directive "allowed_hosts " - you will need to add the nagios server ip .
Below it you have directive "port" - you need to un comment it and define the port you wish to
use - this port should also be used in your service and command definitions on the nagios server.
once that is done , stop the nsclient service and restart it.
Assaf
On Thursday 09 April 2009 11:37:05 Surajit Mukherjee wrote:
> Hi Assaf,
>
> I have checked all the things that you mentioned below. I think
> something related to the configuration. Please suggest.
>
> Surajit
>
> -----Original Message-----
> From: Assaf Flatto [mailto:assaf.flatto at ssp-intl.com]
> Sent: Thursday, April 09, 2009 3:52 PM
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Nagis connection refused error
>
> Hello
>
> A couple of things pop to mind :
>
> 1) is the windows firewall active ?
>
> 2) have you configured the windows NSClient to accept queries from the
> nagios server ?
>
> 3) do you have a firewall in between the nagios server and the target
> machines ?
>
> Assaf
>
> On Thursday 09 April 2009 11:09:35 Surajit Mukherjee wrote:
> > Hi All,
> >
> >
> >
> > I am new in Nagios and configured Nagios 3.0.6 in Redhat5 VMware. I am
> > configured windows machines for to monitor memory load, cpu load erc.
> >
> >
> >
> > I am logging to http://myserver/nagios <http://myserver/nagios> and
> > getting the host status information as it shows UP.
> >
> > But in notification area it is showing connection refused. Can anybody
> > help me what are all the things I should check for this error?
> >
> >
> >
> > Surajit
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > The information contained in this communication is intended solely for
> > the use of the individual or entity to whom it is addressed and others
> > authorized to receive it. It may contain confidential or legally
> > privileged information. If you are not the intended recipient you
>
> are
>
> > hereby notified that any disclosure, copying, distribution or taking
>
> any
>
> > action in reliance on the contents of this information is strictly
> > prohibited and may be unlawful. If you have received this
>
> communication in
>
> > error, please notify us immediately by forwarding this email to
> > MailAdmin at ness.com and then delete it from your system.
> >
> > Ness technologies is neither liable for the proper and complete
> > transmission of the information contained in this communication nor
>
> for
>
> > any delay in its receipt.
--
Assaf Flatto
SSP Ops Team
Linux System Administrator
169 Euston Road, London, NW1 2AE
IMPORTANT . this email and the information in it may be confidential, legally
privileged and/or protected by law. It is intended solely for the use of the
person to whom it is addressed. If you are not the intended recipient, please
notify the sender immediately and do not disclose the contents to any other
person, use it for any purpose, or store or copy the information in any medium.
Please also delete all copies of this email and any attachments from your
system.
We cannot guarantee the security or confidentiality of email communications. We
do not accept any liability for losses or damages that you may suffer as a
result of your receipt of this email including but not limited to computer
service or system failure, access delays or interruption, data non-delivery or
mis-delivery, computer viruses or other harmful components.
Copyright in this email and any attachments belong to Select Service Partner UK
Limited. Should you communicate with anyone at Select Service Partner UK Limited by
email, you consent to us monitoring and reading any such correspondence.
Nothing in this email shall be taken or read as suggesting, proposing or
relating to any agreement concerted practice or other practice that could
infringe UK or EC competition legislation.
Select Service Partner UK Limited is a company registered in England and Wales
(company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
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