using check_snmp to chart page counts
Jim Avery
jim at jimavery.me.uk
Mon Aug 15 17:18:50 CEST 2011
On 15 August 2011 01:24, Phil Kennedy
<Phillip.kennedy at yankeeairmuseum.org> wrote:
> I'm using check_snmp to monitor page counts on various printers. The
> output is returning the correct values, and PNP is charting, but it's
> showing the differences in page counts per polling interval, rather than
> an overall chart of "growth" (e.g., the chart says there are 100 pages,
> then an hour from now it bumps up to 110, and so on.) From what I've
> found, this is due to the output from SNP being a "counter", rather than
> a "gauge", is this something I can circumvent in the name of pretty
> charts and graphs?
>
> The command I'm using in the commands.cfg is as follows:
>
> $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o
> .1.3.6.1.2.1.43.10.2.1.4.1.1 -l 'page count' -u 'pages'
The very latest version of check_snmp has a --rate option which is
just what you need for this sort of thing.
http://nagiosplugins.org/man/check_snmp
------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing Subversion and
the tools developers use with it. Learn more about uberSVN and get a free
download at: http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list