Added new API route for retrieving available device graphs #355

Merged
merged 1 commit into from Dec 1, 2014

Projects

None yet

2 participants

@laf
Member
laf commented Nov 29, 2014

Call:

curl -H "X-Auth-Token: APITOKEN" http://librenms.org/api/v0/devices/localhost/graphs

Output:

{
"status": "ok",
"err-msg": "",
"count": 25,
"graphs": [
{
"desc": "Poller Time",
"name": "device_poller_perf"
},
{
"desc": "Ping Response",
"name": "device_ping_perf"
},
{
"desc": "Agent Execution Time",
"name": "agent"
},
{
"desc": "Running Processes",
"name": "hr_processes"
},
{
"desc": "Users Logged In",
"name": "hr_users"
},
{
"desc": "IPv4 Packet Statistics",
"name": "ipsystemstats_ipv4"
},
{
"desc": "IPv4 Fragmentation Statistics",
"name": "ipsystemstats_ipv4_frag"
},
{
"desc": "IPv6 Packet Statistics",
"name": "ipsystemstats_ipv6"
},
{
"desc": "IPv6 Fragmentation Statistics",
"name": "ipsystemstats_ipv6_frag"
},
{
"desc": "ICMP Statistics",
"name": "netstat_icmp"
},
{
"desc": "ICMP Informational Statistics",
"name": "netstat_icmp_info"
},
{
"desc": "IP Statistics",
"name": "netstat_ip"
},
{
"desc": "IP Fragmentation Statistics",
"name": "netstat_ip_frag"
},
{
"desc": "SNMP Statistics",
"name": "netstat_snmp"
},
{
"desc": "SNMP Packet Type Statistics",
"name": "netstat_snmp_pkt"
},
{
"desc": "TCP Statistics",
"name": "netstat_tcp"
},
{
"desc": "UDP Statistics",
"name": "netstat_udp"
},
{
"desc": "Context Switches",
"name": "ucd_contexts"
},
{
"desc": "Detailed Processor Usage",
"name": "ucd_cpu"
},
{
"desc": "Interrupts",
"name": "ucd_interrupts"
},
{
"desc": "System I/O Activity",
"name": "ucd_io"
},
{
"desc": "Load Averages",
"name": "ucd_load"
},
{
"desc": "Detailed Memory Usage",
"name": "ucd_memory"
},
{
"desc": "Swap I/O Activity",
"name": "ucd_swap_io"
},
{
"desc": "System Uptime",
"name": "uptime"
}
]
}

@laf laf changed the title from Added new route for retrieving available device graphs to Added new API route for retrieving available device graphs Nov 30, 2014
@laf laf added the enhancement label Nov 30, 2014
@paulgear paulgear merged commit 3e9b670 into librenms:master Dec 1, 2014

1 check passed

ci/scrutinizer Scrutinizer: 7 new issues
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment