I2CONFAUTO on node01 failed!

  • Version used 2.13.3-1.el7.icinga
  • Red Hat 7.9
  • Enabled features api checker ido-mysql mainlog
  • Icinga Web 2 version and modules: currently not running
  • Config validation:
[2022-06-16 10:45:31 -0400] information/cli: Icinga application loader (version: r2.13.3-1)
[2022-06-16 10:45:31 -0400] information/cli: Loading configuration file(s).
[2022-06-16 10:45:31 -0400] information/ConfigItem: Committing config item(s).
[2022-06-16 10:45:31 -0400] information/ApiListener: My API identity: node01
[2022-06-16 10:45:31 -0400] information/ConfigItem: Instantiated 1 IdoMysqlConnection.
[2022-06-16 10:45:31 -0400] information/ConfigItem: Instantiated 1 CheckerComponent.
[2022-06-16 10:45:31 -0400] information/ConfigItem: Instantiated 3 Zones.
[2022-06-16 10:45:31 -0400] information/ConfigItem: Instantiated 1 IcingaApplication.
[2022-06-16 10:45:31 -0400] information/ConfigItem: Instantiated 2 Endpoints.
[2022-06-16 10:45:31 -0400] information/ConfigItem: Instantiated 1 FileLogger.
[2022-06-16 10:45:31 -0400] information/ConfigItem: Instantiated 244 CheckCommands.
[2022-06-16 10:45:31 -0400] information/ConfigItem: Instantiated 1 ApiListener.
[2022-06-16 10:45:31 -0400] information/ScriptGlobal: Dumping variables to file '/var/cache/icinga2/icinga2.vars'
[2022-06-16 10:45:31 -0400] information/cli: Finished validating the configuration file(s).

I’m new to my organization and I’m receiving a constant stream of e-mails:
Subject: I2CONFAUTO on node01 failed!
Text:
Failed to run i2confauto on node01. Error : 203:Exception: Unterminated string starting at: line 43979 column 7 (char 1343472)

I tried finding anything named i2confauto in the documentation and when Googling it I get a rather strange zero results. What is i2confauto and what could it be referring to? Node01 is my place holder for the real node name.

With this command you can check if it is an icinga object:

icinga2 object list | grep -i I2CONFAUTO

I managed to do a system-wide search with "grep -rnw / -e “i2confauto” and found a file at /app/i2confauto/i2confauto.py. As best I can tell its trying to pull host data?

There is a cron job registered to run every five minutes and that’s auto the frequency that I’m seeing this message.