# How can I disable snmpd ia\_addr insert messages?

**URL:** <https://linux-tips.com/t/how-can-i-disable-snmpd-ia-addr-insert-messages/281>\
**Category:** Services\
**Created:** [September 23, 2015, 9:56am UTC](https://linux-tips.com/t/how-can-i-disable-snmpd-ia-addr-insert-messages/281 "2015-09-23T09:56:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![RaskoX](https://linux-tips.com/user_avatar/linux-tips.com/raskox/32/92_2.png) [@RaskoX](https://linux-tips.com/u/RaskoX)\
**Post date:** [September 23, 2015, 9:56am UTC](https://linux-tips.com/t/how-can-i-disable-snmpd-ia-addr-insert-messages/281/1 "2015-09-23T09:56:54Z")

</div>

Hi,

We have Debian and Ubuntu servers which runs snmpd service. We are getting following message every 30 seconds in `/var/log/syslog`:

```
error on subcontainer 'ia_addr' insert (-1)

```

How can we solve this problem?

---

<div class="post-metadata">

**Author:** ![Debuser](https://linux-tips.com/letter_avatar_proxy/v4/letter/d/96bed5/32.png) [@Debuser](https://linux-tips.com/u/Debuser)\
**Post date:** [September 23, 2015, 10:14am UTC](https://linux-tips.com/t/how-can-i-disable-snmpd-ia-addr-insert-messages/281/2 "2015-09-23T10:14:11Z")

</div>

This problem related with the log level start options of `snmpd` service.

On Debian based systems, start options configured through `/etc/default/snmpd` file and it has following default settings:

```auto
SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -g snmp -I -smux,mteTrigger,mteTriggerConf -p /run/snmpd.pid'

```

With the above configuration, snmpd service sends all the logs including **LOG\_DEBUG** to syslog.

You need to change minimum loglevel parameter as **LOG\_INFO** to fix this problem.

To do this, change `-Lsd` parts of the `SNMPDOPTS` as `-LS6d`:

```
$ sudo sed -i "s|-Lsd|-LS6d|" /etc/default/snmpd

```

If you want to change loglevel as **LOG\_ERROR** and above, you can use `-LS3d`.

Snmpd’s startup logging parameters a little complex. You may need to look at **LOGGING OPTIONS** section of [man snmpcmd](http://manpages.org/snmpcmd).

---

<div class="post-metadata">

**Author:** ![demirten](https://linux-tips.com/user_avatar/linux-tips.com/demirten/32/64_2.png) [@demirten](https://linux-tips.com/u/demirten)\
**Post date:** [May 23, 2018, 5:17pm UTC](https://linux-tips.com/t/how-can-i-disable-snmpd-ia-addr-insert-messages/281/3 "2018-05-23T17:17:08Z")

</div>

After `systemd` migration starting from Debian 9 Stretch, you need to change `/lib/systemd/system/snmpd.service` file, not `/etc/default/snmpd` file:

```auto
$ sudo sed -i "s|-Lsd|-LS6d|" /lib/systemd/system/snmpd.service
$ sudo systemctl daemon-reload
$ sudo service snmpd restart

```

---

<div class="post-metadata">

**Author:** ![Jibun\_no\_Kage](https://linux-tips.com/user_avatar/linux-tips.com/jibun_no_kage/32/165_2.png) [@Jibun\_no\_Kage](https://linux-tips.com/u/Jibun_no_Kage)\
**Post date:** [May 7, 2019, 3:53am UTC](https://linux-tips.com/t/how-can-i-disable-snmpd-ia-addr-insert-messages/281/4 "2019-05-07T03:53:39Z")

</div>

None of the above works in Debian 9 Stretch. Still get the error messages.

---

<div class="post-metadata">

**Author:** ![DennisFaucher](https://linux-tips.com/user_avatar/linux-tips.com/dennisfaucher/32/208_2.png) [@DennisFaucher](https://linux-tips.com/u/DennisFaucher)\
**Post date:** [November 8, 2020, 11:57am UTC](https://linux-tips.com/t/how-can-i-disable-snmpd-ia-addr-insert-messages/281/5 "2020-11-08T11:57:01Z")

</div>

Thank you. I was using the old instructions. This fixed the issue.
