UNPKG

n8n-nodes-librenms

Version:

n8n community node for LibreNMS network monitoring system integration with comprehensive device management and monitoring capabilities

82 lines (81 loc) 2.52 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.pollerGroupsFields = exports.pollerGroupsOperations = void 0; exports.pollerGroupsOperations = [ { displayName: 'Operation', name: 'operation', type: 'options', noDataExpression: true, displayOptions: { show: { resource: ['pollerGroups'], }, }, options: [ { name: 'Get All', value: 'getAll', description: 'Get all poller groups', action: 'Get all poller groups', routing: { request: { method: 'GET', url: '/poller_group', }, output: { postReceive: [ { type: 'rootProperty', properties: { property: 'get_poller_group', }, }, ], }, }, }, { name: 'Get', value: 'get', description: 'Get a specific poller group', action: 'Get a poller group', routing: { request: { method: 'GET', url: '=/poller_group/{{$parameter.pollerGroupId}}', }, output: { postReceive: [ { type: 'rootProperty', properties: { property: 'get_poller_group', }, }, ], }, }, }, ], default: 'getAll', }, ]; exports.pollerGroupsFields = [ // Poller Group ID for specific operations { displayName: 'Poller Group', name: 'pollerGroupId', type: 'string', required: true, displayOptions: { show: { resource: ['pollerGroups'], operation: ['get'], }, }, default: '', placeholder: 'poller group name or ID', description: 'Poller group name or ID', }, ];