Commit Graph

31 Commits

Author SHA1 Message Date
Trey Blancher 976370452e Remove trailing pipe from current_alarms 2023-09-02 11:03:47 -04:00
Trey Blancher cf33dc92f3 Initial commit of psi-monitor.sh (psi-by-example is too granular) 2023-08-31 22:57:09 -04:00
Trey Blancher 5997bcb6f8 Set iotop iterations to 10 2023-08-31 22:56:01 -04:00
Trey Blancher 7f5806c0a9 Final update to psi-by-example code 2023-08-31 22:55:10 -04:00
Trey Blancher e18e94bb23 SSH_AGENT_PID remove superfluous grep, added print_psi to send() 2023-08-27 18:16:56 -04:00
Trey Blancher 23ab5a2371 Added user variable, and SSH_AGENT_PID 2023-08-26 09:17:08 -04:00
Trey Blancher 030f4f34f1 Added more statistics, renamed print_pidstat to print_stats 2023-08-26 09:03:15 -04:00
Trey Blancher 7c6742a1b2 Removed last remaining trace of last_alarm, only alert if it's new 2023-08-25 18:06:02 -04:00
Trey Blancher 427fb181d1 First completely working version 2023-08-25 17:35:58 -04:00
Trey Blancher b414e81081 Initial commit of .gitignore 2023-08-24 10:00:51 -04:00
Trey Blancher 68372af7d7 Fleshed out both documents 2023-08-24 10:00:32 -04:00
Trey Blancher 0540fed30b Refactored to take into account ssh-agent, and time of last alert 2023-08-24 09:59:45 -04:00
Trey Blancher 15f6697dad Added some more to the license blurb at the top of the file 2023-08-19 13:56:47 -04:00
Trey Blancher 428ed91dd1 Updated Makefile for psi-monitor instead of monitor 2023-08-19 13:45:31 -04:00
Trey Blancher 7432e06f58 Added journalctl --lines/-n parameter to only post the last 3 lines, not 10 2023-08-19 13:35:48 -04:00
Trey Blancher c22b59dc85 Use sendmail since mail/s-nail gets the mimetype of the email body wrong 2023-08-19 13:15:53 -04:00
Trey Blancher d3e6d66a3f Fleshed out configuration instructions 2023-08-19 10:05:27 -04:00
Trey Blancher 68f72e2d8c Fixed mime type of email containing pidstat 2023-08-19 10:02:24 -04:00
Trey Blancher a99e3c3ab9 Add current alarm to current_alarms 2023-08-14 16:41:41 -04:00
Trey Blancher 73eb6adb4a Made CPU and MEM thresholds be 1000ms 2023-08-12 16:19:51 -04:00
Trey Blancher 345de155fa Set return status of is_clear() to booleans 2023-08-12 16:19:01 -04:00
Trey Blancher 53a4f7f73c Replaced hardcoded deltachunk with ${host} 2023-08-12 13:16:29 -04:00
Trey Blancher ea42a066ec Updated I/O threshold to 1000ms 2023-08-12 13:03:41 -04:00
Trey Blancher 42f94bbf77 Initial commit of CONFIGURE.md and INSTALL.md, updated README.md 2023-08-12 11:27:29 -04:00
Trey Blancher 354088b245 Final working version, for now 2023-08-08 18:20:04 -04:00
Trey Blancher ae32ba4ae4 No need to use full path of ExecStart executable (it's in /usr/local/bin) 2023-08-07 22:39:05 -04:00
Trey Blancher 2d6ffccea8 Corrected script name 2023-08-07 22:35:23 -04:00
Trey Blancher bf3e1ceb0f Updated psi-by-example 2023-08-07 22:32:05 -04:00
Trey Blancher 078edd5370 Added license statement and brief description at top of script 2023-08-07 22:28:14 -04:00
Trey Blancher 1394357772 Initial commit 2023-08-07 2023-08-07 22:20:41 -04:00
Trey Blancher cad2b43947 Added updated copy of psi-by-example as a submodule 2023-08-07 21:50:05 -04:00