monitor.git
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.

14 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.

14 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.

14 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

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

14 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

15 years agoTagging module Monitor - Monitor-3.0-3
Stephen Soltesz [Tue, 28 Apr 2009 20:48:21 +0000 (20:48 +0000)]
Tagging module Monitor - Monitor-3.0-3
same as 2.0-12 tag.

15 years agomerge from 2.0
Stephen Soltesz [Tue, 28 Apr 2009 20:42:28 +0000 (20:42 +0000)]
merge from 2.0

15 years agomerge from 2.0 branch
Stephen Soltesz [Tue, 28 Apr 2009 20:31:07 +0000 (20:31 +0000)]
merge from 2.0 branch

15 years agoTagging module Monitor - Monitor-3.0-2
Stephen Soltesz [Mon, 27 Apr 2009 21:38:40 +0000 (21:38 +0000)]
Tagging module Monitor - Monitor-3.0-2
merge from 2.0, remove more zabbix code, simplify install, etc.

15 years agopull in additional changes from 2.0 branch.
Stephen Soltesz [Mon, 27 Apr 2009 21:31:50 +0000 (21:31 +0000)]
pull in additional changes from 2.0 branch.
svn merge -r 13116:13242 https://svn.planet-lab.org/svn/Monitor/branches/2.0/

15 years agoTagging module Monitor - Monitor-3.0-1
Stephen Soltesz [Thu, 16 Apr 2009 22:56:20 +0000 (22:56 +0000)]
Tagging module Monitor - Monitor-3.0-1
major merge from 2.0 branch.
ready to be updated with 4.3 and web changes.

15 years agomerge from 2.0 branch
Stephen Soltesz [Thu, 16 Apr 2009 22:55:29 +0000 (22:55 +0000)]
merge from 2.0 branch
$ svn merge -r 13112:13116 https://svn.planet-lab.org/svn/Monitor/branches/2.0/

15 years agosvn merge -r 12308:13112 https://svn.planet-lab.org/svn/Monitor/branches/2.0/
Stephen Soltesz [Thu, 16 Apr 2009 19:17:37 +0000 (19:17 +0000)]
svn merge -r 12308:13112 https://svn.planet-lab.org/svn/Monitor/branches/2.0/

copying all monitor2 changes back into trunk to begin
updates for 4.3 and updates to sortable columns.

15 years agocorrect import.
Stephen Soltesz [Thu, 16 Apr 2009 19:09:59 +0000 (19:09 +0000)]
correct import.

15 years agobetter email message
Stephen Soltesz [Thu, 16 Apr 2009 19:08:57 +0000 (19:08 +0000)]
better email message

15 years agoadd to repository. I thought it was already there.
Stephen Soltesz [Sat, 28 Feb 2009 00:20:43 +0000 (00:20 +0000)]
add to repository.  I thought it was already there.

15 years agoBranch 3.0 for module Monitor created (as new trunk) from tag Monitor-2.0-1
Stephen Soltesz [Fri, 27 Feb 2009 23:23:27 +0000 (23:23 +0000)]
Branch 3.0 for module Monitor created (as new trunk) from tag Monitor-2.0-1

15 years agoTagging module Monitor - Monitor-2.0-1
Stephen Soltesz [Fri, 27 Feb 2009 23:20:14 +0000 (23:20 +0000)]
Tagging module Monitor - Monitor-2.0-1
preparing to make a 2.0 branch for monitor.

15 years agomerge from improvements on the 1.0 branch:
Stephen Soltesz [Fri, 27 Feb 2009 23:18:17 +0000 (23:18 +0000)]
merge from improvements on the 1.0 branch:
  svn merge -r 11011:12303 https://svn.planet-lab.org/svn/Monitor/branches/1.0/

15 years agoremoved print statements
Stephen Soltesz [Fri, 27 Feb 2009 23:07:00 +0000 (23:07 +0000)]
removed print statements
moved default port for webmon

15 years agoonly report one for now.
Stephen Soltesz [Wed, 18 Feb 2009 23:07:50 +0000 (23:07 +0000)]
only report one for now.

15 years agoget redirection to really work.
Stephen Soltesz [Wed, 18 Feb 2009 23:07:11 +0000 (23:07 +0000)]
get redirection to really work.
converted to spaces
added different runlevels for cmdline-specified environment

15 years agoadded stop
Stephen Soltesz [Wed, 18 Feb 2009 22:06:35 +0000 (22:06 +0000)]
added stop
allow running from pwd (BM) or /usr/bin/ (production)

15 years agoadd correct runlevel actions to monitor-runlevelagent.ini
Stephen Soltesz [Wed, 18 Feb 2009 19:54:21 +0000 (19:54 +0000)]
add correct runlevel actions to monitor-runlevelagent.ini
minor updates to rla.py

15 years agoaccount for all files.
Stephen Soltesz [Wed, 18 Feb 2009 18:49:32 +0000 (18:49 +0000)]
account for all files.

15 years ago(no commit message)
Stephen Soltesz [Wed, 18 Feb 2009 18:45:44 +0000 (18:45 +0000)]

