check-linux-by-ssh icon indicating copy to clipboard operation
check-linux-by-ssh copied to clipboard

commit broke check_ntp_sync_by_ssh on RHEL/CENTOS

Open Vye opened this issue 10 years ago • 2 comments

https://github.com/naparuba/check-linux-by-ssh/commit/41543a8fe6e869cf53f7979fbe1ed1e0c904fd7b

The above commit breaks https://github.com/naparuba/check-linux-by-ssh/blob/master/check_ntp_sync_by_ssh.py out of the box for RHEL/CENTOS because /usr/sbin is not included in $PATH for shinken user by default.

What platform did you make this change for? I realize I can modify the check_command to include -n /usr/sbin/ntpq but out of the box operation is preferred.

Vye avatar Jun 27 '14 17:06 Vye

Can you give a test? It should works now :)

naparuba avatar Aug 29 '14 20:08 naparuba

@Vye @naparuba Is it fixed and can we close this one ?

david-guenault avatar May 03 '16 09:05 david-guenault