# ftp probe
# modify "rttMonEchoAdminURL" 

# loopback address is recommended
$ioshost="15.10.28.2";
$community = "secret";
$entry=720;

@myparms=(
   # next 2 lines define the entry type
   "rttMonCtrlAdminRttType",		'integer',	12,
   "rttMonEchoAdminProtocol",		'integer',	30,
   "rttMonCtrlAdminOwner",		'octetstring',  "MRTG",
   "rttMonEchoAdminOperation",		'integer',	3,

   # ftpPassive(4)         - FTP passive mode
   # ftpActive(5)          - FTP active mode"
   # tested both, 4/5 successfully
   "rttMonEchoAdminMode",		'integer',	4,

   # URL of ftp file to access
   # WARNING: I've been able to crash a Cisco running 12.2(8)T1 by using unresolvable DNS names in the URL (instead of numeric dotted quads)
   #"rttMonEchoAdminURL",		'octetstring',	'ftp://anonymous:test@ftp.cisco.com/README',
   #"rttMonEchoAdminURL",		'octetstring',	'ftp://tftp:flash12@15.25.15.16/test.cfg',
   "rttMonEchoAdminURL",		'octetstring',	'ftp://tftp:flash12@15.25.15.16/joerg/joergtest.txt',

   # in ms
   "rttMonCtrlAdminTimeout",		'integer',	25000,
   # in s, timeout must be < frequency
   "rttMonCtrlAdminFrequency",		'integer',	30,
   # show this rtr entry in "show running" ? 1=true; 2=false
   "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',	3600,
   "rttMonScheduleAdminConceptRowAgeout",'integer', 	300
);

