[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opennms-discuss
Subject:    Re: [opennms-discuss] OpenNMS with Packeteer
From:       "Pepo." <pmancheno () gmail ! com>
Date:       2010-04-30 12:36:33
Message-ID: 201004300736.46653.pmancheno () gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/signed)]

[Attachment #4 (multipart/mixed)]


Hi friends.

I've modified for:

<snmp-collection name="packeteer" snmpStorageFlag="select">
        <rrd step="300">
                <rra>RRA:AVERAGE:0.5:1:2016</rra>
                <rra>RRA:AVERAGE:0.5:12:1488</rra>
                <rra>RRA:AVERAGE:0.5:288:366</rra>
                <rra>RRA:MAX:0.5:288:366</rra>
                <rra>RRA:MIN:0.5:288:366</rra>
        </rrd>

        <resourceType name="packeteerPepo" label="Name of Classes" 
resourceLabel="${className}">
                <persistenceSelectorStrategy 
class="org.opennms.netmgt.collectd.PersistAllSelectorStrategy"/>
                <storageStrategy 
class="org.opennms.netmgt.dao.support.IndexStorageStrategy"/>
        </resourceType>

        <groups>
                <group name="packeteer-classes" ifType="all">
                        <mibObj oid=".1.3.6.1.4.1.2334.2.1.4.2.1.2" 
instance="packeteerPepo" alias="className" type="string" />
                        <mibObj oid=".1.3.6.1.4.1.2334.2.1.4.2.1.37" 
instance="packeteerPepo" alias="classCurrentRate" type="gauge" />
                </group>
        </groups>
        <systems>
                <systemDef name="Enterprise">
                        <sysoidMask>.1.3.6.1.4.1.2334.</sysoidMask>
                        <collect>
                                <includeGroup>packeteer-scalars</includeGroup>
                                <includeGroup>packeteer-classes</includeGroup>
                        </collect>
                </systemDef>
        </systems>
</snmp-collection>

And I think that I am collecting data; and try to graph with (snmp-
graph.properties):

reports=[.../...] , \
packeteer.pepo

report.packeteer.pepo.name=Speed in Packeteer
report.packeteer.pepo.columns=classCurrentRate
report.packeteer.pepo.type=packeteerPepo
report.packeteer.pepo.command=--title="Speed" \
   --vertical-label="Bytes" \
   DEF:total={rrd1}:classCurrentRate:AVERAGE \
   CDEF:totalBytes=total,* \
   LINE2:totalBytes#0000ff:"Total" \
   GPRINT:totalBytes:AVERAGE:" Avg  \\: %8.2lf %s" \
   GPRINT:totalBytes:MIN:"Min  \\: %8.2lf %s" \
   GPRINT:totalBytes:MAX:"Max  \\: %8.2lf %s\\n"

But the graph isn't created.

Can you help me with this? I think I am close to doing ;)

A lot of thanks.

-----------------------------------------------
On Viernes 30 Abril 2010 05:15:11 David Hustace escribió:

