Skip to content

Print Collector should also scrape printer HTML #134

@evanugarte

Description

@evanugarte

the printers have a status page like

Image

lets parse this html page with python, instead of snmp, to get the ink levels.

game plan

  • use the chrome browser tools to inspect the html on the printer page, what element has the ink level?
  • write a python script that talks to the printer at their ip address, how can we parse this element and get its ink level?
  • follow this tutorial for prometheus https://www.youtube.com/watch?v=x3bSuGH8R28
  • lets make a helper function below to fetch the html, and make it a part of the scrape_snmp function
  • rename scrape_snmp to work

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions