[ProgClub programming] Centralised logging

John Elliot V | ProgClub jj5 at progclub.org
Wed Jun 12 19:35:00 AEST 2019


I'm just getting some reading (about containers) done and will be with
you shortly. In the mean time can you define VSS and RSS for me? FWIW, I
did try figuring that out myself.

On 12/6/19 7:11 pm, Jedd Rashbrooke wrote:
> On Wed, 12 Jun 2019 at 17:17, John Elliot V | ProgClub <jj5 at progclub.org
> <mailto:jj5 at progclub.org>> wrote:
> 
>     I have no experience with containers, so in addition to learning about
> 
>     LVM I can use this as an opportunity to learn about containers, too.
> 
> 
>  Then build your monitoring platform first, and then later play with
> containers and log collectors.  Monitoring gives you visibility into the
> performance of itself, as well as your other systems, so it's the most
> important gap to fill.
> 
>     So that brings us back to the disk requirements for my new VM. Still
>     just start with 30 GB for the system? Or maybe bump that up to 50 GB?
>     What are the suggested initial CPU and RAM settings?
> 
> 
>  30GB for root, put everything on the one partition, put swapfiles in
> rather than swap partition, refer my earlier messages detailing my block
> layout, it's a good place to start.
> 
>  2 core, 1GB RAM.    On the assumption this is a headless box, and you
> won't be installing a GUI on it.  The nature of VMs are that you can
> always power them down, change core, memory, and disk allocation, so
> don't fret about this.
> 
>  I'd suggest Prometheus would be easier and more useful than Zabbix.  On
> my system I've got VSS of around 3GB, but RSS of less than 100MB, and
> I'm using ~ 5GB disk after some months, with ~12 servers, and polling
> every 60s with vanilla node-exporter metrics exposed on those hosts.
> 
>  Apart from prometheus.yml file for static config targets, I also
> changed the systemd service file as follows, as the retention rate was
> too short by default:
> 
>  # ExecStart=/usr/local/bin/prometheus
>  --config.file="/etc/prometheus/prometheus.yml"
>  --storage.tsdb.path="/var/lib/prometheus/"
>  ExecStart=/usr/local/bin/prometheus
>  --config.file="/etc/prometheus/prometheus.yml"
>  --storage.tsdb.path="/var/lib/prometheus/" --storage.tsdb.retention=730d
> 
>  j.
> 
> 
> 
> _______________________________________________
> ProgClub programming
> programming at progclub.org
> https://www.progclub.org/cgi-bin/mailman/listinfo/programming
> https://www.progclub.org/
> 

-- 
|_|O|_| ProgClub
|_|_|O| Because every programmer needs a good club!
|O|O|O| https://www.progclub.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jj5.vcf
Type: text/x-vcard
Size: 231 bytes
Desc: not available
URL: <http://www.progclub.org/pipermail/programming/attachments/20190612/9576e453/attachment.vcf>


More information about the programming mailing list