> For the complete documentation index, see [llms.txt](https://docs.pmem.io/ipmctl-user-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pmem.io/ipmctl-user-guide/instrumentation/change-sensor-settings.md).

# Change Sensor Settings

Changes the non-critical threshold or enabled state for one or more persistent memory module sensors. Use the command [Show Sensor](/ipmctl-user-guide/instrumentation/show-sensor.md) to view the current settings.

```
$ ipmctl set [OPTIONS] -sensor (SENSORS) [TARGETS] NonCriticalThreshold=(temperature) EnabledState=(0|1)
```

## **Sensors**

* `MediaTemperature`: The current module media temperature in Celsius. Valid values: 0-2047.
* `ControllerTemperature`: The current module controller temperature in Celsius. Valid values 0-2047.
* `PercentageRemaining`: Remaining module life as a percentage value of factory expected life span. Valid values: 1-99.

## **Targets**

* `dimm (DimmIDs)`: Show the sensors on specific modules by supplying one or more comma-separated DimmIDs. The default is to display sensors for all manageable modules.

## **Properties**

* `NonCriticalThreshold`: The upper (for temperatures) or lower (for spare capacity) non-critical alarm threshold of the sensor. If the current value of the sensor is at or above for thermal, or below for capacity, the threshold value, then the sensor will indicate a "NonCritical" state. Temperatures may be specified in degrees Celsius to a precision of 1/16 a degree.
* `EnabledState`: Enable or disable the non-critical threshold alarm. One of:
  * "0": Disable
  * "1": Enable

## **Examples**

Change the media temperature threshold to 51 on the specified module and enable the alarm.

```
ipmctl set -sensor MediaTemperature –dimm 0x0001 NonCriticalThreshold=51 EnabledState=1
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pmem.io/ipmctl-user-guide/instrumentation/change-sensor-settings.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
