first commit

This commit is contained in:
2025-03-24 21:33:34 +00:00
commit 4a183d6f90
34 changed files with 885 additions and 0 deletions
Executable
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
# runs every 5 minutes
echo "$( date ) updateRRDs monitor"
# all this is started from cron, met HOME folder -> the root of this project
cd monitor >/dev/null 2>&1 # this only works if we start it from CRON, else ignored
df | ./monitorDisks.py
top -b -n 5 -p0 | tail -9 | ./monitorTop.py
# top -b -n 1 | tee /tmp/top/$(date +"%H%M").log | ./monitorTop.py
# ./monitorNet.sh