TODO

NEXT RELEASE


- allow user to specify memory allocation method for session structs. At the moment it's 100% statically allocated but choice is good.
- create SNMP hooks for monitoring Octopus via Nagios etc. Create Nagios plugin too.
- Web interface. Will need to add some sort of XMLy output method from octopus-client for reading by front end; probably a php script. 
- installation paths for files should be changed. subdir /var/log/octopus/, /etc/octopus/
- redo client code. it's too clumsy.
- shouldn't be able to manipulate a deleted server
- allow user to write current config to a new config file
- add another type of server that is just used for monitoring
- some sort of performance counters ie. avg bit rate aggregate and per server
- handle HUP
- set process names (master & monitor) using horrible arv[0] overwrite hack
- dynamically resize maxmsg, maxsesisons, maxfds
- logging system to use buffered i/o with log limits too
- MUST strip all whitespace from config file for parsing
- add some sort of weighting systems
- Allow client to manipulate any server using name instead of 'm 0' or 'c 2'
- when a server is set to FAILED then it should have its FRESH sessions reallocated and others d/c'd. Difficult as monitor process doesn't have access to sessions glob var.

TESTING
- test the SHM dir and file creation on different systems as different users
- put accepted values in conf file and check that config function honors those values

OF DUBIOUS VALUE
- review source code layout and files. Make the Makefile better
- line width of source is too large
- configure script should be able to set MESSAGE_SIZE_LIMIT
- reaching fd limit may result in a deluge of errors in the logfile. Must set some sort of logging limit
- dynamically change debug level in same way as algorithm is changed
- some sort of 'power-up' mode where a newly added server can be treated as a clone until it builds a good cache

ONGOING
- better snmp logging ie. perror not setup
- document more code.
- everything should be configurable through the client
- error check every system call 
- variable name standardisation
- more conf file validation
