Jump to content

Works' fine on a C.H.I.P


JohnKiniston
 Share

Recommended Posts

Update, It looks like I may have some memory starvation going on.

 

C.H.I.P only has 512mb of ram and no swap, It looks like Domotz is chewing through ram fast.

Link to comment
Share on other sites

 

With old version of Raspberry Pi, or Raspberry Pi zero, or eventually a NAS with a small RAM (below 512 MB), it is  recommended to change the behavior of the Domotz Agent to run, let's say, slower but less resource eager.

 

Here you can find a post highlighting the changes recommended:

 

Basically, what you need to do is editing the following Domotz Agent configuration files:

/opt/domotz/etc/domotz.json

Set the following variable:
nmap_max_processes: 1

 

/opt/domotz/etc/zabbix_proxy.conf

Set the following variable:
StartPollers=1
StartTrappers=1
StartPingers=0
StartHTTPPollers=0
StartDBSyncers=1

 

/opt/domotz/etc/zabbix_agentd.conf

Set the following variable:
StartAgents=1

Moreover, it is also recommended to mount part of the SD as swap area.

 

Just restart the Domotz Agent, and it should run just fine.

 

Let us know.

 

 

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...