Graphs to display if a device is using 3g or 4g sorted by carrier

Hi there,
I’ve running GenieACS for almost a year, the only thing I miss is a better dashboard or an easier way to create graphs.
I need to set up some graphs to display if a device is using 3g or 4g sorted by carrier (Which I have set using a VirtualParameters.carrier), is it possible?
Thanks.

This is entirely possible :slight_smile:.
image

Edit your genieacs-gui/config/graphs.json.erb file. You will want to update the query so it matches your desired criteria.

{
    "mode" : [
      {
        "label" : "Routed",
        "color" : "#44b3c2",
        "query" : {"_tags" : "Managed", "_lastInform" : {"$gt" : "<%= previous_24_hours %>"}}
      },
      {
        "label" : "Bridged",
        "color" : "#c58744",
        "query" : {"_tags" : "Bridged", "_lastInform" : {"$gt" : "<%= previous_24_hours %>"}}
      }
    ],
    "access" : [
      {
        "label" : "Ethernet",
        "color" : "#44b3c2",
        "query" : {"VirtualParameters.WANAccessType" : "Ethernet", "_lastInform" : {"$gt" : "<%= previous_24_hours %>"}}
      },
      {
        "label" : "DSL",
        "color" : "#fc6604",
        "query" : {"VirtualParameters.WANAccessType" : "DSL", "_lastInform" : {"$gt" : "<%= previous_24_hours %>"}}
      }
    ]
}
1 Like