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

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.

15 years agoTagging module Monitor - Monitor-2.0-0
Stephen Soltesz [Mon, 5 Jan 2009 17:42:20 +0000 (17:42 +0000)]
Tagging module Monitor - Monitor-2.0-0
new changes are significantly different, that I'm upping the number for clarity.

15 years ago(no commit message)
Stephen Soltesz [Mon, 5 Jan 2009 16:53:45 +0000 (16:53 +0000)]

15 years agoallow auto-login into the zabbix account. this will allow other scripts to
Stephen Soltesz [Tue, 23 Dec 2008 16:28:20 +0000 (16:28 +0000)]
allow auto-login into the zabbix account.  this will allow other scripts to
link directly into the zabbix inteface without requiring users to log into
zabbix.
this will require username be passed, and should be protected behind the
primary server, to prevent unauthorized access to it.

15 years agofixed errors with includes in scanapi
Stephen Soltesz [Mon, 22 Dec 2008 22:10:40 +0000 (22:10 +0000)]
fixed errors with includes in scanapi
fixed arguments in automate-default.sh
allow additional comments for acknowledged issues.

15 years agomodified findbad and findbadpcu to use scanapi. need to combine these files.
Stephen Soltesz [Fri, 19 Dec 2008 22:08:13 +0000 (22:08 +0000)]
modified findbad and findbadpcu to use scanapi. need to combine these files.
controllers.py references scanapi.

15 years agounify the model by which probes are made to collect information about nodes or
Stephen Soltesz [Fri, 19 Dec 2008 21:30:03 +0000 (21:30 +0000)]
unify the model by which probes are made to collect information about nodes or
pcus, or whatever we'd like.

15 years agomodified *list templates with abreviated information
Stephen Soltesz [Thu, 18 Dec 2008 00:57:49 +0000 (00:57 +0000)]
modified *list templates with abreviated information
consolidated *view templates into a single template, pcuview. should rename it.
updated findbad/findbadpcu to update the global round only after data collection is complete.
this solves the 'no information' errors when new scan is started.

15 years agomany improvements.
Stephen Soltesz [Sat, 13 Dec 2008 00:19:20 +0000 (00:19 +0000)]
many improvements.
improved views and links between them.
improved pcuview
added testing functions for rebooting, and probing the node state in real-time.
improved pcucontrol/reboot.py object model.
improved findbad.py ability to update a single record.  more needed here.

15 years agoformat uris from site, node, pcu details
Stephen Soltesz [Thu, 11 Dec 2008 21:16:13 +0000 (21:16 +0000)]
format uris from site, node, pcu details

15 years agoremove directory
Stephen Soltesz [Thu, 11 Dec 2008 21:12:12 +0000 (21:12 +0000)]
remove directory

15 years agoadded a variety of updates to templates, to reference each other.
Stephen Soltesz [Sat, 6 Dec 2008 01:36:21 +0000 (01:36 +0000)]
added a variety of updates to templates, to reference each other.
updates to init script to work better after install.
updated automate fxn, and
monitor-server.cron will run automate & sync from install time.

15 years agoadded extlink icon for links that point to either PLCwww or Zabbix web pages.
Stephen Soltesz [Fri, 5 Dec 2008 00:01:37 +0000 (00:01 +0000)]
added extlink icon for links that point to either PLCwww or Zabbix web pages.

15 years agoadd functions for pcuview, nodeview, & siteview
Stephen Soltesz [Thu, 4 Dec 2008 23:29:42 +0000 (23:29 +0000)]
add functions for pcuview, nodeview, & siteview

15 years agoadded action list, for any current acknowledged problems, as well as un-acknowledged...
Stephen Soltesz [Thu, 4 Dec 2008 23:29:00 +0000 (23:29 +0000)]
added action list, for any current acknowledged problems, as well as un-acknowledged problems.
added and a view page for displaying, site, node, & pcu details
modified sitelist to reference the siteview page.

