NSClient - ERROR: Invalid password.

This support forum board is for support questions relating to Nagios Network Analyzer, our network traffic and bandwidth analysis solution.
Locked
mehmethanifi
Posts: 6
Joined: Tue Dec 15, 2015 8:49 am

NSClient - ERROR: Invalid password.

Post by mehmethanifi »

Hi,

Today we have set up nagios on CentOS. we can not read the data on the computers. situation happening in the picture.

Why appears incorrect password.



Image

This password belong to nagios monitor server.
Image
Last edited by mehmethanifi on Tue Dec 15, 2015 10:20 am, edited 1 time in total.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: NSClient - ERROR: Invalid password.

Post by hsmith »

This is a screenshot from Nagios Core, but you posted in the NNA forum. Assuming you're not using NNA for anything? Can you post the check command and the service definition for the failing commands? NSClient is secured by a password, and if the password on the Nagios side doesn't match the password in the NSClient file, this happens.
Former Nagios Employee.
me.
mehmethanifi
Posts: 6
Joined: Tue Dec 15, 2015 8:49 am

Re: NSClient - ERROR: Invalid password.

Post by mehmethanifi »

Thank you for your answer. Where can I get the password control. As you can see in the picture, I fix the passcode 143082.
I think I need to write this code more elsewhere. I just ask you please show me the way?

I made my nagios monitor settings are as follows.

vi /usr/local/nagios/etc/commands.cfg

# 'check_nt' command definition
define command{
command_name check_nt
command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 143082 -v $ARG1$ $ARG2$
}

Thank you for your kind.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: NSClient - ERROR: Invalid password.

Post by hsmith »

Can you post one of the service definitions that is failing as well, please?
Former Nagios Employee.
me.
mehmethanifi
Posts: 6
Joined: Tue Dec 15, 2015 8:49 am

Re: NSClient - ERROR: Invalid password.

Post by mehmethanifi »

Are you talking about that, please?

Image
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: NSClient - ERROR: Invalid password.

Post by rkennedy »

Can you post one of the service definition's for us to take a look at?

Also, can you post your nsclient.log file?
Former Nagios Employee
mehmethanifi
Posts: 6
Joined: Tue Dec 15, 2015 8:49 am

Re: NSClient - ERROR: Invalid password.

Post by mehmethanifi »

nsclient.log
Log content is as follows.

2015-12-16 10:03:54: e:..\..\..\..\trunk\modules\NSClientServer\NSClientServer.cpp:254: Invalid password (None).
2015-12-16 10:04:51: e:..\..\..\..\trunk\modules\NSClientServer\NSClientServer.cpp:254: Invalid password (None).
2015-12-16 10:05:50: e:..\..\..\..\trunk\modules\NSClientServer\NSClientServer.cpp:254: Invalid password (None).
2015-12-16 10:06:48: e:..\..\..\..\trunk\modules\NSClientServer\NSClientServer.cpp:254: Invalid password (None).
2015-12-16 10:07:47: e:..\..\..\..\trunk\modules\NSClientServer\NSClientServer.cpp:254: Invalid password (None).
2015-12-16 10:11:54: e:..\..\..\..\trunk\modules\NSClientServer\NSClientServer.cpp:254: Invalid password (None).
2015-12-16 10:12:54: e:..\..\..\..\trunk\modules\NSClientServer\NSClientServer.cpp:254: Invalid password (None).
2015-12-16 10:13:54: e:..\..\..\..\trunk\modules\NSClientServer\NSClientServer.cpp:254: Invalid password (None).
2015-12-16 10:14:51: e:..\..\..\..\trunk\modules\NSClientServer\NSClientServer.cpp:254: Invalid password (None).
2015-12-16 10:15:50: e:..\..\..\..\trunk\modules\NSClientServer\NSClientServer.cpp:254: Invalid password (None).
2015-12-16 10:16:48: e:..\..\..\..\trunk\modules\NSClientServer\NSClientServer.cpp:254: Invalid password (None).
2015-12-16 10:17:47: e:..\..\..\..\trunk\modules\NSClientServer\NSClientServer.cpp:254: Invalid password (None).
2015-12-16 10:21:54: e:..\..\..\..\trunk\modules\NSClientServer\NSClientServer.cpp:254: Invalid password (None).
2015-12-16 10:22:54: e:..\..\..\..\trunk\modules\NSClientServer\NSClientServer.cpp:254: Invalid password (None).
2015-12-16 10:23:54: e:..\..\..\..\trunk\modules\NSClientServer\NSClientServer.cpp:254: Invalid password (None).
2015-12-16 10:24:51: e:..\..\..\..\trunk\modules\NSClientServer\NSClientServer.cpp:254: Invalid password (None).
2015-12-16 10:25:50: e:..\..\..\..\trunk\modules\NSClientServer\NSClientServer.cpp:254: Invalid password (None).
2015-12-16 10:26:48: e:..\..\..\..\trunk\modules\NSClientServer\NSClientServer.cpp:254: Invalid password (None).
2015-12-16 10:27:47: e:..\..\..\..\trunk\modules\NSClientServer\NSClientServer.cpp:254: Invalid password (None).
2015-12-16 10:31:54: e:..\..\..\..\trunk\modules\NSClientServer\NSClientServer.cpp:254: Invalid password (None).
2015-12-16 10:32:54: e:..\..\..\..\trunk\modules\NSClientServer\NSClientServer.cpp:254: Invalid password (None).
2015-12-16 10:33:54: e:..\..\..\..\trunk\modules\NSClientServer\NSClientServer.cpp:254: Invalid password (None).
2015-12-16 10:34:51: e:..\..\..\..\trunk\modules\NSClientServer\NSClientServer.cpp:254: Invalid password (None).
2015-12-16 10:35:50: e:..\..\..\..\trunk\modules\NSClientServer\NSClientServer.cpp:254: Invalid password (None).
2015-12-16 10:36:48: e:..\..\..\..\trunk\modules\NSClientServer\NSClientServer.cpp:254: Invalid password (None).
2015-12-16 10:37:47: e:..\..\..\..\trunk\modules\NSClientServer\NSClientServer.cpp:254: Invalid password (None).
2015-12-16 10:41:54: e:..\..\..\..\trunk\modules\NSClientServer\NSClientServer.cpp:254: Invalid password (None).
2015-12-16 10:42:54: e:..\..\..\..\trunk\modules\NSClientServer\NSClientServer.cpp:254: Invalid password (None).
2015-12-16 10:43:54: e:..\..\..\..\trunk\modules\NSClientServer\NSClientServer.cpp:254: Invalid password (None).
2015-12-16 10:44:50: e:..\..\..\..\trunk\modules\NSClientServer\NSClientServer.cpp:254: Invalid password (None).
2015-12-16 10:45:50: e:..\..\..\..\trunk\modules\NSClientServer\NSClientServer.cpp:254: Invalid password (None).
2015-12-16 10:46:48: e:..\..\..\..\trunk\modules\NSClientServer\NSClientServer.cpp:254: Invalid password (None).
2015-12-16 10:47:47: e:..\..\..\..\trunk\modules\NSClientServer\NSClientServer.cpp:254: Invalid password (None).

Thank you for your kind.
mehmethanifi
Posts: 6
Joined: Tue Dec 15, 2015 8:49 am

Re: NSClient - ERROR: Invalid password.

Post by mehmethanifi »

the issue is resolved.

Image

Thank you.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: NSClient - ERROR: Invalid password.

Post by hsmith »

Am I free to close this since it is working?
Former Nagios Employee.
me.
Locked