Open bezik46 opened 10 months ago
@ bezik46 Thank you for the detailed issue notes. I have not worked on this repo in 8 years nor have i used the code in roughly that amount of time. It is entirely possible that the hooks into the version of SharpSnmplib are not correct with the current version and that would need updated or that the library . If you have an HP or a Konica printer you could validate with that.
Other than the library hooks potentially being incorrect I see in your snmpWalk command you are starting at 4.60
and ending at 4.63
but the code you are using 61
and 63
are you sure that those are the correct OIDs for the page counts?
It looks like there is a Powershell gallery function that can be used to just get the SNMP OID that is using more current information than this legacy code.
Yes, values are correct (confirmed on my printers)
https://www.copytechnet.com/forums/sharp/176375-get-total-pages-counters-snmp.html#google_vignette
And yes, using Proxx.SNMP which does work fine
Will cobble own script, but do not like inventing wheel when one might already exist
I hope that eventually have the correct format for the cxml (testing with 1 printer)
dll from: https://www.nuget.org/packages/Lextm.SharpSnmpLib is loaded from C:\PSScripts\SharpSnmpLib.dll
.ps1 runs with no error, .log gets created but no output csv with any data
Any ideas?
If I run it by hand I get:
I can get the correct values just fine with