On 20 March 2010 13:40, <[email protected]> wrote: > Hi, > > I am able to see the following in nsclient.log file.Please suggest. > ... > error:modules\NSClientListener\NSClientListener.cpp:313: Unauthorized > access from: x.x.x.x ... > 2010-03-18 00:43:37: error:modules\NRPEListener\NRPEListener.cpp:289: > Unauthorize access from: x.x.x.x
This means this host isn't allowed to connect to the NSClient++ agent. By default "allowed_hosts" is set to 127.0.0.1 which effectively means nothing can connect to the agent. Edit the nsc.ini file and in the [settings] section and make sure the "allowed_hosts" option is set to the IP address of your Nagios server (and that it is not commented out with a ";") then restart the NSClient++ service. It's a good idea to read the documentation for all the options and make sure you understand what they are for, as some of them affect security and other are just useful to know about. http://nsclient.org/nscp/wiki/doc/configuration#Settings If you are trying to connect to the agent using a password, you might need to set that up too (again see the documentation page). Cheers, Jim ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list [email protected] 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
