Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement node properties #1

Open
decoupca opened this issue Mar 6, 2023 · 0 comments
Open

Implement node properties #1

decoupca opened this issue Mar 6, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@decoupca
Copy link
Owner

decoupca commented Mar 6, 2023

All available node properties, as returned by swisclient.read(), should be exposed as appropriately-typed properties in OrionNode objects.

{
    'AgentPort': 161,
    'Allow64BitCounters': True,
    'AncestorDetailsUrls': ['/Orion/NetPerfMon/NodeDetails.aspx?NetObject=N:275'],
    'AncestorDisplayNames': ['RBFS00CR01'],
    'AvgResponseTime': 303,
    'BlockUntil': '1899-12-30T05:00:00',
    'BufferBgMissThisHour': -2.0,
    'BufferBgMissToday': -2.0,
    'BufferHgMissThisHour': -2.0,
    'BufferHgMissToday': -2.0,
    'BufferLgMissThisHour': -2.0,
    'BufferLgMissToday': -2.0,
    'BufferMdMissThisHour': -2.0,
    'BufferMdMissToday': -2.0,
    'BufferNoMemThisHour': -2.0,
    'BufferNoMemToday': -2.0,
    'BufferSmMissThisHour': -2.0,
    'BufferSmMissToday': -2.0,
    'CMTS': 'N',
    'CPUCount': 2,
    'CPULoad': 1,
    'Caption': 'RBFS00CR01',
    'Category': 1,
    'ChildStatus': 1,
    'Community': '3!3ph4n!',
    'Contact': 'Moodys-NetworkEngineering',
    'CustomPollerLastStatisticsPoll': '1899-12-30T05:00:00',
    'CustomPollerLastStatisticsPollSuccess': '1899-12-30T05:00:00',
    'CustomStatus': False,
    'DNS': '',
    'Description': 'Juniper Networks, Inc.',
    'DetailsUrl': '/Orion/NetPerfMon/NodeDetails.aspx?NetObject=N:275',
    'DisplayName': 'RBFS00CR01',
    'DynamicIP': False,
    'EngineID': 1,
    'EntityType': 'Orion.Nodes',
    'External': False,
    'GroupStatus': 'Up.gif                                  ',
    'IOSImage': '',
    'IOSVersion': '',
    'IP': '172.25.174.1',
    'IPAddress': '172.25.174.1',
    'IPAddressGUID': '01ae19ac-0000-0000-0000-000000000000',
    'IPAddressType': 'IPv4',
    'IP_Address': '172.25.174.1',
    'Icon': '2636.gif            ',
    'Image': None,
    'InstanceSiteId': 0,
    'InstanceType': 'Orion.Nodes',
    'IsOrionServer': False,
    'IsServer': False,
    'LastBoot': '2022-10-20T13:06:00',
    'LastSync': '2023-03-06T16:53:23.853',
    'LastSystemUpTimePollUtc': '2023-03-06T16:52:15.997Z',
    'LoadAverage1': None,
    'LoadAverage15': None,
    'LoadAverage5': None,
    'Location': 'Sify ?? - Noida',
    'MachineType': 'Juniper Networks, Inc.',
    'MaxResponseTime': 304,
    'MemoryAvailable': 3157052160.0,
    'MemoryUsed': 890450752.0,
    'MinResponseTime': 303,
    'MinutesSinceLastSync': 0,
    'NextPoll': '2023-03-06T16:53:24.25',
    'NextRediscovery': '2023-03-06T17:15:40.87',
    'NodeDescription': 'RBFS00CR01',
    'NodeID': 275,
    'NodeName': 'RBFS00CR01',
    'NodeStatusRootCause': '',
    'NodeStatusRootCauseWithLinks': '',
    'ObjectSubType': 'SNMP',
    'OrionIdColumn': 'NodeID',
    'OrionIdPrefix': 'N:',
    'PercentLoss': 0.0,
    'PercentMemoryAvailable': 78,
    'PercentMemoryUsed': 22,
    'PollInterval': 120,
    'PolledStatus': 1,
    'RWCommunity': '',
    'RediscoveryInterval': 30,
    'ResponseTime': 304,
    'SNMPVersion': 2,
    'Severity': 0,
    'SkippedPollingCycles': 0,
    'StatCollection': 5,
    'Status': 1,
    'StatusDescription': 'Node status is Up.',
    'StatusIcon': 'Up.gif                                  ',
    'StatusIconHint': None,
    'StatusLED': 'Up.gif              ',
    'SysName': 'SNMP-RO',
    'SysObjectID': '1.3.6.1.4.1.2636.1.1.1.4.82.30',
    'SystemUpTime': 11853926.0,
    'TotalMemory': 4047503360.0,
    'UiSeverity': 0,
    'UnManageFrom': '2023-02-16T17:54:26.643Z',
    'UnManageUntil': '2023-02-16T18:09:26.643Z',
    'UnManaged': False,
    'Uri': 'swis://ptc-wbswdev201.ad.moodys.net/Orion/Orion.Nodes/NodeID=275',
    'Vendor': 'Juniper Networks, Inc.',
    'VendorIcon': '2636.gif            '
}
@decoupca decoupca added the enhancement New feature or request label Mar 6, 2023
@decoupca decoupca self-assigned this Mar 6, 2023
decoupca added a commit that referenced this issue Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant