multi_snmp_querier - Munin plugin to query several SNMP hosts


This plugin is meant to be called from Munin. You should at least set the 'hosts' environment variable from Munin's configuration (i.e. /etc/munin/munin.conf) to specify which hosts and how to query.


 This plugin expects to receive the following environment variables:

Which SNMP OID should we query on; it defaults to (total printed pages - of course, it only makes sense to query a printer on this ;-) ).

Other known and useful OIDs for printers are (total number of pages printed with this toner cartridge), (total projected capacity of this toner cartridge - Note that for many makers, the literal '-2' is returning, meaning more or less "I don't know"), You might also be interested in (toner type this printer uses), although as it is a constant string and not indicative of any kind of value, there's no use in putting it into Munin (at least, not via this plugin).

Appropriate labels will be given when Munin requests for configuration on the above mentioned OIDs - Of course, other OIDs will get far more generic labels.

hosts (REQUIRED!)

Comma-separated list of hosts to send SNMP queries to. You can specify SNMP port and community to each of the hosts by listing them as community@host:port - Community defaults to public, port defaults to 161. The following is a valid hosts declaration:

    hosts=',, private@'

It will query host on port 161 with the 'private' community, host on port 162 with the 'private' community and host on port 161 with the 'public' community.


Net::Ping, Net::SNMP


munin, munin-node


Add a mechanism to specify the labels for unknown OIDs


Gunnar Wolf <>


Copyright 2008 Gunnar Wolf, Instituto de Investigaciones Economicas, UNAM. This plugin is Free Software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 dated June, 1991, or any later version (at your choice).

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.