monitor.git
14 years agobug fix in summary template
Stephen Soltesz [Mon, 29 Jun 2009 00:10:21 +0000 (00:10 +0000)]
bug fix in summary template
new access method for fbnode
removed fs_status check b/c it caused false negatives for down nodes that
weren't due to the check hanging.
added a new reboot check.

14 years agoremove rt3 from monitor
Stephen Soltesz [Mon, 29 Jun 2009 00:05:55 +0000 (00:05 +0000)]
remove rt3 from monitor

14 years agoremove rt from monitor package.
Stephen Soltesz [Mon, 29 Jun 2009 00:05:20 +0000 (00:05 +0000)]
remove rt from monitor package.

14 years agoadd an entry for IPMI in case db-config doesn't update.
Stephen Soltesz [Sun, 28 Jun 2009 23:58:30 +0000 (23:58 +0000)]
add an entry for IPMI in case db-config doesn't update.

14 years agorequire OpenIPMI-tools to provide ipmitool command.
Stephen Soltesz [Sun, 28 Jun 2009 23:44:32 +0000 (23:44 +0000)]
require OpenIPMI-tools to provide ipmitool command.

14 years agomake work with new libraries
Stephen Soltesz [Fri, 26 Jun 2009 23:42:15 +0000 (23:42 +0000)]
make work with new libraries

14 years agoadd a link to both types of node history, status and data
Stephen Soltesz [Fri, 26 Jun 2009 23:40:44 +0000 (23:40 +0000)]
add a link to both types of node history, status and data
add a quick search at the top of sitemenu for hostnames and loginbases

14 years agosimplify pcu bad logic
Stephen Soltesz [Thu, 25 Jun 2009 23:03:12 +0000 (23:03 +0000)]
simplify pcu bad logic
ignore additional fields in sitehistory record
just show days down rather than weeks.  weeks is confusing before 30 days

14 years agoadded references to google gadgets
Stephen Soltesz [Thu, 25 Jun 2009 23:01:59 +0000 (23:01 +0000)]
added references to google gadgets
added sitesummary and summary controls for gadgets
clarified sitehistory, and other history views
simplified controllers.py in many places, trying to make node() faster.

14 years agoconvert non-ascii character strings to just ascii
Stephen Soltesz [Thu, 25 Jun 2009 04:45:09 +0000 (04:45 +0000)]
convert non-ascii character strings to just ascii

14 years agoupdate LogoLinkURL in template.
Stephen Soltesz [Thu, 25 Jun 2009 04:44:33 +0000 (04:44 +0000)]
update LogoLinkURL in template.

14 years agocustom templates for RT
Stephen Soltesz [Thu, 25 Jun 2009 04:43:30 +0000 (04:43 +0000)]
custom templates for RT

14 years agouse https by default
Stephen Soltesz [Thu, 25 Jun 2009 04:43:00 +0000 (04:43 +0000)]
use https by default
add Custom Logo fields.

14 years agoremove unnecessary scrips and move queues to plc-template.
Stephen Soltesz [Thu, 25 Jun 2009 04:40:27 +0000 (04:40 +0000)]
remove unnecessary scrips and move queues to plc-template.

14 years agomake custom names make sense.
Stephen Soltesz [Thu, 25 Jun 2009 04:39:45 +0000 (04:39 +0000)]
make custom names make sense.

14 years agoadd template translation on all custom templates in rtconf.d/
Stephen Soltesz [Thu, 25 Jun 2009 04:38:41 +0000 (04:38 +0000)]
add template translation on all custom templates in rtconf.d/
copy custom templates from local dir into rt3 configuration dirs

14 years agocollect CCs from original email, with extra settings in RT_SiteConfig
Stephen Soltesz [Wed, 24 Jun 2009 23:00:54 +0000 (23:00 +0000)]
collect CCs from original email, with extra settings in RT_SiteConfig
no output from adduserstort.pl
move some scrips and templates from initialdata to planetlab.pl

14 years agoonly send unknownsquence messages to admin list
Stephen Soltesz [Wed, 24 Jun 2009 22:21:49 +0000 (22:21 +0000)]
only send unknownsquence messages to admin list
just use the PCU IP address if the hostname doesn't match the IP.

