check server time via NRPE plugin?
Posted: Fri Apr 11, 2014 12:44 pm
Afternoon all. Slowing adding servers and checks, and ran into a check I am not sure how to handle. As the subject states, I am using NRPE and checking a lot of things, but want to make sure time on the servers never drifts past x seconds.
There are some out there that do it via SSH, the issue I have is a lot of servers are behind a load balancer, so I am using NRPE on the same IP but different ports so I control what goes where. The plugins all do it via SSH. Now I guess I could check via ssh on other ports to do the same, but that would involve keygen's, and a lot of work, as opposed to something already in place and working.
I don't care if I check the drift against the nagios server (which most do), or via ntp.ubuntu.com, or any other ntp server, but anyone have experience or know how?
Thanks.
There are some out there that do it via SSH, the issue I have is a lot of servers are behind a load balancer, so I am using NRPE on the same IP but different ports so I control what goes where. The plugins all do it via SSH. Now I guess I could check via ssh on other ports to do the same, but that would involve keygen's, and a lot of work, as opposed to something already in place and working.
I don't care if I check the drift against the nagios server (which most do), or via ntp.ubuntu.com, or any other ntp server, but anyone have experience or know how?
Thanks.