# DNS probe
# DNS was not supported before 12.0(3)T
# The Cisco will do recursive, type A DNS queries to "rttMonEchoAdminNameServer" for the name "rttMonEchoAdminTargetAddressString"

# loopback address is recommended
$ioshost="51.20.2.1";
$community = "secret";
$entry=702;

@myparms=(
   # next 2 lines define the entry type
   "rttMonCtrlAdminRttType",		'integer',	8,
   "rttMonEchoAdminProtocol",		'integer',	26,
   "rttMonCtrlAdminOwner",		'octetstring',	"MRTG",

   "rttMonEchoAdminNameServer",		'octetstring',  ciscoRttMonLib::EncodeAddress("10.11.1.1"),
   "rttMonEchoAdminTargetAddressString",'octetstring',	"www.cisco.com",

   # in ms
   "rttMonCtrlAdminTimeout",		'integer',	5000,
   # in s, timeout must be < frequency
   "rttMonCtrlAdminFrequency",		'integer',	14,

   # 1 = this entry appears in "show running"; 2 it doesn't
   "rttMonCtrlAdminNvgen",		'integer',	1,

   #"rttMonEchoAdminSourceAddress",	'octetstring',	ciscoRttMonLib::EncodeAddress($ioshost),

   # 20 is max
   "rttMonHistoryAdminNumBuckets",    	'integer',      20,
   "rttMonHistoryAdminNumLives",      	'integer',      1,
   # none(1), all(2), overThreshold(3), failures(4)
   "rttMonHistoryAdminFilter",        	'integer',      2,

   # 1 is "now"
   "rttMonScheduleAdminRttStartTime",	'timeticks',	1,
   # life and ageout in secs
   "rttMonScheduleAdminRttLife",	'integer',	290,
   "rttMonScheduleAdminConceptRowAgeout",'integer', 	300
);