14 years agoadd filters to catch google gadgets
Stephen Soltesz [Wed, 24 Jun 2009 22:20:09 +0000 (22:20 +0000)]
add filters to catch google gadgets
http://host.name/monitor/gadget.xml
http://host.name/monitor/sitemonitor.xml
add googlegadget templates.

simplify controllers.py by removing old code
add action* functions to controllers.py

14 years agofill-in action* pages
Stephen Soltesz [Wed, 24 Jun 2009 22:17:23 +0000 (22:17 +0000)]
fill-in action* pages
title pages correctly
remove nodeview and siteview since these are replaced by pcuview
add information to home page

14 years agoensure that runlevelagent starts when a new package is installed.
Stephen Soltesz [Wed, 24 Jun 2009 20:11:00 +0000 (20:11 +0000)]
ensure that runlevelagent starts when a new package is installed.

14 years agoRepeatedly try to AuthCheck() to avoid transient DNS errors and temporary
Stephen Soltesz [Wed, 24 Jun 2009 19:18:36 +0000 (19:18 +0000)]
Repeatedly try to AuthCheck() to avoid transient DNS errors and temporary
session variables out-of-sync with plc.

14 years agoprovide sitename to person query
Stephen Soltesz [Mon, 22 Jun 2009 19:53:38 +0000 (19:53 +0000)]
provide sitename to person query
install updates.

14 years agorun certain scripts periodically
Stephen Soltesz [Mon, 22 Jun 2009 19:51:09 +0000 (19:51 +0000)]
run certain scripts periodically
run certain scripts at startup
use plcquery instead of getusersfromplc
give 'priv' argument to adduserstort.pl

14 years agosimplify
Stephen Soltesz [Mon, 22 Jun 2009 18:51:28 +0000 (18:51 +0000)]
simplify

14 years agorename init to conf for inital configuration data
Stephen Soltesz [Mon, 22 Jun 2009 18:33:05 +0000 (18:33 +0000)]
rename init to conf for inital configuration data

