Capturing the Interface Name in a Graph

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Moderators, Developers

Post Reply
Author
Message
andermat
Posts: 16
Joined: Thu Mar 02, 2017 3:30 pm

Capturing the Interface Name in a Graph

#1 Post by andermat » Wed Jun 12, 2019 3:11 pm

Is there a way to identify the interface name for an rrd file? Trying to script using RRDTool but not seeing how to get the interface name for the graph via command line. Any idea or is there a better approach to do this?

Thanks!

netniV
Cacti Guru User
Posts: 2808
Joined: Sun Aug 27, 2017 12:05 am

Re: Capturing the Interface Name in a Graph

#2 Post by netniV » Thu Jun 20, 2019 6:41 pm

Take a look at the list-graphs option on the cli/add_tree.php script.

andermat
Posts: 16
Joined: Thu Mar 02, 2017 3:30 pm

Re: Capturing the Interface Name in a Graph

#3 Post by andermat » Fri Jun 21, 2019 11:12 am

Tested and it works. Thanks!

Post Reply