15 years agowrong name.
Stephen Soltesz [Wed, 18 Feb 2009 18:45:36 +0000 (18:45 +0000)]
wrong name.

15 years agoadd a new rpm package for monitor-runlevelagent that packages RunlevelAgent.py
Stephen Soltesz [Wed, 18 Feb 2009 18:39:52 +0000 (18:39 +0000)]
add a new rpm package for monitor-runlevelagent that packages RunlevelAgent.py
in the root context, and with which the bootmanager build script can pull in
the script to run at boot time.

15 years agoeasily run findbad, fbpcu and sitebad for web. all at once.
Stephen Soltesz [Thu, 12 Feb 2009 21:20:51 +0000 (21:20 +0000)]
easily run findbad, fbpcu and sitebad for web. all at once.

15 years agoadded sitelist option for find* scripts.
Stephen Soltesz [Thu, 12 Feb 2009 21:19:36 +0000 (21:19 +0000)]
added sitelist option for find* scripts.
clarified email message in emailZabbix.

15 years agofixed the environment. not sure how that got mixed up.
Stephen Soltesz [Thu, 12 Feb 2009 21:16:13 +0000 (21:16 +0000)]
fixed the environment.  not sure how that got mixed up.

15 years agoapply the correct indentation level. doh.
Stephen Soltesz [Thu, 12 Feb 2009 21:15:19 +0000 (21:15 +0000)]
apply the correct indentation level.  doh.

15 years agostop the tg web server before restarting it.
Stephen Soltesz [Thu, 12 Feb 2009 21:14:56 +0000 (21:14 +0000)]
stop the tg web server before restarting it.

15 years agolookup path relative to python installation.
Stephen Soltesz [Thu, 12 Feb 2009 21:14:34 +0000 (21:14 +0000)]
lookup path relative to python installation.

15 years agotrying to fix build failure.
Stephen Soltesz [Wed, 21 Jan 2009 16:27:05 +0000 (16:27 +0000)]
trying to fix build failure.

15 years agoupdate to latest stable version of zabbix. 1.6.2
Stephen Soltesz [Tue, 20 Jan 2009 22:08:10 +0000 (22:08 +0000)]
update to latest stable version of zabbix. 1.6.2

15 years agotesting delays and email notice tweaks.
Stephen Soltesz [Tue, 20 Jan 2009 18:45:53 +0000 (18:45 +0000)]
testing delays and email notice tweaks.

15 years agoadd getNodeAPI()
Stephen Soltesz [Mon, 19 Jan 2009 17:42:49 +0000 (17:42 +0000)]
add getNodeAPI()

15 years agoallow the ssh-version of the drac command to function correctly with drac5 and
Stephen Soltesz [Thu, 15 Jan 2009 19:45:41 +0000 (19:45 +0000)]
allow the ssh-version of the drac command to function correctly with drac5 and
the included pexpect scripts.

15 years agoupdated module import statements. not sure how I missed these before.
Stephen Soltesz [Tue, 13 Jan 2009 17:41:26 +0000 (17:41 +0000)]
updated module import statements.  not sure how I missed these before.

15 years ago(no commit message)
Stephen Soltesz [Mon, 12 Jan 2009 20:32:51 +0000 (20:32 +0000)]

15 years agoimprovements.
Stephen Soltesz [Mon, 12 Jan 2009 20:31:54 +0000 (20:31 +0000)]
improvements.
added site delete to zabbixsync
added confirm_ids to model

15 years agomoved nodecommon.py into monitor module
Stephen Soltesz [Thu, 8 Jan 2009 22:05:36 +0000 (22:05 +0000)]
moved nodecommon.py into monitor module
updated many files that imported nodecommon
added 'node-discovered' message to eamilZabbix
added 'node-discovered' message to zabbixsite.py

15 years agoadded this because I missed it previously.
Stephen Soltesz [Thu, 8 Jan 2009 22:01:34 +0000 (22:01 +0000)]
added this because I missed it previously.

15 years agostart zabbix_agent after installing it... assumes it's in a prod env.
Stephen Soltesz [Thu, 8 Jan 2009 18:05:37 +0000 (18:05 +0000)]
start zabbix_agent after installing it... assumes it's in a prod env.
fixed path in patch for monitor.spec

15 years agoadd an option to drop databases
Stephen Soltesz [Wed, 7 Jan 2009 22:31:04 +0000 (22:31 +0000)]
add an option to drop databases
move a database model import to a function.

15 years agotrimmed-down reboot module, now imports all pcucontrol models at once
Stephen Soltesz [Tue, 6 Jan 2009 19:29:15 +0000 (19:29 +0000)]
trimmed-down reboot module, now imports all pcucontrol models at once

15 years agoPCU Class objects broken out into individual files.
Stephen Soltesz [Tue, 6 Jan 2009 19:22:26 +0000 (19:22 +0000)]
PCU Class objects broken out into individual files.

15 years agoseparate pcucontrol package.
Stephen Soltesz [Mon, 5 Jan 2009 17:43:52 +0000 (17:43 +0000)]
separate pcucontrol package.