I use/d nsclient for the windows boxes(the ones i used to administer 
*sigh*), perhaps nsclient++ is a more featured version



 comment out the password line in nsc.ini (if the nsclient++ needs to 
restart for the changes in the ini file to take effect, do so), try 
running the check_nt command manually(from the command line) from ur 
linux nagios server:

path-to-ur-check_commands/check_nt -H $HOSTADDRESS$ -p 12489 -v $ARG1$ $ARG2$


replace the variables with whatever u have to. if that works, maybe you forgot 
to restart the nsclient++ service so it can re-read the config file if ever it 
doesnt periodically do so.



2. if that didn't work, check your eventlogs on your windows box and the 
system log file on your linux box(/var/log/messages) for any messages 
related to nagios, doing so could help you in further troubleshooting.


give me an update, i'd like to know any improvement if there is =D.

cheers!

[EMAIL PROTECTED] wrote:
> Hi guys, 
>
> I was trying to configure nagios server to a nagios (windows) client. I got 
> this error on the nagios server telling me:
> "NSClient - ERROR: Invalid password." 
>
> I have set in the client a passoword (NSC.ini) the following:
> [modules] 
>
> FileLogger.dll 
>
> CheckSystem.dll 
>
> CheckDisk.dll 
>
> NSClientListener.dll 
>
> NRPEListener.dll 
>
> SysTray.dll 
>
> CheckEventLog.dll 
>
> CheckHelpers.dll 
>
> [Settings] 
>
> password=somepassword 
>
> allowed_hosts=192.168.0.0/24 
>
> use_file=1 
>
>
> [log] 
>
> file=NSC.log 
>
> date_mask=%Y-%m-%d %H:%M:%S 
>
>
> [NSClient] 
>
> allowed_hosts= 
>
>
> port=12489 
>
> [Check System] 
>
> [NRPE] 
>
> [NRPE Handlers] 
>
> warn.require.eventType=error warn.require.eventType=warning 
> critical.require.eventType=error critical.exclude.eventType=info 
> truncate=1024 descriptions 
>
> File:WIN=c:\ATI\*.* 
>
>
> On nagios server
> # vi /usr/local/nagios/etc/commands.cfg 
>
> define command{
>        command_name    check_nt
>        command_line    $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s 
> somepassword -v $ARG1$ $ARG2$
>        } 
>
>
> Firewall was turned-off on both machines. 
>
> Any idea why my server unable to connect to client? 
>
>
> Regards,
> Iris Lames
> Brainbench Transcript no: 4387542
> Linux user: 298456
> _________________________________________________
> Philippine Linux Users' Group (PLUG) Mailing List
> [email protected] (#PLUG @ irc.free.net.ph)
> Read the Guidelines: http://linux.org.ph/lists
> Searchable Archives: http://archives.free.net.ph
>
>   

_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to