# Trying to change $WARNING variable

**URL:** <https://community.netdata.cloud/t/trying-to-change-warning-variable/4451>\
**Category:** Help\
**Tags:** agent\
**Created:** [July 25, 2023, 3:09pm UTC](https://community.netdata.cloud/t/trying-to-change-warning-variable/4451 "2023-07-25T15:09:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eric\_Moreira](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/eric_moreira/32/3019_2.png) [@Eric\_Moreira](https://community.netdata.cloud/u/Eric_Moreira)\
**Post date:** [July 25, 2023, 3:09pm UTC](https://community.netdata.cloud/t/trying-to-change-warning-variable/4451/1 "2023-07-25T15:09:54Z")

</div>

I have a question about this  
$WARNING variable:

`warn: $netdata.uptime.uptime > (1 * 60) AND $this > ((($1m_ipv4_tcp_resets_sent < 5)?(5):($1m_ipv4_tcp_resets_sent)) * (($status >= $WARNING) ? (1) : (10)))`

How it is set and where should I change it?

---

<div class="post-metadata">

**Author:** ![andrewm4894](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/andrewm4894/32/125_2.png) [@andrewm4894](https://community.netdata.cloud/u/andrewm4894)\
**Post date:** [July 25, 2023, 6:20pm UTC](https://community.netdata.cloud/t/trying-to-change-warning-variable/4451/2 "2023-07-25T18:20:16Z")

</div>

Welcome!

So it comes from here: [https://github.com/netdata/netdata/blob/c2bb105702320499179af3d5dd10b5636b33587d/health/health.d/tcp\_resets.conf#L29](https://github.com/netdata/netdata/blob/c2bb105702320499179af3d5dd10b5636b33587d/health/health.d/tcp_resets.conf#L29)

To change it you would do something like this:

```bash
cd /etc/netdata
sudo ./edit-config health.d/tcp_resets.conf
# make whatever changes you want, save the file
netdatacli reload-health # reload new update alert config

```

You can fine more info in the docs here:

> **[Configure alerts | Learn Netdata](https://learn.netdata.cloud/docs/alerting/health-configuration-reference#edit-health-configuration-files)**
>
> Netdata's health watchdog is highly configurable, with support for dynamic thresholds, hysteresis, alarm templates, and
