# Graphite won't keep history

**URL:** <https://community.icinga.com/t/graphite-wont-keep-history/813>\
**Category:** Icinga Web Modules\
**Created:** [April 4, 2019, 1:10am UTC](https://community.icinga.com/t/graphite-wont-keep-history/813 "2019-04-04T01:10:06Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![blakehartshorn](https://community.icinga.com/user_avatar/community.icinga.com/blakehartshorn/32/599_2.png) [@blakehartshorn](https://community.icinga.com/u/blakehartshorn)\
**Post date:** [April 19, 2019, 12:35pm UTC](https://community.icinga.com/t/graphite-wont-keep-history/813/8 "2019-04-19T12:35:46Z")

</div>

In storage-schemas.conf in your carbon config folder, first match wins. So in this case, your default\_1min\_for\_1day entry is hitting before your Icinga entries. You’ll want to move those up.

Something that might catch you off guard if you’re new to graphite is that your whisper database will not update the retention automatically as that’s set in the metadata of the whisper files. You can see this by using whisper-info.py on any given value.wsp. If it’s a new setup, I’d just go ahead and start over. Otherwise, the whisper-resize.py script is available.

---

_[View the full topic](https://community.icinga.com/t/graphite-wont-keep-history/813)._
