Skip to content

Instantly share code, notes, and snippets.

@batmat
Last active January 23, 2016 20:14
Show Gist options
  • Save batmat/f5c890dfc54012b4fe34 to your computer and use it in GitHub Desktop.
Save batmat/f5c890dfc54012b4fe34 to your computer and use it in GitHub Desktop.
Sample output a call to http://localhost:8080/computer/api/json on a Jenkins 1.625.3
{
"busyExecutors": 0,
"computer": [
{
"actions": [],
"displayName": "maître",
"executors": [
{},
{}
],
"icon": "computer.png",
"iconClassName": "icon-computer",
"idle": true,
"jnlpAgent": false,
"launchSupported": true,
"loadStatistics": {},
"manualLaunchAllowed": true,
"monitorData": {
"hudson.node_monitors.SwapSpaceMonitor": {
"availablePhysicalMemory": 770031616,
"availableSwapSpace": 8386719744,
"totalPhysicalMemory": 16692846592,
"totalSwapSpace": 8388603904
},
"hudson.node_monitors.TemporarySpaceMonitor": {
"timestamp": 1453560574658,
"path": "/tmp",
"size": 13000830976
},
"hudson.node_monitors.DiskSpaceMonitor": {
"timestamp": 1453560574654,
"path": "/var/jenkins_home",
"size": 13000830976
},
"hudson.node_monitors.ArchitectureMonitor": "Linux (amd64)",
"hudson.node_monitors.ResponseTimeMonitor": {
"timestamp": 1453560574653,
"average": 0
},
"hudson.node_monitors.ClockMonitor": {
"diff": 0
}
},
"numExecutors": 2,
"offline": false,
"offlineCause": null,
"offlineCauseReason": "",
"oneOffExecutors": [],
"temporarilyOffline": false
}
],
"displayName": "Nodes",
"totalExecutors": 2
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment