Closed slauger closed 7 years ago
The command ntpstatus
from the NITRO API only returns the output of ntpq -q
. I don't like the idea of reinventing the wheel and parsing the ntpq output.
$VAR1 = {
'errorcode' => 0,
'severity' => 'NONE',
'ntpstatus' => {
'response' => ' remote refid st t when poll reach delay offset jitter
==============================================================================
*dc01.tmxlab.loc 80.153.195.191 2 u 593 1024 377 0.993 -4.330 11.288
'
},
'message' => 'Done'
};
NTP synchronization can also be checked trough check_ntp_time
, so this has no priority. Maybe Citrix will changed this in the future of the NITRO API.
The problem with check_ntp_time is that the default ntp config in NetScaler doesn't allow query. To check NTP you always have to change /nsconfig/ntp.conf manually.
curently working on this one. Hopefully done by tomorrow.
Monitoring check for NTP connectivity and time sync status.