NSClient - ERROR: Invalid password.
NSClient - ERROR: Invalid password.
Hello,
My nagios was working fine with all added hosts and services,
Suddenly I have noticed that One service on all nodes start giving the below error.
Moreover I did not make any change in those nodes on which this is showing this alert.
Service state: Unknown state
NSClient - ERROR: Invalid password.
I am new at nagios xi, kindly do let me know the cause of this alert.
Thank you!
My nagios was working fine with all added hosts and services,
Suddenly I have noticed that One service on all nodes start giving the below error.
Moreover I did not make any change in those nodes on which this is showing this alert.
Service state: Unknown state
NSClient - ERROR: Invalid password.
I am new at nagios xi, kindly do let me know the cause of this alert.
Thank you!
Re: NSClient - ERROR: Invalid password.
Please post the service definition for the service that's reporting this, the nsclient configuration file on the client side, and the nsclient log file as well. All of this will help us determine what's going on exactly.
Former Nagios Employee
Re: NSClient - ERROR: Invalid password.
I am unable to edit the problematic service, as I started to edit it, it does not allow me to edit this.
Moreover I have checked it on nagios config file, its also not defined there in abc.cfg file.
I have attached screenshot and nsclient.ini file for review.
Thank you!
Moreover I have checked it on nagios config file, its also not defined there in abc.cfg file.
I have attached screenshot and nsclient.ini file for review.
Thank you!
You do not have the required permissions to view the files attached to this post.
Re: NSClient - ERROR: Invalid password.
From the Nagios XI web UI, go to Configure->Core Config Manager->Services, find the "PRODAX01 AOS services" service, click on it, and show us a screenshot of the page.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: NSClient - ERROR: Invalid password.
Thank you
As per your suggestions, I did the same, as service is in unknown state thats why it is not showing in list of said host.
Kindly find attached screenshot for verification.
Please assist
Thank you
As per your suggestions, I did the same, as service is in unknown state thats why it is not showing in list of said host.
Kindly find attached screenshot for verification.
Please assist
Thank you
You do not have the required permissions to view the files attached to this post.
Re: NSClient - ERROR: Invalid password.
You have two different passwords defined for the different service checks, please update these accordingly as this is why the one for AX02 is failing -
Code: Select all
define service {
host_name PRODAX02
service_description PRODAX02 AOS services
display_name PRODAX02 AOS services
check_period xi_timeperiod_24x7
check_command check_xi_service_nsclient!mydvBXDT40kGGf82!SERVICESTATE!-l AOS60\$01 -d SHOWALL!!!!!
define service {
host_name PRODAX02
service_description PRODAX01 AOS services
display_name PRODAX01 AOS services
check_period xi_timeperiod_24x7
check_command check_xi_service_nsclient!yog1hD3tFg0nGxUt!SERVICESTATE!-l AOS60\$01 -d SHOWALL!!!!!
Former Nagios Employee
Re: NSClient - ERROR: Invalid password.
Good catch!
I have try to find this service in required file from Command line on nagios server.
But I did not find the problematic service in my .cfg file whereas other service which prodax02 AOS services exist in .cfg file.
This was the main problem due to which I was unable to find the problematic service.
Screenshots are attached.
Thank you!
I have try to find this service in required file from Command line on nagios server.
But I did not find the problematic service in my .cfg file whereas other service which prodax02 AOS services exist in .cfg file.
This was the main problem due to which I was unable to find the problematic service.
Screenshots are attached.
Thank you!
You do not have the required permissions to view the files attached to this post.
Re: NSClient - ERROR: Invalid password.
It may be worth getting in contact with whomever setup your Nagios initially, as I believe you're using templates for a few things which could be causing you some confusion at this point. The powerful thing about Nagios is that every machine can be setup differently, to needs that fit specifically for each environment.
Do you have a template or service assigned to this hostgroup?
Code: Select all
define hostgroup {
hostgroup_name Dutch DAX PROD Servers
alias Dutch DAX PROD Envirnament
members PRODSQL02,PRODSQL01,PRODRETAIL02,PRODRETAIL01,PRODeCOM01,PRODAX03,PRODAX02,PRODAX01,PRODASYNC01,JoieAzureDC01
}
Former Nagios Employee
Re: NSClient - ERROR: Invalid password.
Thank you very much!
No, We did not assigned any services template to hostgroup for monitoring?
I asked the concerned person, he does not even have Idea of it.
Kindly help!
Thank you!
No, We did not assigned any services template to hostgroup for monitoring?
I asked the concerned person, he does not even have Idea of it.
Kindly help!
Thank you!
Re: NSClient - ERROR: Invalid password.
Since this issue is resolved, I'm going to close it out. We can continue talking about the templates @ this post - https://support.nagios.com/forum/viewto ... =6&t=39091
Former Nagios Employee