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