8 third-party data sources
45 ###############################
60 if issue.status is "open":
61 issue.take_next_action()
67 action_list for issuetype (pcudown)
70 send email, apply penalty
72 send email, apply second penalty
76 action_list for issuetype (badhardware)
77 action_list for issuetype (dnserror)
78 action_list for issuetype (nodeconfig)
79 action_list for issuetype (oldbootcd)
81 action_list for issuetype (nodedown)
84 if pcuok, and reboot failed, set rins, reboot
86 create_issue pcubroken
89 send email, apply penalty
91 send email, apppy second penalty
97 * add a '--nocache' to the default set of options.
98 * add a cache parameter in the monitor.conf file.
103 * install openssh-server, passwd, perl-libwww-perl (for rt), rt-3.4.1, MySQL-python
104 * had to mount -t devpts devpts /dev/pts to get ssh to work inside the
105 chroot. also, disable the pam modules in /etc/pam.d/sshd
108 * auto configuration for php configuration.
109 maybe run translation of monitor.conf before loading monitorconfig.php?
112 * A setup script of some kind would be nice that walked through :
113 - writing monitorconfig.py
114 - creation of monitorconfig.php
117 - findbad.py on sample site.
122 - loads webpage for those retreived values to confirm setup succeeded.
124 * reimplement the config.py / .config mechanism. I'd like for many commands
125 to share very similar argument or argument sets, as well as have some
126 common config options. I'm not sure the best way to do this.
128 - features of config.py
129 * parse arguments and return an object with attributes equal to the
131 * maintain values consistently across modules at run time.
132 * have default values that are not specified at each run time.
133 * easy to import and use
135 - config module is available via 'import config' or as returned by
136 parsermodule.parse_args()
137 - python supports load-once modules, so subsequent imports refer to the
140 * have package pull in threadpool from easy_install
142 * place PKL files in a real database
144 * clean up plc.py; there's a lot of redundent code.
146 * figure out python paths for user commands.
147 - directories for pickle files.
148 - add user in rpm install
149 - user permissions for data files for day-to-day operations.
151 * fix BayTechCtrlCUnibe expect script.
153 * separate modules into different, logical categories, and create a python
154 module as part of the install:
163 * Add a more structured, 'automate' library of scripts and means of making
166 * add a third package for user tools that will interact with the Monitor
167 service. Mostly, I'm guessing this would be queries for the live status of
168 nodes and a more reliable 'reboot' and 'reinstall' mechanism than currently
172 * Find a better location to place and pull the PKL files currently in the pdb
173 directory. Ultimately, these should be stored in a real DB. Until then,
174 they should sit in a location that is accessible from the www scripts,
175 backend scripts, and user utilities.
176 * nodebad loads plc_hn2lb unconditionally
177 * nodeinfo loads act_all unconditionally
178 * change findbad.py default db name
179 * remove deps on www.printbadnodes
180 * reboot.py loads findbadpcus unconditionally.
181 * nodequery loads findbad unconditionally
182 * unified_model loads findbad unconditionally
184 * threadpool package.
185 * build cmdamt with g++ prior to packaging
187 * www/*.py need appropriate access to database.py, config.py, monitorconfig.py, etc.
188 - need to convert monitor.conf into monitorconf.sh and monitorconf.php
190 * pull out global configuration information from various files, like rt_db,
191 mailer.py, auth.py, and any others. Create a single configuration file
192 from which all others pull.
194 - convert plc and other files to use the new monitorconfig.py rather than
196 - need to alter all import 'auth' statements.