snmppages
Monitor the number of pages printed
Language | Perl |
Requirements | Perl Net::SNMP |
Supported platforms | Most SNMP enabled printers |
Written by | Rune Nordbøe Skillingstad - rune.skillingstad@… |
Configuration
No special munin configuration needed. Supports general SNMP configuration.
- timeout - defaults to 30 seconds
- host - hostname to get values from (defaults to filename style)
- port - defaults to port 161
- community - default to public
Copy snmp_ _pages to /usr/share/munin/plugins and run munin-node-configure-snmp myprinter.domain.tld (cut and paste the suggested ln commands you like)
# munin-node-configure-snmp myprinter.domain·tld ln -s /usr/share/munin/plugins/snmp__pages /etc/munin/plugins/snmp_myprinter.domain.tld_pages
[snmp*pages] env.timeout 30 env.host myprinter.domain.tld env.port 161 env.community public
Collated printer graph
This is an example on how to make a graph of multiple printers:
Place something like this in your /etc/munin/munin.conf
[Printere;Pages] update no pages.graph_title Pages for all printers pages.graph_total Total pages.graph_vlabel Printed pages pr minute pages.graph_order \ printer1=printer1.domain.tld:snmp_printer1_domain_tld_pages.pages \ printer2=printer2.domain.tld:snmp_printer2_domain_tld_pages.pages pages.printer1.draw LINE2 pages.printer1.label Printer1 pages.printer1.cdef printer1,60,* pages.printer1.info Printer in office 1 pages.printer2.draw LINE2 pages.printer2.label Printer2 pages.printer2.cdef printer2,60,* pages.printer2.info Printer in office 2
Last modified at 2016-10-16T01:27:50+02:00
Last modified on 2016-10-16T01:27:50+02:00
Attachments (2)
-
snmp__pages
(2.4 KB) -
added by rune.skillingstad@… at 2006-03-10T10:16:34+01:00.
Plugin
-
Pages-pages-day.png
(27.1 KB) -
added by rune.skillingstad@… at 2006-03-10T10:17:36+01:00.
Screenshot of multiple printers
Download all attachments as: .zip