cleaned up demo scripts locations
[urisagit/Stem.git] / Design / Stem-Mon
1 This module will be on the server:
2 SNMP Trap Support (sending and/or receiving)
3 -----------------
4 Net::Snmp
5 --supports v1 and v2
6 --can be made non-blocking via new...-nonblocking
7 --default is to block
8
9 These modules would be run on each client based on a config file
10 of sorts.
11
12 User Logins
13 -----------
14 something to read a variant of /var/log/lastlogin, wtmp,etc
15 we can do this because the files are usually a fixed binary format
16
17 Drive Space Monitoring
18 ----------------------
19 File::df
20
21 --requires: statfs()
22 --statfs() can be prevented by blocking (on bsdi at least) 
23 --works with, solaris, sunos, hp/ux, osf/1, linux
24
25
26 Running process monitor
27 -----------------------
28 Proc::Processtable
29 --requires: File::Find, Storable
30 --works with: Linux, Solaris, aix, hp/ux, fbsd, irix, osf, bsdi, nbsd
31 ---Watchdog::Process says 
32 # This class is unreliable on Linux as 
33 # Proc::ProcessTable::Process::cmndline() sometimes returns undef. 
34 --hrm...does this mean Proc::Processtable is broke?
35
36 Load monitoring
37 ---------------
38 Unix:Processors, gives info of whether a processor is online
39  how many processors, speed of each processor
40
41 Sys::CpuLoad
42 --works with: any os that has /proc/loadavg or system call 
43    equivalent of /usr/bin/uptime
44
45 Log File Monitoring
46 -------------------
47 File::Tail
48 --I'm sure this one blocks...duh...but it can be changed
49 --but this is very useful for monitoring purposes (see swatch for an example)