Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^2: Getting statistics from an attached device (printer)

by bobf (Monsignor)
on Dec 23, 2009 at 16:28 UTC ( #814125=note: print w/replies, xml ) Need Help??

in reply to Re: Getting statistics from an attached device (printer)
in thread Getting statistics from an attached device (printer)

Thanks for the input, Corion. I am not opposed to writing a scraper, but since there is a multi-step manual process to generate the page(s) I'd prefer to investigate other options first. In addition, not all of the information that I want is presented on the pages so it would not be accessible.

I'll definitely put Wireshark in my back pocket. I have no prior experience using a packet sniffer so there would likely be a learning curve.

I've done some more reading on SNMP and I installed a few related modules from CPAN. I am starting to think that might be the most efficient route. The trick now is finding out what variables to request from the printer.

  • Comment on Re^2: Getting statistics from an attached device (printer)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://814125]
[ambrus]: choroba: heh heh... I have such a doc bug report somewhere. fixed by now.
[Corion]: Once upon a time I had automatic tests for checking the synopsis, but I stopped doing that because the setup was too fragile on CPAN testers for extracting code from the SYNOPSIS.
[Corion]: Maybe I should move the extraction of the code from the SYNOPSIS section into the author tests, or something like that...
[choroba]: Corion Sounds reasonable
[Corion]: choroba: Yeah - I basically have the same for regenerating README and README.mkdown already, except that I do that in Makefile.PL, but I guess one or the other thing should somehow work ;)

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2017-02-27 12:10 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (383 votes). Check out past polls.