14 years agoallow deployment-specific settings in rtinit.d/*.pl
Stephen Soltesz [Mon, 22 Jun 2009 18:18:06 +0000 (18:18 +0000)]
allow deployment-specific settings in rtinit.d/*.pl

14 years agotypo city.
Stephen Soltesz [Mon, 22 Jun 2009 15:52:46 +0000 (15:52 +0000)]
typo city.

14 years agoinclude PlanetLab-like scrips and templates by default for all queues.
Stephen Soltesz [Mon, 22 Jun 2009 15:44:09 +0000 (15:44 +0000)]
include PlanetLab-like scrips and templates by default for all queues.

14 years agobetter formatted auto-reply, with custom-field default value .
Stephen Soltesz [Sun, 21 Jun 2009 20:48:19 +0000 (20:48 +0000)]
better formatted auto-reply, with custom-field default value .

14 years agoadd cron script to sync plc db and rt every hour
Stephen Soltesz [Sun, 21 Jun 2009 20:12:25 +0000 (20:12 +0000)]
add cron script to sync plc db and rt every hour
install cron script.

14 years agosync users from PLC to RT db.
Stephen Soltesz [Sun, 21 Jun 2009 19:49:27 +0000 (19:49 +0000)]
sync users from PLC to RT db.
add sendmail configuration to monitor-rt3.init

14 years agowrong pattern.
Stephen Soltesz [Sun, 21 Jun 2009 00:15:26 +0000 (00:15 +0000)]
wrong pattern.

14 years agocleaned and improved monitor-rt3.init
Stephen Soltesz [Sun, 21 Jun 2009 00:04:18 +0000 (00:04 +0000)]
cleaned and improved monitor-rt3.init
removed unnecessary info in initaldata
added ENABLED checks to init scripts
added extra xml to Monitor.spec for default setup.
this should be fine until it's ready to go into myplc

14 years agoown new files
Stephen Soltesz [Sat, 20 Jun 2009 22:03:42 +0000 (22:03 +0000)]
own new files

14 years agotypo
Stephen Soltesz [Sat, 20 Jun 2009 21:57:06 +0000 (21:57 +0000)]
typo

14 years agobreak apart init scripts for monitor, zabbix, and rt3
Stephen Soltesz [Sat, 20 Jun 2009 21:54:47 +0000 (21:54 +0000)]
break apart init scripts for monitor, zabbix, and rt3
add a monitor-rt rpm package
add templates for rt configs

14 years agodirectory for rt3 setup and configuration files
Stephen Soltesz [Sat, 20 Jun 2009 19:07:42 +0000 (19:07 +0000)]
directory for rt3 setup and configuration files

14 years agoadded templates for emailTxt
Stephen Soltesz [Sat, 20 Jun 2009 00:47:14 +0000 (00:47 +0000)]
added templates for emailTxt
added links in welcome page to site/node/pcus
added stub for actionsummary ; need to add links
fixed policy logic for disabled nodes
add an option to save an action record for messages that don't go through rt

14 years agoTagging module Monitor - Monitor-3.0-17
Stephen Soltesz [Fri, 19 Jun 2009 03:42:29 +0000 (03:42 +0000)]
Tagging module Monitor - Monitor-3.0-17
added bootmanager log links
addressed root cause of IntegrityErrors ; big deal
adjusted templates to accomodate fix for IntegrityErrors
added session.flush() to bootman.py to write out ActionsRecords
fixed policy to either pause penalties or apply them ; not both.

14 years agono idea how I clobbered this.
Stephen Soltesz [Fri, 19 Jun 2009 03:39:59 +0000 (03:39 +0000)]
no idea how I clobbered this.

14 years agopause penalties or apply them, not both...
Stephen Soltesz [Fri, 19 Jun 2009 03:36:49 +0000 (03:36 +0000)]
pause penalties or apply them, not both...
plcquery tool frame.

14 years agoadded bootmanager log for monitor-collected log files to be referenced by web
Stephen Soltesz [Fri, 19 Jun 2009 01:44:06 +0000 (01:44 +0000)]
added bootmanager log for monitor-collected log files to be referenced by web
added keyboard interrupt exception to nodequery

addressed root cause of IntegrityErrors from lousy code in controllers.py
no elements of the Objects are assigned.
this patch addresses functionality, need to clean up for clarity.

adjusted templates to use new aggregate object of nodes, pcus, and
'pre-processed' values

updated emailTxt to use just 'pattern' in www node urls

added session.flush() to bootman.py to write out ActionsRecords

14 years agoadd a directory
Stephen Soltesz [Thu, 18 Jun 2009 17:41:02 +0000 (17:41 +0000)]
add a directory

14 years agoTagging module Monitor - Monitor-3.0-16
Stephen Soltesz [Wed, 17 Jun 2009 21:06:11 +0000 (21:06 +0000)]
Tagging module Monitor - Monitor-3.0-16
Added Rpyc from 1.0 branch.
add pcuhistory
add setup-agent for password protected keys.
other minor improvements.

14 years agocopy Rpyc from 1.0 branch into trunk
Stephen Soltesz [Wed, 17 Jun 2009 20:38:04 +0000 (20:38 +0000)]
copy Rpyc from 1.0 branch into trunk

14 years agoadd a directory to run automated scripts by default
Stephen Soltesz [Wed, 17 Jun 2009 20:32:41 +0000 (20:32 +0000)]
add a directory to run automated scripts by default
add a script to setup the ssh-agent to allow for password protected keys

14 years agoadd a view for pcu history.
Stephen Soltesz [Wed, 17 Jun 2009 20:31:36 +0000 (20:31 +0000)]
add a view for pcu history.

14 years agoupdating with tweaks to live deployment.
Stephen Soltesz [Wed, 17 Jun 2009 20:29:40 +0000 (20:29 +0000)]
updating with tweaks to live deployment.

14 years agoTagging module Monitor - Monitor-3.0-15
Stephen Soltesz [Wed, 17 Jun 2009 17:10:36 +0000 (17:10 +0000)]
Tagging module Monitor - Monitor-3.0-15
automate install
auto-close tickets

14 years agoenable monitor in plc-config
Stephen Soltesz [Tue, 16 Jun 2009 20:35:34 +0000 (20:35 +0000)]
enable monitor in plc-config
add easy_install packages to update critical packages for monitor
auto-close a ticket whose status was changed in RT

14 years agoTagging module Monitor - Monitor-3.0-14
Stephen Soltesz [Fri, 12 Jun 2009 20:21:01 +0000 (20:21 +0000)]
Tagging module Monitor - Monitor-3.0-14
update web
update policy
added statistics dir

14 years agoconvenience, maintenance scripts
Stephen Soltesz [Fri, 12 Jun 2009 19:17:01 +0000 (19:17 +0000)]
convenience, maintenance scripts

14 years agoapply penalties
Stephen Soltesz [Fri, 12 Jun 2009 19:15:21 +0000 (19:15 +0000)]
apply penalties
send notices to users.

14 years agoadd scrappy statistics gathering scripts
Stephen Soltesz [Fri, 12 Jun 2009 16:27:07 +0000 (16:27 +0000)]
add scrappy statistics gathering scripts

14 years agouse 'pattern' argument to site and node pages.
Stephen Soltesz [Fri, 12 Jun 2009 16:22:49 +0000 (16:22 +0000)]
use 'pattern' argument to site and node pages.
add a link to ssl to allow the racadm binary to work.
add c++ compat library for racadm binary

14 years agoadd plc_nodeid and plc_siteid to history records so that the web templates can
Stephen Soltesz [Wed, 10 Jun 2009 21:54:45 +0000 (21:54 +0000)]
add plc_nodeid and plc_siteid to history records so that the web templates can
reference sites and nodes by id rather than name, since the site_pattern and
nodepattern references do not exist any more in the new 4.3 wwwgui.

14 years agoremove unnecessary informatiton on pcuview page
Stephen Soltesz [Wed, 10 Jun 2009 18:45:09 +0000 (18:45 +0000)]
remove unnecessary informatiton on pcuview page
add history for pcu
change 'increase penalty' to 'reduce privilege'

14 years agofixed what looked like a typo in pculist.kid, restores 'view all'
Stephen Soltesz [Tue, 9 Jun 2009 22:34:42 +0000 (22:34 +0000)]
fixed what looked like a typo in pculist.kid, restores 'view all'
use explicit model name, rather than translate names in pcucontrol/reboot.py
use TurboGears from f8 as base for install.
disable crazy pam module to let crond work correctly.
there is no pcu_id for messages.
run synciwithplc in automate-default

14 years agoTagging module Monitor - Monitor-3.0-13
Stephen Soltesz [Mon, 8 Jun 2009 18:37:34 +0000 (18:37 +0000)]
Tagging module Monitor - Monitor-3.0-13
remove plccache from controllers, all lookups from db.
reformat emailTxt messags
updated bootstates in bootman.py

14 years agoproperties and emailTxt
Stephen Soltesz [Sat, 6 Jun 2009 00:57:38 +0000 (00:57 +0000)]
properties and emailTxt

14 years agoactually delete site from db
Stephen Soltesz [Sat, 6 Jun 2009 00:56:12 +0000 (00:56 +0000)]
actually delete site from db

14 years agoupdates to emailTxt
Stephen Soltesz [Fri, 5 Jun 2009 20:42:35 +0000 (20:42 +0000)]
updates to emailTxt
typos in bootman and scanapi
fixed headers in nodehistory
removed missing pcu notices from policy

14 years agocontrollers should allow refreshes while findall is running.
Stephen Soltesz [Wed, 3 Jun 2009 23:00:03 +0000 (23:00 +0000)]
controllers should allow refreshes while findall is running.
add description to RunlevelAgent
something is failing in the monitor-server-deps post install process for
easy_setup dependencies.

14 years agostop using the cached values since they mess things up and keep the server out
Stephen Soltesz [Wed, 3 Jun 2009 21:36:43 +0000 (21:36 +0000)]
stop using the cached values since they mess things up and keep the server out
of sync with the db.  not sure what I as thinking ...

14 years agoTagging module Monitor - Monitor-3.0-12
Stephen Soltesz [Tue, 2 Jun 2009 21:33:54 +0000 (21:33 +0000)]
Tagging module Monitor - Monitor-3.0-12
tag of latest changes.
need to test end to end.

14 years agoadded comonquery command-line tool.
Stephen Soltesz [Tue, 2 Jun 2009 21:30:28 +0000 (21:30 +0000)]
added comonquery command-line tool.
added flush and clear commands to the beginning of each web entry point in
controllers.py; I think this will help address the IntegrityErrors seen here
and at PLE.
moved plccache to local functions to speed invocation of some calls (nodequery)
added several tags to bootman.py to help with new 3.0 BootManager issue.
moved bootman import in monitor/database/info/interface.py due to import
error.  still need to investigate this
added extra RPM checks to node environment checks.  This isn't put in the db
but the log files can be queried over time.

14 years agoSomething bizarre occurs with the dc7800 display after this runs. adding the
Stephen Soltesz [Tue, 2 Jun 2009 17:57:30 +0000 (17:57 +0000)]
Something bizarre occurs with the dc7800 display after this runs.  adding the
delay helps, but only slightly.  Apparently, disconnecting the display cable
and reattaching it clears up the problem.  No idea why.

14 years agoin nodes page: print the status computed by monitor instead of the status retrieved...
Barış Metin [Tue, 2 Jun 2009 11:48:35 +0000 (11:48 +0000)]
in nodes page: print the status computed by monitor instead of the status retrieved from PLC

--debug lines

14 years agoTagging module Monitor - Monitor-3.0-11
Thierry Parmentelat [Sat, 30 May 2009 10:27:07 +0000 (10:27 +0000)]
Tagging module Monitor - Monitor-3.0-11
big merge from the 2.0 branch

14 years agomerges from v2
Stephen Soltesz [Thu, 28 May 2009 15:25:13 +0000 (15:25 +0000)]
merges from v2

14 years agoquote values
Barış Metin [Wed, 27 May 2009 09:09:27 +0000 (09:09 +0000)]
quote values

14 years agoTagging module Monitor - Monitor-3.0-10
Thierry Parmentelat [Tue, 26 May 2009 10:53:06 +0000 (10:53 +0000)]
Tagging module Monitor - Monitor-3.0-10
minor improvements in rendering with sortable tables

14 years agoadd bootcd version to nodes table
Barış Metin [Tue, 19 May 2009 17:21:59 +0000 (17:21 +0000)]
add bootcd version to nodes table

14 years agocosmetic fixes
Barış Metin [Tue, 19 May 2009 15:36:53 +0000 (15:36 +0000)]
cosmetic fixes

14 years agoTagging module Monitor - Monitor-3.0-9
Barış Metin [Tue, 19 May 2009 09:05:46 +0000 (09:05 +0000)]
Tagging module Monitor - Monitor-3.0-9

14 years ago- no alternate colors for tables
Barış Metin [Tue, 19 May 2009 00:51:50 +0000 (00:51 +0000)]
- no alternate colors for tables
- show node id in nodelist

14 years agoremove stripes as plekit table provides the same functionality.
Barış Metin [Mon, 18 May 2009 13:31:09 +0000 (13:31 +0000)]
remove stripes as plekit table provides the same functionality.

14 years agoTagging module Monitor - Monitor-3.0-8
Thierry Parmentelat [Fri, 15 May 2009 21:29:25 +0000 (21:29 +0000)]
Tagging module Monitor - Monitor-3.0-8
first draft with sortable tables + checkpoint

14 years agomore convenience functions to create an api interface as a user or node.
Stephen Soltesz [Fri, 15 May 2009 19:48:00 +0000 (19:48 +0000)]
more convenience functions to create an api interface as a user or node.

14 years ago- use plekit tables
Barış Metin [Fri, 15 May 2009 14:07:52 +0000 (14:07 +0000)]
- use plekit tables
- depend on plewww-plekit
- fix nodeview in controlers.py although it seems that it's not used.

14 years ago++TODO. these needs to be handled in a better way.
Barış Metin [Fri, 15 May 2009 08:37:52 +0000 (08:37 +0000)]
++TODO. these needs to be handled in a better way.

14 years agobuild in /var/tmp as tmpfs mounted on vservers may not have enough space.
Barış Metin [Wed, 13 May 2009 10:56:06 +0000 (10:56 +0000)]
build in /var/tmp as tmpfs mounted on vservers may not have enough space.

14 years agouse automate-defaul.sh as there is no automate.sh
Barış Metin [Wed, 13 May 2009 10:16:50 +0000 (10:16 +0000)]
use automate-defaul.sh as there is no automate.sh

14 years agoTagging module Monitor - Monitor-3.0-7
Stephen Soltesz [Tue, 12 May 2009 15:43:06 +0000 (15:43 +0000)]
Tagging module Monitor - Monitor-3.0-7
make docs a noop
fix for package name dependency
correct docs

14 years agouse pldistro and _arch for dependencies.
Barış Metin [Mon, 11 May 2009 12:52:52 +0000 (12:52 +0000)]
use pldistro and _arch for dependencies.

14 years agoNoop the docs build for Monitor, since it's causing issues on f10
Stephen Soltesz [Fri, 8 May 2009 16:03:14 +0000 (16:03 +0000)]
Noop the docs build for Monitor, since it's causing issues on f10

14 years agoimproved docs.
Stephen Soltesz [Tue, 5 May 2009 18:05:48 +0000 (18:05 +0000)]
improved docs.

14 years agoTagging module Monitor - Monitor-3.0-6
Stephen Soltesz [Mon, 4 May 2009 23:08:27 +0000 (23:08 +0000)]
Tagging module Monitor - Monitor-3.0-6
add improved docs to the latest build and tag.

14 years agoupdated documentation for Monitor API calls.
Stephen Soltesz [Mon, 4 May 2009 23:02:54 +0000 (23:02 +0000)]
updated documentation for Monitor API calls.

14 years agoTagging module Monitor - Monitor-3.0-5
Stephen Soltesz [Mon, 4 May 2009 21:41:08 +0000 (21:41 +0000)]
Tagging module Monitor - Monitor-3.0-5
add documentation hooks for adding in-line docs like NM and PLCAPI

14 years agoadd path to docs
Stephen Soltesz [Mon, 4 May 2009 21:16:43 +0000 (21:16 +0000)]
add path to docs

14 years agoupdate basic documentation files.
Stephen Soltesz [Mon, 4 May 2009 20:52:09 +0000 (20:52 +0000)]
update basic documentation files.

14 years agofirst docs test
Stephen Soltesz [Mon, 4 May 2009 20:34:41 +0000 (20:34 +0000)]
first docs test

14 years agoadd monitor documentation generation stubs.
Stephen Soltesz [Mon, 4 May 2009 20:10:15 +0000 (20:10 +0000)]
add monitor documentation generation stubs.

15 years agoTagging module Monitor - Monitor-3.0-4
Stephen Soltesz [Fri, 1 May 2009 19:39:16 +0000 (19:39 +0000)]
Tagging module Monitor - Monitor-3.0-4
Rough pass over monitor-3.0 to allow it to work with 4.3 API.
replaced GetNodeNetworks, nodeinterface_ids and using new bootstates
'safeboot', 'failboot', 'reinstall', etc.

15 years agotry to update bootstates to work appropriately.
Stephen Soltesz [Fri, 1 May 2009 19:36:13 +0000 (19:36 +0000)]
try to update bootstates to work appropriately.

15 years agoconvert GetNodeNetworks to GetInterfaces and nodenetwork_ids to interface_ids
Stephen Soltesz [Fri, 1 May 2009 19:17:39 +0000 (19:17 +0000)]
convert GetNodeNetworks to GetInterfaces and nodenetwork_ids to interface_ids

15 years agoonly use spaces... doh.
Stephen Soltesz [Fri, 1 May 2009 18:58:31 +0000 (18:58 +0000)]
only use spaces... doh.

15 years agodifferentiate between safeboot, failboot and reinstall based on content of bm.log
Stephen Soltesz [Fri, 1 May 2009 18:53:51 +0000 (18:53 +0000)]
differentiate between safeboot, failboot and reinstall based on content of bm.log