# server_stats
script to collect some stats

# INSTALL
```
cd /root/
git clone git@github.com:evgenypim/server_stats.git
cd ./server_stats/etc
cp ./stats.yaml.example ./stats.yaml
vi ./stats.yaml
ln -sf /root/server_stats/etc/stats.yaml /etc/
```

# Config description
Config file path: /etc/stats.yaml - regular yaml file.
```
#API key and URL
api_key: abc123
api_url: https://api.url.com

# For disks subsystem stats
disks:
	# Mount points for free/used stats per mountpoint
	mount_points:
	- /home
	- /

	# Block devs fo o|i stats
	block_devs:
	- sda1
	- dm-0

# For network subsystem
networking:
	interfaces:
	- enp3s0
	- br0
```

# server_stats
script to collect some stats

# INSTALL
```
cd /root/
git clone git@github.com:evgenypim/server_stats.git
cd ./server_stats/etc
cp ./stats.yaml.example ./stats.yaml
vi ./stats.yaml
ln -sf /root/server_stats/etc/stats.yaml /etc/
```
# Dependencies
apt-get install python-yaml python-psutil

# Config description
Config file path: /etc/stats.yaml - regular yaml file.
```
#API key and URL
api_key: abc123
api_url: https://api.url.com

# For disks subsystem stats
disks:
	# Mount points for free/used stats per mountpoint
	mount_points:
	- /home
	- /

	# Block devs fo o|i stats
	block_devs:
	- sda1
	- dm-0

# For network subsystem
networking:
	interfaces:
	- enp3s0
	- br0
```

Add installation requirements for Debian
Add installation requirements for Debian
