n8n-nodes-librenms
Version:
n8n community node for LibreNMS network monitoring system integration with comprehensive device management and monitoring capabilities
46 lines (45 loc) • 1.44 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.systemFields = exports.systemOperations = void 0;
exports.systemOperations = [
{
displayName: 'Operation',
name: 'operation',
type: 'options',
noDataExpression: true,
displayOptions: {
show: {
resource: ['system'],
},
},
options: [
{
name: 'Get System Information',
value: 'getSystemInfo',
description: 'Get LibreNMS instance system information',
action: 'Get system information',
routing: {
request: {
method: 'GET',
url: '/system',
},
output: {
postReceive: [
{
type: 'rootProperty',
properties: {
property: 'system',
},
},
],
},
},
},
],
default: 'getSystemInfo',
},
];
exports.systemFields = [
// No additional fields needed for system info endpoint
// This is where we would add fields for filtering, pagination, etc. for other operations
];