Facing issue with Chrony check service

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nagiosadminAD
Posts: 16
Joined: Tue Jan 30, 2018 5:28 am

Facing issue with Chrony check service

Post by nagiosadminAD »

Dear Team,

We are facing issue with Chrony check service for our 2 DEV servers. While enabling the service on server we are getting below alert on Nagios.

NRPE: Command 'Chrony_check' not defined

Request you to please provide our suggestion how we can resolve this issue.

You can reach out to us on below email addresses:

1. [email protected]
2. [email protected]

Thanks,
Simranjeet
nagiosadminAD
Posts: 16
Joined: Tue Jan 30, 2018 5:28 am

Re: Facing issue with Chrony check service

Post by nagiosadminAD »

Also, We have verified ntp service on both the servers. Service is up and running fine.
Please provide your suggestion on this issue.

Thanks,
Simranjeet
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Facing issue with Chrony check service

Post by benjaminsmith »

Hi,

It looks like you are missing the command definition in the nrpe.cfg file on the remote host side. Please verify this in the following file:

Code: Select all

/usr/local/nagios/ect/nrpe.cfg
For more details on configuring this, please review page 7 of the following guide.
NRPE Documenation

NRPE - Agent and Plugin Explained

Also, if you would like to include multiple team members on a question/issue, please open a support ticket at:
https://support.nagios.com/tickets/

--Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
nagiosadminAD
Posts: 16
Joined: Tue Jan 30, 2018 5:28 am

Re: Facing issue with Chrony check service

Post by nagiosadminAD »

Dear Team,

We have followed the recommendation provided by you. After updating the nrpe.conf file we are now getting below error.

Error: NRPE: Unable to read output.

I also check below path and found that check_chrony.sh file is present over the server. Do we have have to restart any service over the server? If yes, Please do let us know.

Path: /usr/local/nagios/libexec/check_chrony.sh

Request you to please provide the suggestion to resolve NRPE: Unable to read output error.

Thanks,
Simranjeet
nagiosadminAD
Posts: 16
Joined: Tue Jan 30, 2018 5:28 am

Re: Facing issue with Chrony check service

Post by nagiosadminAD »

Dear Team,

Can you please provide your suggestions over this issue. We are waiting for your reply.

Thanks,
Simranjeet
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Facing issue with Chrony check service

Post by benjaminsmith »

Hi,

What are the permission on that plugin? Does the plugin require sudo privelleges to execute properly?

Code: Select all

ls -l /usr/local/nagios/libexec/check_chrony.sh
Are you able to successfully connect to the remote system using check_nrpe from the XI serfver?

Code: Select all

/usr/local/nagios/libexec/check_nrpe -H <remote host ip address>
Pleaes attach or PM the nrpe configuration file.

Code: Select all

/usr/local/nagios/ect/nrpe.cfg
Along with the system profile from the XI server, and I can review the configurations for you. Thanks, Benjamin

To send us your system profile.
Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button

Troubleshooting Guide:
NRPE - NRPE: Unable To Read Output
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked