moved demo scripts and docs into the demo directory
[urisagit/Stem.git] / Design / Stem-Mon
CommitLineData
4536f655 1This module will be on the server:
2SNMP Trap Support (sending and/or receiving)
3-----------------
4Net::Snmp
5--supports v1 and v2
6--can be made non-blocking via new...-nonblocking
7--default is to block
8
9These modules would be run on each client based on a config file
10of sorts.
11
12User Logins
13-----------
14something to read a variant of /var/log/lastlogin, wtmp,etc
15we can do this because the files are usually a fixed binary format
16
17Drive Space Monitoring
18----------------------
19File::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
26Running process monitor
27-----------------------
28Proc::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
36Load monitoring
37---------------
38Unix:Processors, gives info of whether a processor is online
39 how many processors, speed of each processor
40
41Sys::CpuLoad
42--works with: any os that has /proc/loadavg or system call
43 equivalent of /usr/bin/uptime
44
45Log File Monitoring
46-------------------
47File::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)