> Paul,
> 
> Did you get this working?
> 
> David
> 
> On Apr 29, 2010, at 7:42 AM, <Christoph.Lagemann@mt.com> wrote:
> > I'm not sure whether you did that; but you need to edit
> > snmpgraph.properties to show up as graph. Make sure, that the files
> > classCurrentRate.jrb and className show up in /opt/opennms/share/rrd/
> > snmp/<number of host> folder.
> >
> > You will then recurre on that file when you create the graph there.
> >
> > You might want to look at http://www.opennms.org/wiki/Graph_Gallery
> > to get some more details.
> >
> > Christoph
> >
> > -----Original Message-----
> > From: Pepo. [mailto:pmancheno@gmail.com]
> > Sent: Donnerstag, 29. April 2010 13:32
> > To: General OpenNMS Discussion; pmanchen@etapa.net.ec
> > Subject: Re: [opennms-discuss] OpenNMS with Packeteer
> >
> > Hi friends.
> >
> > Thanks.
> >
> > Please, Can you help me with data collection?:
> >
> > 1- I've modified capsd-configuration.xml with my new protocol
> > 2- I've modified collectd-configuration.xml with <parameter
> > key="collection"
> > value="my_packeteer"/>
> > 3- The new protocol is recognized.
> > 4- I am trying to graph tcp rate for each class (classname) and I am
> > using this at the end of datacollection-config.xml (before </
> > datacollection-config>)
> >
> >  <snmp-collection name="packeteer" snmpStorageFlag="select">
> >    <rrd step="300">
> >      <rra>RRA:AVERAGE:0.5:1:2016</rra>
> >      <rra>RRA:AVERAGE:0.5:12:1488</rra>
> >      <rra>RRA:AVERAGE:0.5:288:366</rra>
> >      <rra>RRA:MAX:0.5:288:366</rra>
> >      <rra>RRA:MIN:0.5:288:366</rra>
> >    </rrd>
> >    <groups>
> >      <group name="packeteer-scalars" ifType="ignore">
> >        <mibObj oid=".1.3.6.1.4.1.2334.2.1.4.2.1.37"  instance="0"
> > alias="classCurrentRate"      type="gauge" />
> >      </group>
> >      <group name="packeteer-classes" ifType="all">
> >        <mibObj oid=".1.3.6.1.4.1.2334.2.1.4.2.1.2" instance="0"
> > alias="className"     type="string" />
> >      </group>
> >    </groups>
> >    <systems>
> >      <systemDef name="Enterprise">
> >        <sysoidMask>.1.3.6.1.4.1.2334.</sysoidMask>
> >        <collect>
> >          <includeGroup>packeteer-scalars</includeGroup>
> >          <includeGroup>packeteer-classes</includeGroup>
> >        </collect>
> >      </systemDef>
> >    </systems>
> >  </snmp-collection>
> >
> > Please, What is wrong with this configuration?
> >
> > Thanks
> >
> > -----------------------------------------------
> >
> > On Miércoles 28 Abril 2010 09:47:57 douglasstvnsn@aol.com escribió:
> >> Check out the Packeteer MIB ...
> >>
> >>
> >> http://www.oidview.com/mibs/2334/PACKETEER-MIB.html
> >>
> >>
> >> Dougie!!!
> >>
> >>
> >>
> >>
> >>
> >> -----Original Message-----
> >> From: Paul Mancheno H. <pmancheno@gmail.com>
> >> To: opennms-discuss@lists.sourceforge.net
> >> Sent: Wed, Apr 28, 2010 6:58 am
> >> Subject: [opennms-discuss] OpenNMS with Packeteer
> >>
> >>
> >> Hi friends..
> >>
> >> We are using PacketShaper I think that many people use this option.
> >> Is
> >> there some way to monitor each "partition" of PacketShaper with
> >> OpenNMS?.
> >> How do I do that?
> >>
> >> Thanks.
> >
> > -------------------------------------------------------------------------
> >----- _______________________________________________
> > Please read the OpenNMS Mailing List FAQ:
> > http://www.opennms.org/index.php/Mailing_List_FAQ
> >
> > opennms-discuss mailing list
> >
> > To *unsubscribe* or change your subscription options, see the bottom
> > of this page:
> > https://lists.sourceforge.net/lists/listinfo/opennms-discuss
> 
> David Hustace
> The OpenNMS Group, Inc.
> 
> 
> ---------------------------------------------------------------------------
> --- _______________________________________________
> Please read the OpenNMS Mailing List FAQ:
> http://www.opennms.org/index.php/Mailing_List_FAQ
> 
> opennms-discuss mailing list
> 
> To *unsubscribe* or change your subscription options, see the bottom of
>  this page: https://lists.sourceforge.net/lists/listinfo/opennms-discuss
> 

["classCurrentRate.png" (image/png)]
["signature.asc" (application/pgp-signature)]

------------------------------------------------------------------------------


_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic