home *** CD-ROM | disk | FTP | other *** search
- Repace number with int or float. Currently watcher treats all
- numbers as floats. There is some code already there
- that could handle the different types. The %d for a
- float is counterintuitive. This would be fixed by
- making %d int and %f float like printf.
-
- Use yacc's union rather than YYSTYPE default. This would
- probably help portability.
-
- Print alias in pp output. Currently it isn't printed. No real
- reason for this.
-
- Multiple ok values for string fields. Sometimes there may be
- more than one string value which is considered "ok".
- Watcher should be able to handle this. Possible
- syntax:
-
- (/usr/ucb/ruptime | fgrep -f /usr/local/lib/watcher/UnmHosts) { ruptime }
- 2 status%s 1 machine%k 7 loadav%d:
- loadav 0 10;
- status "up", "slow", "dead".
-
- Positive and/or negative deltas make a difference. Currently
- watcher only notices things which increase. It would
- probably be useful to watch for things that drop also.
- Possible syntax:
-
- (df -i | /usr/ucb/tail +2 | grep -v tmp) { 'df no tmp' }
- 1-9 filesystem%k 41-42 spaceused%d 64-65 inodesused%d 1-9 device%k:
- spaceused -15%;
- spaceused 0 89;
-
- Right to left parsing as option instead of always l-r. It may
- be easier at times to specify that the useful info is
- located in the fifth from the right column rather than
- the eit`ghth from the left.
-