15 years agofixed the httpd conf issue with redirecting to /monitor/
Stephen Soltesz [Thu, 4 Dec 2008 22:21:20 +0000 (22:21 +0000)]
fixed the httpd conf issue with redirecting to /monitor/
added styles for severity levels on node actions from zabbix
added extra class definitions to zabbixapi/model.py for event queries
added ack'd/non-ack'd action view based on zabbix db.

15 years agoprevious conf.d/monitorweb.conf moved the documentroot and failed to load the
Stephen Soltesz [Wed, 3 Dec 2008 19:26:18 +0000 (19:26 +0000)]
previous conf.d/monitorweb.conf moved the documentroot and failed to load the
standard myplc webpage at /.

15 years agohandle the case where there is no data in db yet.
Stephen Soltesz [Wed, 3 Dec 2008 19:06:59 +0000 (19:06 +0000)]
handle the case where there is no data in db yet.

15 years agoadded httpd/conf.d/monitorweb.conf to /etc/plc.d/monitor.init
Stephen Soltesz [Wed, 3 Dec 2008 19:03:27 +0000 (19:03 +0000)]
added httpd/conf.d/monitorweb.conf  to /etc/plc.d/monitor.init
      and tg server start up.
template improvements otherwise.

15 years agomissed this one.
Stephen Soltesz [Wed, 3 Dec 2008 18:16:18 +0000 (18:16 +0000)]
missed this one.

15 years agoadd sorting tables to the pcu view.
Stephen Soltesz [Wed, 3 Dec 2008 01:09:32 +0000 (01:09 +0000)]
add sorting tables to the pcu view.
add support for ipmi, blackbox, and a ManualPCU class that will send email to
an local admin.
add a --force option to findbadpcu.py, still need a solution for the global
increment.
added siteid2loginbase mapping to plccache for displaying loginbase in web.

15 years agoignore files
Stephen Soltesz [Tue, 2 Dec 2008 19:34:40 +0000 (19:34 +0000)]
ignore files

15 years agoignore *.pyc
Stephen Soltesz [Tue, 2 Dec 2008 19:33:10 +0000 (19:33 +0000)]
ignore *.pyc

15 years agofor module
Stephen Soltesz [Tue, 2 Dec 2008 19:32:00 +0000 (19:32 +0000)]
for module

15 years agobasic display of nodes, pcus, and sites.
Stephen Soltesz [Tue, 2 Dec 2008 19:31:20 +0000 (19:31 +0000)]
basic display of nodes, pcus, and sites.
updates to various files needed to enable this.

15 years agoadded convenience functions and supported_ports class value to PCU objects
Stephen Soltesz [Mon, 1 Dec 2008 21:59:45 +0000 (21:59 +0000)]
added convenience functions and supported_ports class value to PCU objects
fixed import bug in findbadpcu.py

15 years agosupports basic listing of pcus, nodes, and some coloring from the old scripts.
Stephen Soltesz [Mon, 1 Dec 2008 21:58:16 +0000 (21:58 +0000)]
supports basic listing of pcus, nodes, and some coloring from the old scripts.

15 years agoEntry point for rpc server, view templates, rss feeds of node down times,
Stephen Soltesz [Tue, 25 Nov 2008 23:54:57 +0000 (23:54 +0000)]
Entry point for rpc server, view templates, rss feeds of node down times,
and other nice things.

15 years agofixed runtime errors with moved files in model, and reboot
Stephen Soltesz [Tue, 25 Nov 2008 23:33:21 +0000 (23:33 +0000)]
fixed runtime errors with moved files in model, and reboot

15 years agomove clean_policy.py into monitor package
Stephen Soltesz [Tue, 25 Nov 2008 23:17:54 +0000 (23:17 +0000)]
move clean_policy.py into monitor package
move unified_model.py into monitor package
updated all files that import these modules

15 years agopcucontrol owned in %files section
Stephen Soltesz [Tue, 25 Nov 2008 22:48:14 +0000 (22:48 +0000)]
pcucontrol owned in %files section

15 years agorsync is crazy
Stephen Soltesz [Tue, 25 Nov 2008 22:46:07 +0000 (22:46 +0000)]
rsync is crazy

15 years agocd to new dir for amt/remoteControl build.
Stephen Soltesz [Tue, 25 Nov 2008 22:43:54 +0000 (22:43 +0000)]
cd to new dir for amt/remoteControl build.

15 years agoremove several files.
Stephen Soltesz [Tue, 25 Nov 2008 22:40:39 +0000 (22:40 +0000)]
remove several files.
add pcucontrol to setup.py
updated Monitor.spec with pcucontrol

15 years agomoving pcu transport code
Stephen Soltesz [Tue, 25 Nov 2008 21:21:31 +0000 (21:21 +0000)]
moving pcu transport code

15 years agomove files and directories into pcucontrol module
Stephen Soltesz [Tue, 25 Nov 2008 21:19:45 +0000 (21:19 +0000)]
move files and directories into pcucontrol module

15 years agore-arranging files for pcu control
Stephen Soltesz [Tue, 25 Nov 2008 21:15:53 +0000 (21:15 +0000)]
re-arranging files for pcu control

15 years agothe external boot script for guessing the boot state of a node from the
Stephen Soltesz [Mon, 24 Nov 2008 21:47:53 +0000 (21:47 +0000)]
the external boot script for guessing the boot state of a node from the
outside.

15 years agorun external checks on hosts to determine their boot state.
Stephen Soltesz [Mon, 24 Nov 2008 21:46:51 +0000 (21:46 +0000)]
run external checks on hosts to determine their boot state.

15 years agocompleted updates to the info model.
Stephen Soltesz [Sat, 22 Nov 2008 00:43:36 +0000 (00:43 +0000)]
completed updates to the info model.
various files updated with new paths and import strings.

15 years agomoving infovacuum to info for brevity.
Stephen Soltesz [Fri, 21 Nov 2008 18:09:32 +0000 (18:09 +0000)]
moving infovacuum to info for brevity.

15 years agorename files to make them shorter. elixir has module-name, length limits.
Stephen Soltesz [Fri, 21 Nov 2008 18:08:25 +0000 (18:08 +0000)]
rename files to make them shorter.  elixir has module-name, length limits.

15 years agoagain
Thierry Parmentelat [Fri, 21 Nov 2008 09:22:37 +0000 (09:22 +0000)]
again

15 years agofix build
Thierry Parmentelat [Fri, 21 Nov 2008 06:31:43 +0000 (06:31 +0000)]
fix build

15 years agosetup both monitor and zabbix databases in /etc/plc.d/monitor
Stephen Soltesz [Thu, 20 Nov 2008 21:58:02 +0000 (21:58 +0000)]
setup both monitor and zabbix databases in /etc/plc.d/monitor
tweak the infovacuum model to work with the new db.  still much to do there.

15 years agouse the old 1.6 version that enables escalations. waiting for 1.6.2
Stephen Soltesz [Thu, 20 Nov 2008 20:34:14 +0000 (20:34 +0000)]
use the old 1.6 version that enables escalations.  waiting for 1.6.2

15 years agoaremoved hard coded values to MONITOR_SCRIPT_ROOT.
Stephen Soltesz [Thu, 20 Nov 2008 20:16:06 +0000 (20:16 +0000)]
aremoved hard coded values to MONITOR_SCRIPT_ROOT.
added cacheset to parser to allow for plccache refreshing.
removed ' from emailZabbix.py due to runtime errors with zabbix_server

15 years agoa template-template to be filled in with the values of the current
Stephen Soltesz [Thu, 20 Nov 2008 17:16:50 +0000 (17:16 +0000)]
a template-template to be filled in with the values of the current
monitor-zabbix server

15 years agomissed a spot.
Stephen Soltesz [Thu, 20 Nov 2008 00:50:15 +0000 (00:50 +0000)]
missed a spot.

15 years ago* add code to import xml templates using curl.
Stephen Soltesz [Thu, 20 Nov 2008 00:49:04 +0000 (00:49 +0000)]
* add code to import xml templates using curl.
* do not attempt to create a host() object in zabbixsite.setup_global, preferring the import mechanism instead.
* leave the template code in zabbixapi/model.py to help with deleting hosts eventually.