Skip to content

Conversation

@m3v113
Copy link
Contributor

@m3v113 m3v113 commented Jan 6, 2026

made new function scrape_html

for element in content:
try:
pages_remaining = int(element.text.strip())
metrics_handler.snmp_metric.labels(name="pages_remaining", ip=ip).set(pages_remaining)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what does pages_remaining show? about how many pages the printer could print before running otu of ink?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, ink_level shows percentage of ink left and pages_remaining shows about how many pages could still be printed

m3v113 and others added 2 commits January 5, 2026 21:11
Co-authored-by: Evan Ugarte <36345325+evanugarte@users.noreply.github.com>
@evanugarte evanugarte merged commit 806915d into SCE-Development:dev Jan 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants