/pagekeeper

A simple utility for collecting and analyzing the number of printed pages of network printers

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

pagekeeper

A simple utility for collecting and analyzing the number of printed pages of network printers
Collect data and compare it with the data for the 26th:

python3 main.py -c 2018-08-26

Configuration

conf.json

{
  "database": "Name of database file",
  "printers" : [
    {
      "title": "Short printer name",
      "ip" : "IP Address",
      "oid" : SNMP OID key for read(optional)
      "description": "Full description",
      "groups" : [ List of analyze group ]
    }
  ]
}

Arguments

main.py args START END
-c --collect - Collect counts
-r --refresh - Refresh count, if value exist
--clear - Clear database
--conf filename - Use configuration file
START - date of loading if initial data
END - date of end data(if it is empty, then today)