On Fri, 2007-05-04 at 09:54 -0400, Chet Luther wrote:

> On 5/4/07, James Roman <[EMAIL PROTECTED]> wrote:
> >
> >  I have set up print counters for three models of printers in our 
> > organization. The intention is to graph and report on print volumes. I have 
> > one printer model which graphs perfectly, two others however have very 
> > erratic graphs, spiking for each print job. I have been learning about the 
> > round robin database (RRD) creation, but I can't identify why there seems 
> > to be a difference in behavior.
> 
> James,
> 
> Are the printers using the same OID to pageCount? 


Yes they all use 1.3.6.1.2.1.43.10.2.1.4.1.1. 


> If you snmpwalk the
> related portion of the MIB it should tell you what type of data source
> it is. 


As shown in the original message they are all Counter32. I was using the
following command to obtain the output:

        for ((i = 1; i < 10; i++)) ; do
            date +%s;
            snmpget -v1 -c mycommunitystring printer-4
        1.3.6.1.2.1.43.10.2.1.4.1.1;
            snmpget -v1 -c mycommunitystring xerox-6d
        1.3.6.1.2.1.43.10.2.1.4.1.1;
            snmpget -v1 -c mycommunitystring xerox-2
        1.3.6.1.2.1.43.10.2.1.4.1.1;
            sleep 3600;
        done
        
        1178209872
        SNMPv2-SMI::mib-2.43.10.2.1.4.1.1 = Counter32: 259855
        SNMPv2-SMI::mib-2.43.10.2.1.4.1.1 = Counter32: 39264
        SNMPv2-SMI::mib-2.43.10.2.1.4.1.1 = Counter32: 228403
        

Just to clarify, the first line is printer model 1 (working) the other
two lines are examples of the other two models that do not work
properly.



> The only time you ever use COUNTER or DERIVE would be for
> Counter32 or Counter64 types. If your pageCount data source is using
> different OIDs for different printer models you might find that one
> model exposes the data as a counter, and the other as a gauge.
> 
> If you're running into this kind of trouble I'd recommend stopping
> your zenperfsnmp daemon while you fiddle with it. Run it manually
> "zenperfsnmp run -v 10 --device=thePrinter" after making data source
> changes so you can be sure it is using the latest configuration.
> 


I'll give that a try.

-- 
James D. Roman
IT Network Adminsitration

Terranet Inc.On contract to:
Science Systems and Applications, Inc.
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to