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@ntnu.no |
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
Attachments
- snmp__pages (2.4 kB) -
Plugin
, added by rune.skillingstad@ntnu.no on 03/10/06 10:16:34. - Pages-pages-day.png (27.1 kB) -
Screenshot of multiple printers
, added by rune.skillingstad@ntnu.no on 03/10/06 10:17:36.
