Added flag to get_graph_by_port_hostname() API call to switch port look up to use ifDescr

This commit is contained in:
laf
2015-12-19 19:10:18 +00:00
parent ce3363f28e
commit d8095707b2
2 changed files with 9 additions and 1 deletions

View File

@@ -316,6 +316,7 @@ Input:
- to: This is the date you would like the graph to end - See http://oss.oetiker.ch/rrdtool/doc/rrdgraph.en.html for more information.
- width: The graph width, defaults to 1075.
- height: The graph height, defaults to 300.
- ifDescr: If this is set to true then we will use ifDescr to lookup the port instead of ifName. Pass the ifDescr value you want to search as you would ifName.
Example:
```curl