and the rest of it...

This commit is contained in:
2024-12-11 13:03:15 -06:00
parent c2b1b821f7
commit f759149c11
26 changed files with 9767 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
#!/bin/bash
#Create index
time duc index / --fs-exclude=nfs
#Produce report
cd /root
TODAY="$(date +%m-%d)"
REPORT_FILENAME="$(hostname).$TODAY.png"
duc graph /
mv duc.png $REPORT_FILENAME
#Send report to central server
scp -i /root/.ssh/duc_rsa $REPORT_FILENAME duc_user@txn04-slack-master.tplab.tippingpoint.com:/var/www/html/space/