NEMS, OSMC and Services

Having issues? Post them here, and help other users.
Post Reply
dumbo25
Junior Member
Posts: 1
Joined: Sun Mar 31, 2019 6:36 pm

NEMS, OSMC and Services

Post by dumbo25 »

I have NEMS 1.5 installed on latest version of raspbian stretch running on raspberry pi 3b+. I am not sure of the build number.

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
$ sudo netstat -lptu
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?
Post Reply