Skip to content
Dan Morphis edited this page Oct 15, 2018 · 3 revisions
Home screen

After logging into Genie-ACS GUI you're welcome on the home tab. This tab is used to show the online status of all known CPEs to GenieACS. The status is divided into 3 categories:

  • Actually online (green)
  • Recently online (yellow)
  • Probably offline (red)

Today the values are "hard-coded" and can be viewed in genieacs-gui/config/graphs.json.erb. Following time thresholds are implemented:

  • Actually online = Inform or other message within the last 30 minutes
  • Recently online = Inform or other message within the last 24 hours
  • Probably offline = No Inform or other message within the last 24 hours

Additional graphs

Additional graphs can be added by editing genieacs-gui/config/graphs.json.erb. For example, to add a graph to the Online devices section of the home screen that lists devices that do and do not have the Provisioned tag, add the following JSON to the "online_devices" section of graphs.json.erb:

    "state": [
      {
        "label": "Provisioned",
        "color": "#5e5",
        "query": {"_tags": "Provisioned"}
      },
      {
        "label": "Unprovisioned",
        "color": "#e55",
        "query": {"_tags": {"$ne":"Provisioned"}}
      }
    ]

Future plans

In future GenieACS is going to read out the PeriodicInformInterval value from a preset (which you send to a CPE for basic configuration) and with that value the threshold is adjusted dynamically. If you set the PeriodicInformInterval to let's say 2 hours (7200 as value), GenieACS interprets this and counts this CPE as online, as long as another 2 PERIODIC event after that duration is received.

Clone this wiki locally