My home LAN has 47 devices. My cord cutting system uses KODI running on OSMC on RPiB3+
Ping works fine on all the devices except: nest, ring doorbell and echo. However, I am not concerned about these.
My issue is that I cannot get very many of the built in linux-server services to work. For example, Swap Usage and Total Processes work.
But CPU Load, Memory, etc do not work.
NEMS shows the following messages when trying to monitor these services on any OSMC RPi or Raspbian RPi:
- CPU Load: connect to address 192.168.1.227 and port 12489: Connection refused
- Check disk space of /var: NRPE: Command 'check_disk -w 80 -c 90 -p /var' not defined
- Memory Usage: connect to address 192.168.1.227 and port 12489: Connection refused
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program nam
tcp 0 0 0.0.0.0:1311 0.0.0.0:* LISTEN 20459/kodi.bin
tcp 0 0 0.0.0.0:nrpe 0.0.0.0:* LISTEN 11456/nrpe
I ran these commands to install NEMS client:
$ sudo apt-get install nagios-nrpe-server nagios-plugins -y
$ sudo nano /etc/nagios/nrpe.cfg
server_port=5666
allowed_hosts=127.0.0.1,192.168.1.0/24
$ sudo systemctl restart nagios-nrpe-server
How do I get a service to work?