I am running librenms in kubernetes using the jarischaefer docker image.
I currently have the following pods:
librenms
librenms-poller-0
rrdcached
memcached
When I register the poller it does not have a name, I get the following output:
librenms@librenms-pollers-0:~$ ./dist-pollers.php -r
Poller has been registered
librenms@librenms-pollers-0:~$
It also shows up in the webui without a name.
I have the following content in conf.d/pollers.php
<?php
$config['distributed_poller_name'] = file_get_contents('/etc/hostname');
$config['distributed_poller'] = true;
$config['distributed_poller_group'] = 0;
$config['distributed_poller_memcached_host'] = 'memcached';
$config['distributed_poller_memcached_port'] = '11211';
$config['update'] = 0;
Additionally the poller-wrapper.py script never exits, leading to hundreds of open DB connections after a while.
Output of ./validate:
https://p.libren.ms/view/3e45aa5d
output of ./discovery.php -h HOSTNAME -d:
https://p.libren.ms/view/7746f71a