Re: [opennms-devel] Adding report..
"DJ Gregor" <[email protected]>
| Newsgroups | gmane.network.opennms.bugs |
|---|---|
| Message-ID | <[email protected]> |
Set the type to "nodeSnmp" instead of "node". On Mon, 28 Jan 2008 19:18:17 -0600, "Alejandro Islas" <[email protected]> said: > Thanks for the reply, I'll check the list. I'll post the modifications to > the snmp-graph properties: > > reports=mib2.bits, mib2.discards, mib2.errors, mib2.HCbits, mib2.packets, > \ > mib2.tcpopen, mib2.tcperrs, mib2.tcpsegs, \ > mib2.traffic-inout, \ > .... > softel.monitormsc.maxTchkPoleo, \ (this is my report) > .... > > My report definition: > > report.softel.monitormsc.maxTchkPoleo.name=maxTchkPoleo > report.softel.monitormsc.columns=maxTchkPoleo > report.softel.monitormsc.type=node > report.softel.monitormsc.command=--title="Maximum time used for the smart > pole (Softel)" \ > --vertical-label Days \ > DEF:timeticks={rrd1}:maxTchkPoleo:AVERAGE \ > CDEF:days=timeticks,8640000,/ \ > AREA:days#FF0000:"Days" \ > GPRINT:days:AVERAGE:"Avg \\: %8.1lf %s" \ > GPRINT:days:MIN:"Min \\: %8.1lf %s" \ > GPRINT:days:MAX:"Max \\: %8.1lf %s" \ > > I found a report.log file in debug logs but its empty. Is that normal??? > > Finally, here are my rrd files for a node > > root@islas-desktop:/usr/share/opennms/share/rrd/snmp/15# ls > activaPoleo.rrd bdRespuestaIntento.rrd eth0-0090270001c6 > maxTchkCnts.rrd pollIndex.rrd socketUDP.rrd > tcpInSegs.rrd > bdCnx1.rrd bdSmartPoll.rrd eth1-0019d1715696 > maxTchkDisp.rrd procIndex.rrd SwapIn.rrd > tcpOutRsts.rrd > bdCnx2.rrd cfalse.rrd hrMemorySize.rrd > maxTchkPoleo.rrd sit0 SwapOut.rrd > tcpOutSegs.rrd > bdCnx3.rrd contador.rrd hrStorageAllocUnits.rrd > maxTprocBD.rrd smmMemError.rrd SysContext.rrd > tcpPassiveOpens.rrd > bdCnx4.rrd CpuRawIdle.rrd hrStorageSize.rrd > maxTprocNotify.rrd smmMscDescon.rrd sysError.rrd > tcpRetransSegs.rrd > bdConexionError.rrd CpuRawKernel.rrd hrStorageUsed.rrd > maxTregStat.rrd smmNumSerieError.rrd SysInterrupts.rrd > tprocBD.rrd > bdConexionIntento.rrd CpuRawNice.rrd hrSystemNumUsers.rrd > memAvailReal.rrd smmrxError.rrd sysprocIndex.rrd > tprocNotify.rrd > bdDisponibilidad.rrd CpuRawSystem.rrd hrSystemProcesses.rrd > memAvailSwap.rrd smmrxMsg10Min.rrd tchkCnts.rrd > tregStat.rrd > bdGeneral.rrd CpuRawUser.rrd hrSystemUptime.rrd > memBuffer.rrd smmrxMsg1Hora.rrd tchkDisp.rrd > trmsIndex.rrd > bdIndex.rrd csendTo.rrd IORawReceived.rrd > memCached.rrd smmrxMsg6Horas.rrd tchkPoleo.rrd > bdPrioridad.rrd csmartPing.rrd IORawSent.rrd > memShared.rrd smmrxMsgDia21.rrd tcpActiveOpens.rrd > bdQueryCola.rrd cthreads.rrd loadavg15.rrd > memTotalFree.rrd smmrxMsgHTML.rrd tcpAttemptFails.rrd > bdQueryErrorFatal.rrd disponibilidad.rrd loadavg1.rrd > memTotalReal.rrd smmrxMsgRegistro.rrd tcpCurrEstab.rrd > bdQueryError.rrd errsIndex.rrd loadavg5.rrd > msgsIndex.rrd smmrxMsgSMS.rrd tcpEstabResets.rrd > bdRespuestaError.rrd estadistica.rrd main.rrd > notificacion.rrd smmtxError.rrd tcpInErrors.rrd > > > Thanks, > > Alejandro > > On Jan 28, 2008 7:00 PM, DJ Gregor <[email protected]> wrote: > > > Did you add your new graph to the "reports" property near the top of > > snmp-graph.properties? > > > > You can find the graphing stuff in debug logs. There was a recent > > message to one of the lists on the past day or two with details. > > > > Lastly, show is your changes to snmp-graph.properties and give us a > > directory listing showing the RRD files. > > > > > > - djg > > > > On Jan 28, 2008, at 7:37 PM, "Alejandro Islas" <[email protected]> > > wrote: > > > > > Hi all,I'm trying to add some reports of my private mibs. I already > > > have the data collection solved, rrd files created for the expected > > > nodes and I manually created a graph using rrdtool graph command. > > > I read the SNMP report HOW-TO and did the changes to snmp- > > > graph.properties to incorporate my reports. I restarted the daemon > > > but I can't find where my reports are stored. I supposed they would > > > be located in the OPENNMS_HOME/share/reports but its empty. Using > > > the web interface, I tried to add a report using the web interface > > > (Home->Reports->Performance) but I do not have any node to select in > > > both standard and custom performance reports. So I guess there's > > > something missing and no reports are being generated. Is there a > > > log for report generation that I could look at to workaround this?? > > > Does anybody know something else I need to configure?? > > > > > > Thanks, > > > > > > Alejandro > > > --- > > > ---------------------------------------------------------------------- > > > This SF.net email is sponsored by: Microsoft > > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > _______________________________________________ > > > Please read the OpenNMS Mailing List FAQ: > > > http://www.opennms.org/index.php/Mailing_List_FAQ > > > > > > opennms-devel mailing list > > > > > > To *unsubscribe* or change your subscription options, see the bottom > > > of this page: > > > https://lists.sourceforge.net/lists/listinfo/opennms-devel > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Please read the OpenNMS Mailing List FAQ: > > http://www.opennms.org/index.php/Mailing_List_FAQ > > > > opennms-devel mailing list > > > > To *unsubscribe* or change your subscription options, see the bottom of > > this page: > > https://lists.sourceforge.net/lists/listinfo/opennms-devel > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-devel mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-devel