Forum Discussion
A__N_5261
Feb 08, 2012Nimbostratus
NTP Health CHECK
Hi ALL,
we have ntp server which map to pool. we have create VS for this pool. All network device pointed to this VS to sync the time. we want to configure Health check for these server ...
A__N_5261
Feb 15, 2012Nimbostratus
HI Nitass
I using this script
!/usr/bin/perl
my $node = $ENV{"NODE_IP"};
$node =~ s/::ffff://;
my $port = $ENV{"NODE_PORT"};
if ($response{'Stratum'} =~ /\d+/) {
if the stratum is a number
if ($response{'Stratum'} == 11) {
return 0;
} else {
and it isn't 11
return 1;
}
} else {
return 0;
}
When i use .\ntp_mon.pl to run this script .its give error line 15 " can not run subroutine"
ONE MORE THING.can you look below config
when i create external monitor using GUI. Monitors ---> External Monitor---->
1. name defining
2. External progamme ----> /config/monitors/ntp_mon.pl
Except this DO WE DEFINE ANY OTHER Variable column ?????
IN LAST I BIND WITH POOL
Please check if any thing i am misssing
THANKS IN ADVANCE
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects