My Nagios Server is running on CentOS server. and monitoring for all hosts configured in nagios working fine. but Nagios server monitoring is not working.
Error for all services is CHECK_NRPE: Error - Could not complete SSL handshake.
HOw do i configure nagios server in nagios?
Nagios Xi Server ( Localhost) monitoring not working
Re: Nagios Xi Server ( Localhost) monitoring not working
You shouldn't need to use check_nrpe against localhost because it's used as an agent. You can call to all of the files locally.
It has to do with resolution though, it will work if you use 127.0.0.1 where as localhost will not.
It has to do with resolution though, it will work if you use 127.0.0.1 where as localhost will not.
Code: Select all
[root@localhost libexec]# ./check_nrpe -H 127.0.0.1
NRPE v2.15
[root@localhost libexec]# ./check_nrpe -H localhost
CHECK_NRPE: Error - Could not complete SSL handshake.
[root@localhost libexec]#
Former Nagios Employee
Re: Nagios Xi Server ( Localhost) monitoring not working
Can i know how can i call All services Locally? (from Nagios server)
Re: Nagios Xi Server ( Localhost) monitoring not working
Could you please clarify?
Former Nagios Employee
Re: Nagios Xi Server ( Localhost) monitoring not working
if I have a script called CPU_check, Can i know HOw can i configure the the service for the cpu_check locally.
I know how to configure services for remote hosts through check_nrpe. but not sure to configure services locally as you mentioned( You can call to all of the files locally).
My intention is to configure services for localhost( Nagios server).
I know how to configure services for remote hosts through check_nrpe. but not sure to configure services locally as you mentioned( You can call to all of the files locally).
My intention is to configure services for localhost( Nagios server).
Re: Nagios Xi Server ( Localhost) monitoring not working
When an Xi server is created, it should create local checks on the server for you.
Take a look under the Core Config Manager > services menu and see if they are still there. Look under the localhost config settings.
If they are not there, you can re-create them. The checks are defined like check_local_XXXXXXX. Take a look at the example below for the check_local_load settings.
Take a look under the Core Config Manager > services menu and see if they are still there. Look under the localhost config settings.
If they are not there, you can re-create them. The checks are defined like check_local_XXXXXXX. Take a look at the example below for the check_local_load settings.
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Nagios Xi Server ( Localhost) monitoring not working
Thanks It is working now..
Re: Nagios Xi Server ( Localhost) monitoring not working
Your welcome, glad it is working. Shall we mark this post as solved and lock it up for you?
Be sure to check out our Knowledgebase for helpful articles and solutions!