10 years agoadded a variety of updates to templates, to reference each other.
Stephen Soltesz [Sat, 6 Dec 2008 01:36:21 +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.

10 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]
added extlink icon for links that point to either PLCwww or Zabbix web pages.

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

10 years agoadded action list, for any current acknowledged problems, as well as un-acknowledged...
Stephen Soltesz [Thu, 4 Dec 2008 23:29:00 +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.

10 years agofixed the httpd conf issue with redirecting to /monitor/
Stephen Soltesz [Thu, 4 Dec 2008 22:21:20 +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.

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

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

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

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

10 years agoadd sorting tables to the pcu view.
Stephen Soltesz [Wed, 3 Dec 2008 01:09:32 +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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

10 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]
the external boot script for guessing the boot state of a node from the
outside.

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

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

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

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

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

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

10 years agosetup both monitor and zabbix databases in /etc/plc.d/monitor
Stephen Soltesz [Thu, 20 Nov 2008 21:58:02 +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.

10 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]
use the old 1.6 version that enables escalations.  waiting for 1.6.2

10 years agoaremoved hard coded values to MONITOR_SCRIPT_ROOT.
Stephen Soltesz [Thu, 20 Nov 2008 20:16:06 +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

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

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

10 years ago* add code to import xml templates using curl.
Stephen Soltesz [Thu, 20 Nov 2008 00:49:04 +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.

10 years agocontains default templates for plc host and plc server.
Stephen Soltesz [Wed, 19 Nov 2008 21:12:29 +0000]
contains default templates for plc host and plc server.
add other templates to this directory and they will be loaded at plc start
time.

10 years agoagain
Thierry Parmentelat [Wed, 19 Nov 2008 07:51:06 +0000]
again

10 years agofix build
Thierry Parmentelat [Wed, 19 Nov 2008 07:13:53 +0000]
fix build

10 years agotranslate php defines file into python
Stephen Soltesz [Wed, 19 Nov 2008 01:24:40 +0000]
translate php defines file into python

10 years agogeneral improvements
Stephen Soltesz [Wed, 19 Nov 2008 01:24:00 +0000]
general improvements

10 years agoadd default /etc/monitor.conf to monitor-server.init
Stephen Soltesz [Tue, 18 Nov 2008 22:05:20 +0000]
add default /etc/monitor.conf to monitor-server.init

10 years agofixes to the monitor-server.init to update the password if any of serveral
Stephen Soltesz [Mon, 17 Nov 2008 22:55:52 +0000]
fixes to the monitor-server.init to update the password if any of serveral
actions occur.
added zabbix as dependency of monitor-server.
fixed bug in zabbix.spec to uncommend DBPassword field in zabbix_server.conf

10 years agoAdded infovacuum model
Stephen Soltesz [Sat, 15 Nov 2008 01:10:34 +0000]
Added infovacuum model
Modified monitor-default.conf with new values for zabbix
Modified dborm to allow for multiple DB sessions

10 years ago(no commit message)
Stephen Soltesz [Fri, 14 Nov 2008 23:46:50 +0000]

10 years agoIntegrate the zabbix Elixir model into the monitor module.
Stephen Soltesz [Fri, 14 Nov 2008 23:46:18 +0000]
Integrate the zabbix Elixir model into the monitor module.
Added two scripts under zabbix/ for syncing site info from PLCdb to ZABBIXdb
Added these directories to setup.py for the monitor module

10 years agotake ownership of /etc/plc.d/monitor
Stephen Soltesz [Fri, 14 Nov 2008 17:00:21 +0000]
take ownership of /etc/plc.d/monitor

10 years ago(no commit message)
Stephen Soltesz [Thu, 13 Nov 2008 22:15:53 +0000]

10 years agominor updates to both files to fix bugs.
Stephen Soltesz [Thu, 13 Nov 2008 22:09:07 +0000]
minor updates to both files to fix bugs.

10 years agoAdded init scripts for monitor-server and -client.
Stephen Soltesz [Thu, 13 Nov 2008 21:40:23 +0000]
Added init scripts for monitor-server and -client.
added tests directory.
updated zabbix.spec

10 years agoMoved some files around and merged from 1.0 branch:
Stephen Soltesz [Wed, 12 Nov 2008 23:02:56 +0000]
Moved some files around and merged from 1.0 branch:
    svn merge -r 10858:11011 https://svn.planet-lab.org/svn/Monitor/branches/1.0/ [to trunk]

10 years agoautomate scripts
Stephen Soltesz [Wed, 12 Nov 2008 21:52:34 +0000]
automate scripts

10 years agomerged into Monitor.spec
Stephen Soltesz [Wed, 12 Nov 2008 21:06:26 +0000]
merged into Monitor.spec

10 years agoadded missing bits for server
Stephen Soltesz [Wed, 12 Nov 2008 21:02:02 +0000]
added missing bits for server

10 years agounified spec file for monitor-client and monitor-server
Stephen Soltesz [Wed, 12 Nov 2008 20:53:32 +0000]
unified spec file for monitor-client and monitor-server

10 years ago(no commit message)
Stephen Soltesz [Wed, 12 Nov 2008 20:34:39 +0000]

10 years agoadd setup files for the monitor module
Stephen Soltesz [Wed, 12 Nov 2008 20:33:31 +0000]
add setup files for the monitor module

10 years ago(no commit message)
Stephen Soltesz [Wed, 12 Nov 2008 20:33:07 +0000]

10 years agoi'm not sure what this is.
Stephen Soltesz [Wed, 12 Nov 2008 19:17:24 +0000]
i'm not sure what this is.

10 years agouse plccache, instead of directly loading pkl files
Stephen Soltesz [Wed, 12 Nov 2008 00:31:22 +0000]
use plccache, instead of directly loading pkl files
dumpact.py
pcuinfo.py
findbad.py
showlatlon.py
nodebad.py
pcubad.py
dumpdiag.py
findbadpcu.py
nodeinfo.py
sitebad.py
monitor_policy.py

operate on new database model
nodequery.py
clean_policy.py
nodecommon.py  - updated key names in fields
bootman.py
nodeinfo.py
siteinfo.py
nodegroups.py
nodeconfig.py

Use latest monitor module
getconf.py
grouprins.py

todo

10 years agospec file to build zabbix packages.
Stephen Soltesz [Tue, 11 Nov 2008 23:27:46 +0000]
spec file to build zabbix packages.
Makefile to fetch package and test rpm build...

11 years agomoving syncplcdb into the monitor python module dir.
Stephen Soltesz [Thu, 16 Oct 2008 20:35:54 +0000]
moving syncplcdb into the monitor python module dir.

11 years agomerge from:
Stephen Soltesz [Thu, 16 Oct 2008 20:26:08 +0000]
merge from:
svn merge -r 10598:10858 https://svn.planet-lab.org/svn/Monitor/branches/1.0/ [into trunk]

Also removing unused files.
Added cached PLC object wrapper to automatically cache all calls to the Get*
api calls.  I'll be transforming syncplcdb.py in this cache entry point.

11 years agomass commit. updates for the new db schema in findbad, findbadpcu, nodequery,
Stephen Soltesz [Mon, 13 Oct 2008 18:05:07 +0000]
mass commit.  updates for the new db schema in findbad, findbadpcu, nodequery,
and friends.  several files moved into python module dir.

11 years ago(no commit message)
Stephen Soltesz [Fri, 10 Oct 2008 19:17:30 +0000]

11 years agoclean up
Stephen Soltesz [Fri, 10 Oct 2008 19:09:33 +0000]
clean up

11 years agojust whole-sale copy the monitor module into python site-arch.
Stephen Soltesz [Fri, 10 Oct 2008 15:46:44 +0000]
just whole-sale copy the monitor module into python site-arch.
find a better way later.

11 years agouse new monitor.database for data model import
Stephen Soltesz [Thu, 9 Oct 2008 21:13:14 +0000]
use new monitor.database for data model import
move config.py into monitor python module.

11 years agoavoid name conflict with global module
Stephen Soltesz [Thu, 9 Oct 2008 21:01:59 +0000]
avoid name conflict with global module

11 years agosplitting database fxn
Stephen Soltesz [Thu, 9 Oct 2008 21:01:24 +0000]
splitting database fxn

11 years agojust commit everything...
Stephen Soltesz [Thu, 9 Oct 2008 20:58:59 +0000]
just commit everything...

11 years agodeleting util from this location
Stephen Soltesz [Thu, 9 Oct 2008 20:58:41 +0000]
deleting util from this location

11 years agoremoving from top level dir. in favor of monitor/ module dir.
Stephen Soltesz [Thu, 9 Oct 2008 20:58:26 +0000]
removing from top level dir. in favor of monitor/ module dir.

11 years agoMoved util dir from root to the 'monitor' python module directory.
Stephen Soltesz [Thu, 9 Oct 2008 20:56:32 +0000]
Moved util dir from root to the 'monitor' python module directory.
I'm trying to create a unified python module there.

11 years agonew repository root
Stephen Soltesz [Thu, 25 Sep 2008 16:18:55 +0000]
new repository root

11 years agotest
Stephen Soltesz [Thu, 25 Sep 2008 16:14:04 +0000]
test

11 years agobring into trunk
Stephen Soltesz [Wed, 24 Sep 2008 19:31:59 +0000]
bring into trunk

11 years agoremove monitorconfig.py on trunk also.
Stephen Soltesz [Wed, 24 Sep 2008 19:28:51 +0000]
remove monitorconfig.py on trunk also.

11 years ago(no commit message)
Stephen Soltesz [Wed, 24 Sep 2008 16:04:35 +0000]

11 years agoBranch 1.1 for module Monitor created from tag Monitor-1.0-8
Stephen Soltesz [Wed, 24 Sep 2008 15:49:26 +0000]
Branch 1.1 for module Monitor created from tag Monitor-1.0-8

11 years agoTagging module Monitor - Monitor-1.0-8
Stephen Soltesz [Wed, 24 Sep 2008 15:48:06 +0000]
Tagging module Monitor - Monitor-1.0-8

These are all changes in the latest Monitor code.  I will branch this version
next, before making additional large changes.

11 years agoM emailTxt.py
Stephen Soltesz [Tue, 23 Sep 2008 19:53:34 +0000]
M    emailTxt.py
updated description of error message from CoMon since it has changed.
M    showlatlon.py
updated hardware spec thresholds to include more machines.
M    clean_policy.py
stricter activation of the 'action-levels' that each event triggers.
Previously things were out of sorts.
M    unified_model.py
works with the 'action-level' changes above.
M    nodesets.py
M    grouprins.py
add a site option
M    nodecommon.py
add missing module
M    bootman.py
M    rtinfo.py
M    todo

11 years agoadds last_contact column
Stephen Soltesz [Tue, 23 Sep 2008 19:49:03 +0000]
adds last_contact column

11 years agoTagging module Monitor - Monitor-1.0-7
Thierry Parmentelat [Mon, 1 Sep 2008 12:54:52 +0000]
Tagging module Monitor - Monitor-1.0-7
Checkpointing current version for 4.2-rc21 - many many changes

11 years agoupdate of all changes in the last week that fine-tuned the behavior of Monitor
Stephen Soltesz [Tue, 26 Aug 2008 02:02:06 +0000]
update of all changes in the last week that fine-tuned the behavior of Monitor
with the new clean_policy and unified_model.

11 years ago(no commit message)
Stephen Soltesz [Fri, 15 Aug 2008 22:37:53 +0000]

11 years agorequire nmap, and add a place holder for the monitorconfig.php file generated
Stephen Soltesz [Fri, 15 Aug 2008 22:36:56 +0000]
require nmap, and add a place holder for the monitorconfig.php file generated
after monitor.conf is filled in.

11 years agowww/database.php
Stephen Soltesz [Fri, 15 Aug 2008 22:07:49 +0000]
www/database.php
add hack to conver monitor.conf into monitorconfig.php
findbad.py
use new util.file rather than old config.*
nodebad.py
added --site argument
testapi.py
accept site from cmd line.
nodecommon.py
added get_nodeset to consolidate the code for getting a set of nodes from
cmd line.
findbadpcu.py
added --site argument
database.py
use package's version of PHPUnserialize and PHPSerialize.
monitor-default.conf
filled in usual default values.
phpconfig.py
load monitor.conf not old monitorconfig.py
todo

11 years agouse config module rather than monitorconfig.py
Stephen Soltesz [Fri, 15 Aug 2008 21:07:45 +0000]
use config module rather than monitorconfig.py

11 years agofixes
Stephen Soltesz [Fri, 15 Aug 2008 21:07:23 +0000]
fixes

11 years agolousy brute force install of python package.
Stephen Soltesz [Fri, 15 Aug 2008 19:57:40 +0000]
lousy brute force install of python package.

11 years ago(no commit message)
Stephen Soltesz [Fri, 15 Aug 2008 19:57:08 +0000]

11 years agoadd files to repository.
Stephen Soltesz [Fri, 15 Aug 2008 19:56:42 +0000]
add files to repository.

11 years agowww/printbadnodes.py
Stephen Soltesz [Fri, 15 Aug 2008 19:13:35 +0000]
www/printbadnodes.py
www/runlevels.py
use the new site-package module to pull in configuration information and
locate database files.

config.py
uses ConfigParser now.

nodequery.py
doesn't unconfitionally load findbad db.  sets up fbpcus for reboot module
printbadcsv.py
pull from monitor module for database and configuration
findbad.py
change default db name, and perform node_selects correctly with fb
fetch.py
debug statements to track parser.py error.
mailmonitor.py
simplify content.

nodebad.py
remove unnecessary db loads, and import from 'const' module.
parser.py
set nodeselect default to None rather than 'False'.
expected changes to parse_args() based on new config.py
pcubad.py
import constants from correct module
clean_policy.py
don't import from www modules
don't import from policy module
unified_model.py
remove unconditional db load
add two definitions from nodecommon and model.py
grouprins.py
use normal config.py
fix pcu identification logic.  really need to have a better fix for this.
monitor-server.spec
add requirements, the monitor python module,
nodecommon.py
moved node_end_record to unified_model.py
bootman.py
load from 'const.py'
additional boot sequence ids.
policy.py
removed various functions for clean policy.
findbadpcu.py
update use of parser module
nodeinfo.py
remove unconditional loads
add node.last_changed output
database.py
conflate config and monitorconfig
reboot.py
remove unconditional load
monitor_policy.py
add funcs from policy.py

11 years agothirdparty package for creating threadpools.
Stephen Soltesz [Thu, 14 Aug 2008 21:12:59 +0000]
thirdparty package for creating threadpools.

11 years agorename to default value.
Stephen Soltesz [Thu, 14 Aug 2008 20:44:06 +0000]
rename to default value.

11 years agodefault config file
Stephen Soltesz [Thu, 14 Aug 2008 20:43:28 +0000]
default config file