well, maybe my mind is cluttered but forgive me i cnt understand;

a) are you trying to configure your nagios server from a client (windows
os)?

b) are you trying to configure the client(windows os)? to be check by
nagios.

1. what is the os of the client? (win ( NT, 2K, or 2K3))

2. firewall disabled but  is it  configured  to reply to  a  ping command?
I had this  co-worker  who disabled "ping reply" and it cost me a lot of
aspirin (especially on a server where people ping to test for connectivity).

3. and at least tried the basic ( lan card, network cable, hub) and ughh
some idiots  in my office complained about not being connected when the
cable was tripped by the janitor. and he couldn't even see, they we're not
"physically connected" to the network and ahh  blame it on the tech guy.
sorry. some stress.

4. check for the port that is accessible in your nagios server. and maybe on
your client if it's a server too or even if not.

5. is your NSClient the most updated version? have you read the changelog?
and as the other guy suggested(forgive me man, im terrible with names i cnt
rmbr unless your a girl) SNMP enabled on windows?

here is why SNMP is important (partially explains what i want to say)
from: http://www.nagios.org/faqs/viewfaq.php?faq_id=32

*SNMP*

The good news is that NT has a lot of performance data that you can monitor.
The bad news is that its difficult to do. Your best bet is probably going to
be to install SNMP services on all your NT boxes.

In order to expose NT performance counters for monitoring, you'll have to
run the SNMP service on all servers you want to monitor. You'll also have to
install any necessary performance MIBs for the services you want to monitor.
I believe these can be found in the NT Resource Kit or in various server
admin packages. If you've feeling extra lucky you can try to search the
Microsoft site for the terms *SNMP* and *MIB* and maybe you'll find
something...

You can search the MRTG mailing list
archives<http://www.ee.ethz.ch/%7Eslist/mrtg>for more information on
configuring NT servers to expose various performance
counters via SNMP. I know this has been discussed in the past, as many
people are graphing various NT performance statistics using MRTG. In fact,
somebody from Microsoft is actually doing it - you can find their web page
at http://snmpboy.msft.net/.

Once you've actually got the SNMP stuff working, you can use the check_snmp
plugin to query your NT servers and generate alarms.



regards,

Daniel


On 8/29/07, [EMAIL PROTECTED] <[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
> plug@lists.linux.org.ph (#PLUG @ irc.free.net.ph)
> Read the Guidelines: http://linux.org.ph/lists
> Searchable Archives: http://archives.free.net.ph
>



-- 
Destiny waits for No one. Silence.... silence... my faithful friend!
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
plug@lists.linux.org.ph (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to