Re: Missing percentdiscards, percenterrors, discards, and errors graphs
José Manuel Agudo Cuesta <[email protected]>
| Newsgroups | gmane.network.opennms.general |
|---|---|
| Message-ID | <CAC3mwJAzpWGA64hYfwFtobuJiubVpPSNDAK0NFv_nCLv0SStSA@mail.gmail.com> |
Hi,
I added the missing counters to the mib2-X-interfaces-pkts group and start
graphing the counters again. I have newts storage because of that I don't
have lost any information except the last days after the upgrade to version
22.
<group name="mib2-X-interfaces-pkts" ifType="all">
<mibObj oid=".1.3.6.1.2.1.31.1.1.1.7" instance="ifIndex"
alias="ifHCInUcastPkts" type="Counter64"/>
<mibObj oid=".1.3.6.1.2.1.31.1.1.1.8" instance="ifIndex"
alias="ifHCInMulticastPkts" type="Counter64"/>
<mibObj oid=".1.3.6.1.2.1.31.1.1.1.9" instance="ifIndex"
alias="ifHCInBroadcastPkts" type="Counter64"/>
<mibObj oid=".1.3.6.1.2.1.31.1.1.1.11" instance="ifIndex"
alias="ifHCOutUcastPkts" type="Counter64"/>
<mibObj oid=".1.3.6.1.2.1.31.1.1.1.12" instance="ifIndex"
alias="ifHCOutMulticastPkt" type="Counter64"/>
<mibObj oid=".1.3.6.1.2.1.31.1.1.1.13" instance="ifIndex"
alias="ifHCOutBroadcastPkt" type="Counter64"/>
<mibObj oid=".1.3.6.1.2.1.2.2.1.13" instance="ifIndex"
alias="ifInDiscards" type="counter"/>
<mibObj oid=".1.3.6.1.2.1.2.2.1.14" instance="ifIndex"
alias="ifInErrors" type="counter"/>
<mibObj oid=".1.3.6.1.2.1.2.2.1.19" instance="ifIndex"
alias="ifOutDiscards" type="counter"/>
<mibObj oid=".1.3.6.1.2.1.2.2.1.20" instance="ifIndex"
alias="ifOutErrors" type="counter"/>
</group>
Also modified the mib2 thresholding-config to take account of the changes
and use the 64 bit counters:
<expression description="Trigger an alert if incoming usage of any
interface reaches or goes above 80% of its maximum speed for three
consecutive measurement interv
als (only for interfaces that have a maximum speed value defined)"
type="high" ds-type="if" value="80.0" rearm="65.0" trigger="3"
ds-label="ifName" filterOperator="OR" ex
pression="ifHCInOctets * 8 / 1000000 / ifHighSpeed * 100">
<resource-filter
field="ifHighSpeed">^[1-9]+[0-9]*$</resource-filter>
</expression>
<expression description="Trigger an alert if outgoing usage of an
interface reaches or goes above 80% of its maximum speed for three
consecutive measurement interva
ls (only for interfaces that have a maximum speed value defined)"
type="high" ds-type="if" value="80.0" rearm="65.0" trigger="3"
ds-label="ifName" filterOperator="OR" exp
ression="ifHCOutOctets * 8 / 1000000 / ifHighSpeed * 100">
<resource-filter
field="ifHighSpeed">^[1-9]+[0-9]*$</resource-filter>
</expression>
Best regards,
Jose
El mié., 6 jun. 2018 a las 15:35, Ronny Trommer (<[email protected]>)
escribió:
> Hi,
>
> I’ve looked up the configuration files and the issue is related to
> splitting the high speed counters, which removed those 32 bit counters.
> There are no 64bit counter equivalents for discards and errors. There are
> several approaches to fix this problem which depend if you use
> store-by-group or not.
>
> 1)
> If you have store-by-group disabled, which is default. You can add a
> group, let’s say mib2-interface-errors[1] and include them in the system
> definition for the Enterprise sysoidMask.
>
> 2)
> If you have store-by-group enabled, your OID groups are persisted in one
> RRD file. You can restore the old behaviour described in the release notes
> [2]. If you create a new group described in 1) you will end up with a new
> RRD file for mib2-interface-errors, but the allocated storage in the
> mib2-interface RRD files from your old setup is still there. You need to
> mangle the RRD files with rrdtune [3] to remove data sources for the
> discard and error messages.
>
> Created also an issue[4] to track this problem. In hope this helps
>
> Ronny
>
> [1] https://gist.github.com/indigo423/2a86ab560065fc62d6dc2501d6cdc2bb
> [2]
> http://docs.opennms.org/opennms/releases/22.0.0/releasenotes/releasenotes.html
> [3] https://oss.oetiker.ch/rrdtool/doc/rrdtune.en.html
> [4] https://issues.opennms.org/browse/NMS-10195
>
> On 6. Jun 2018, at 02:21, Zhi-Wei Lu <[email protected]> wrote:
>
> Hi all,
>
> I recently upgraded from Horizon 21 to Horizon 22, all new nodes added
> since the upgrade don’t have percentdiscards, percenterrors, discards, and
> error graphs, while the old graphs have no new data for these. I just
> wonder what happened, those data were not collected after the upgrade?
>
> Thank you for your help.
>
> Zhi-Wei Lu
> IET-CR-Network Operations Center
> University of California, Davis
> (530) 752-0155
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org <http://slashdot.org/>!
> http://sdm.link/slashdot_______________________________________________
> 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
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> 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
--
JOSE MANUEL AGUDO CUESTA
Ingeniero de Redes y Seguridad
Servicios Informáticos - C.P.D.
Universidad de Salamanca
+34 923 294 500 ext. 1398
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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