@globalping/n8n-nodes-globalping
Version:
The Globalping n8n node allows you to perform network measurements such as ping, traceroute, mtr, http and DNS lookups from thousands of locations around the world.
73 lines • 2.27 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.mtrFields = exports.mtrOptions = void 0;
exports.mtrOptions = [
{
name: 'MTR',
value: 'measurementMtr',
action: 'MTR trace. Raw output, latency data, all protocols.',
},
];
exports.mtrFields = [
{
displayName: 'MTR Options',
name: 'measurementOptions',
type: 'collection',
default: {},
description: 'Additional optional settings',
options: [
{
displayName: 'Port',
name: 'port',
type: 'number',
description: 'The destination port for the data packets.\n' +
'\n' +
'Constraints: Min 0┃Max 65535 Default: 80',
default: 80,
typeOptions: {
maxValue: 65535,
minValue: 0,
},
},
{
displayName: 'Protocol',
name: 'protocol',
type: 'options',
description: 'The transport protocol to use.\n' + '\n' + 'Default: ICMP Allowed: ICMP|TCP┃UDP',
options: [
{
name: 'ICMP',
value: 'ICMP',
},
{
name: 'TCP',
value: 'TCP',
},
{
name: 'UDP',
value: 'UDP',
},
],
default: 'ICMP',
},
{
displayName: 'Packets',
name: 'packets',
type: 'number',
description: 'The number of packets to send.\n' + '\n' + 'Constraints: Min 1┃Max 16 Default: 3',
default: 3,
typeOptions: {
maxValue: 16,
minValue: 1,
},
},
],
displayOptions: {
show: {
resource: ['measurements'],
operation: ['measurementMtr'],
},
},
},
];
//# sourceMappingURL=mtrDescription.js.map