LibreNMS Service health file disabled

There is no solution here. I’m merely documenting.

I use LibreNMS for metrics. Recently, a new item has appeared in the logs:

Apr 17 00:00:17 besser librenms[81601]: besser.int.unixathome.org(INFO):Service health file disabled.

Checking the code, I found the reference on line 422 of LibreNMS/service.py:

        if self.config.health_file:
            with open(self.config.health_file, "a") as f:
                utime(self.config.health_file)
        else:
            logger.info("Service health file disabled.")

Searching for health_file, I found:

        self.health_file = config.get("service_health_file", ServiceConfig.health_file)

Which tells me I can set this in my configuration.

Searching files:

[11:21 besser dvl /usr/local/www/librenms] % grep -ril service_health_file *
LibreNMS/service.py
app/Console/Commands/HealthCheck.php
html/js/lang/en.js
lang/en/settings.php
misc/config_definitions.json
storage/framework/cache/data/27/45/2745da5ffa1c30968efa55bffb4f58b2d7a690a8

That last one can be ignored; it is not installed by the package.

Hmmm.

Searching librenms.org finds nothing.

Same with “Service health file disabled”.

Website Pin Facebook Twitter Myspace Friendfeed Technorati del.icio.us Digg Google StumbleUpon Premium Responsive

Leave a Comment

Scroll to Top