monitor.git
15 years agotweaks
Stephen Soltesz [Tue, 12 Aug 2008 19:59:30 +0000 (19:59 +0000)]
tweaks

15 years agoadded a new type of disk error pattern.
Stephen Soltesz [Tue, 12 Aug 2008 19:59:10 +0000 (19:59 +0000)]
added a new type of disk error pattern.

15 years agospecifies a different tmpdir for g++ to use; and completes build.
Stephen Soltesz [Tue, 12 Aug 2008 19:57:58 +0000 (19:57 +0000)]
specifies a different tmpdir for g++ to use; and completes build.

15 years agoTry to build the AMT command. I expect the /tmp fs to be too small.
Stephen Soltesz [Tue, 12 Aug 2008 19:38:23 +0000 (19:38 +0000)]
Try to build the AMT command. I expect the /tmp fs to be too small.

15 years agono need to do this during make
Stephen Soltesz [Tue, 12 Aug 2008 19:24:18 +0000 (19:24 +0000)]
no need to do this during make

15 years agoabsolute version of RT for reference.
Stephen Soltesz [Mon, 11 Aug 2008 21:30:26 +0000 (21:30 +0000)]
absolute version of RT for reference.

15 years agodoes not belong in svn any more
Stephen Soltesz [Mon, 11 Aug 2008 21:24:30 +0000 (21:24 +0000)]
does not belong in svn any more

15 years agodoesn't belong in svn any more.
Stephen Soltesz [Mon, 11 Aug 2008 21:21:45 +0000 (21:21 +0000)]
doesn't belong in svn any more.

15 years agodefault automation script for running Monitor
Stephen Soltesz [Mon, 11 Aug 2008 21:21:15 +0000 (21:21 +0000)]
default automation script for running Monitor

15 years agoTagging module Monitor - Monitor-1.0-6
Stephen Soltesz [Mon, 11 Aug 2008 19:21:40 +0000 (19:21 +0000)]
Tagging module Monitor - Monitor-1.0-6
This is a major tag of every thing.  probably needs a very different release
number.

15 years agofix problem with spec file error. didn't reference an installed file in
Stephen Soltesz [Mon, 11 Aug 2008 15:44:06 +0000 (15:44 +0000)]
fix problem with spec file error.  didn't reference an installed file in
%files section.

15 years agoupdates to monitor-server.spec and notes in 'todo' based on first attempt to
Stephen Soltesz [Fri, 8 Aug 2008 22:37:35 +0000 (22:37 +0000)]
updates to monitor-server.spec and notes in 'todo' based on first attempt to
install and run this package within a myplc.

15 years agocreate a php config file from the python config file monitorconfig.py
Stephen Soltesz [Fri, 8 Aug 2008 19:28:54 +0000 (19:28 +0000)]
create a php config file from the python config file monitorconfig.py

15 years agoupdate spec file; I will test it within a myplc
Stephen Soltesz [Fri, 8 Aug 2008 19:28:12 +0000 (19:28 +0000)]
update spec file; I will test it within a myplc

15 years agosimple script to verify basic sanity of the api before proceeding with the
Stephen Soltesz [Fri, 8 Aug 2008 18:04:18 +0000 (18:04 +0000)]
simple script to verify basic sanity of the api before proceeding with the
collection of node information

15 years agoThe parser module, derived from config.py
Stephen Soltesz [Fri, 8 Aug 2008 18:03:39 +0000 (18:03 +0000)]
The parser module, derived from config.py

15 years agoignore pyc
Stephen Soltesz [Fri, 8 Aug 2008 18:02:48 +0000 (18:02 +0000)]
ignore pyc

15 years agofile operations for reading and writing lists of nodes/sites/pcus, etc.
Stephen Soltesz [Fri, 8 Aug 2008 18:02:12 +0000 (18:02 +0000)]
file operations for reading and writing lists of nodes/sites/pcus, etc.

15 years agosplit config.py and parser.py into two modules. updated all files to use the
Stephen Soltesz [Fri, 8 Aug 2008 18:01:33 +0000 (18:01 +0000)]
split config.py and parser.py into two modules.  updated all files to use the
parser module for option parsing and config for the resulting values.

one extra variable added to monitorconfig-default.py

15 years agoshow days up to 14, display time up or down in nodegroup_dislplay
Stephen Soltesz [Mon, 4 Aug 2008 21:56:36 +0000 (21:56 +0000)]
show days up to 14, display time up or down in nodegroup_dislplay

15 years agouse new monitorconfig.py format
Stephen Soltesz [Mon, 4 Aug 2008 21:53:47 +0000 (21:53 +0000)]
use new monitorconfig.py format

15 years agono explicit auth structures in python to enable easier parsing by bash and php
Stephen Soltesz [Mon, 4 Aug 2008 21:53:26 +0000 (21:53 +0000)]
no explicit auth structures in python to enable easier parsing by bash and php

15 years agoadd paths based on monitorconfig values
Stephen Soltesz [Mon, 4 Aug 2008 21:42:51 +0000 (21:42 +0000)]
add paths based on monitorconfig values

15 years agouse new name of data access module.
Stephen Soltesz [Mon, 4 Aug 2008 16:45:41 +0000 (16:45 +0000)]
use new name of data access module.

15 years agotake out of repository.
Stephen Soltesz [Mon, 4 Aug 2008 16:44:53 +0000 (16:44 +0000)]
take out of repository.

15 years agorenamed php version of data access module
Stephen Soltesz [Mon, 4 Aug 2008 16:43:23 +0000 (16:43 +0000)]
renamed php version of data access module

15 years agoignore line update.
Stephen Soltesz [Mon, 4 Aug 2008 16:22:09 +0000 (16:22 +0000)]
ignore line update.

15 years agoChanged 'import auth' statements to use plc.py or monitorconfig.py
Stephen Soltesz [Mon, 4 Aug 2008 16:18:20 +0000 (16:18 +0000)]
Changed 'import auth' statements to use plc.py or monitorconfig.py

15 years agoAdded a check for bad dns on the node that prevents bootmanager from booting.
Stephen Soltesz [Mon, 4 Aug 2008 15:32:45 +0000 (15:32 +0000)]
Added a check for bad dns on the node that prevents bootmanager from booting.

added a findbad.py check after running grouprins in automate_pl03.sh

additional todos.

15 years agowrong path on install
Stephen Soltesz [Fri, 1 Aug 2008 22:09:25 +0000 (22:09 +0000)]
wrong path on install

15 years agohandle monitorconfig.py correctly
Stephen Soltesz [Fri, 1 Aug 2008 22:08:06 +0000 (22:08 +0000)]
handle monitorconfig.py correctly

15 years agolatest addition of /var/lib/ for current and archived data files
Stephen Soltesz [Fri, 1 Aug 2008 22:03:31 +0000 (22:03 +0000)]
latest addition of /var/lib/ for current and archived data files

15 years agoThis commit changes the 'soltesz.py' module into 'moncommands.py' and
Stephen Soltesz [Fri, 1 Aug 2008 20:48:32 +0000 (20:48 +0000)]
This commit changes the 'soltesz.py' module into 'moncommands.py' and
'database.py'

Also, findbad*.py include a timeout that should allow them to exit even if the
'futex' bug gets hung somewhere.

Also, the mailer, rt, and others are updated to use monitorconfig.py as the
source of their username and password information rather than random files
here and there.  This also allows us to keep this information out of svn.

15 years agorenamed from 'soltesz' to reflect it's function and content. Should be able
Stephen Soltesz [Fri, 1 Aug 2008 20:37:43 +0000 (20:37 +0000)]
renamed from 'soltesz' to reflect it's function and content.  Should be able
to hide the re-implementation of some of the backend ultimately.

15 years agogone.
Stephen Soltesz [Fri, 1 Aug 2008 20:36:50 +0000 (20:36 +0000)]
gone.

15 years agoso avoid getting this messed up with my local copy all the time.
Stephen Soltesz [Fri, 1 Aug 2008 20:36:28 +0000 (20:36 +0000)]
so avoid getting this messed up with my local copy all the time.

15 years agoallow reference to the data dir and the install path.
Stephen Soltesz [Fri, 1 Aug 2008 20:34:56 +0000 (20:34 +0000)]
allow reference to the data dir and the install path.

15 years agothe propername for this file
Stephen Soltesz [Fri, 1 Aug 2008 20:31:52 +0000 (20:31 +0000)]
the propername for this file

15 years agoadding to maintain history from 'soltesz.py' but it's a bad name choice.
Stephen Soltesz [Fri, 1 Aug 2008 20:30:23 +0000 (20:30 +0000)]
adding to maintain history from 'soltesz.py' but it's a bad name choice.

15 years agolatest todo items
Stephen Soltesz [Fri, 1 Aug 2008 17:56:01 +0000 (17:56 +0000)]
latest todo items

15 years agoignore fields
Stephen Soltesz [Fri, 1 Aug 2008 17:55:25 +0000 (17:55 +0000)]
ignore fields

15 years agoa unified configuration file for monitor scripts.
Stephen Soltesz [Fri, 1 Aug 2008 17:36:10 +0000 (17:36 +0000)]
a unified configuration file for monitor scripts.
all usernames and passwords should go here

15 years agoRemove binary files.
Stephen Soltesz [Thu, 31 Jul 2008 20:56:25 +0000 (20:56 +0000)]
Remove binary files.

15 years agoInitial import of Rpyc library. License is public domain, so it's no problem.
Stephen Soltesz [Thu, 31 Jul 2008 20:56:01 +0000 (20:56 +0000)]
Initial import of Rpyc library.  License is public domain, so it's no problem.

15 years ago(no commit message)
Stephen Soltesz [Thu, 31 Jul 2008 20:54:47 +0000 (20:54 +0000)]

15 years agomajor steps to complete for the packaging of monitor-server
Stephen Soltesz [Thu, 31 Jul 2008 20:48:50 +0000 (20:48 +0000)]
major steps to complete for the packaging of monitor-server

15 years agoAdded additional statements to the svn:ignore propset
Stephen Soltesz [Thu, 31 Jul 2008 20:42:36 +0000 (20:42 +0000)]
Added additional statements to the svn:ignore propset

15 years agodeprecated.
Stephen Soltesz [Thu, 31 Jul 2008 20:40:57 +0000 (20:40 +0000)]
deprecated.

15 years agoAM nagios/plc2nagios.py
Stephen Soltesz [Thu, 31 Jul 2008 20:40:22 +0000 (20:40 +0000)]
AM   nagios/plc2nagios.py
a script I wrote a while ago to translate the plc db into a nagios
configuration file.  might be helpful for someone else trying a better
approach with nagios

M    syncplcdb.py
fixed a bug to avoid an inconsistency in the PLCDB wrt federation
migration.

AM   kill.cmd.sh
continue running even if a command fails.

_M   bootcd
renamed, and added to the repository. also added the ignore set property.

M    getconf.py
renamed to look in bootcd dir.

A    docs
AM   docs/ipalprotocol.pdf
A    docs/ilo2-auto-export-buffer-setup.pdf
documents that might be helpful for others maintaining the PCUs

AM   rtinfo.py
sketch of code to read through a rt db cache and show useful info like
'last updated by email', which is not visible through the gui.

M    reboot.py
updated to include custom code for the new PCU in plab1-itec.uni-klu.ac.at

_M   ssh
A    nodediff.py
template for comparing the nodes up or down between two time periods.

15 years ago(no commit message)
Stephen Soltesz [Thu, 31 Jul 2008 20:26:41 +0000 (20:26 +0000)]

15 years agoAdded the AMT sample app from the IntelAMTSDK. It pulls in all cpp and
Stephen Soltesz [Wed, 30 Jul 2008 22:01:08 +0000 (22:01 +0000)]
Added the AMT sample app from the IntelAMTSDK.  It pulls in all cpp and
include files necessary to compile it.

15 years agoI will try to get the rpm to work with lower-case name
Stephen Soltesz [Wed, 30 Jul 2008 20:55:58 +0000 (20:55 +0000)]
I will try to get the rpm to work with lower-case name

15 years agoMassive commit of all changes, and added files for the Monitor-server package.
Stephen Soltesz [Wed, 30 Jul 2008 20:55:23 +0000 (20:55 +0000)]
Massive commit of all changes, and added files for the Monitor-server package.

15 years agoAdding third-party module used for Monitor's web pages.
Stephen Soltesz [Wed, 30 Jul 2008 20:05:07 +0000 (20:05 +0000)]
Adding third-party module used for Monitor's web pages.

15 years agoadded for the first time
Stephen Soltesz [Wed, 30 Jul 2008 20:02:24 +0000 (20:02 +0000)]
added for the first time

15 years agoadd spec files for the server-side rpm package of monitor
Stephen Soltesz [Wed, 30 Jul 2008 19:36:04 +0000 (19:36 +0000)]
add spec files for the server-side rpm package of monitor

15 years agoThe most current version of everything.
Stephen Soltesz [Mon, 21 Jul 2008 16:30:31 +0000 (16:30 +0000)]
The most current version of everything.

15 years agoTagging module Monitor - Monitor-1.0-5
Stephen Soltesz [Fri, 18 Jul 2008 18:00:30 +0000 (18:00 +0000)]
Tagging module Monitor - Monitor-1.0-5
Incremental improvements

15 years agoCompletes support for the ePowerSwitch series.
Stephen Soltesz [Thu, 10 Jul 2008 18:16:07 +0000 (18:16 +0000)]
Completes support for the ePowerSwitch series.

Does not support the 8XM, from site 'fem'.

15 years agoIncludes support for IntelAMT as well as better support for existing IPAL over
Stephen Soltesz [Thu, 3 Jul 2008 22:53:24 +0000 (22:53 +0000)]
Includes support for IntelAMT as well as better support for existing IPAL over
a proprietary interface at port 9100.

15 years agoTake out pcu handling in this file, since it is handled separately by
Stephen Soltesz [Mon, 30 Jun 2008 20:44:30 +0000 (20:44 +0000)]
Take out pcu handling in this file, since it is handled separately by
grouprins.py now

15 years agoScript designed to help transfer the 'power-users' from the public plc into a
Stephen Soltesz [Tue, 24 Jun 2008 21:05:40 +0000 (21:05 +0000)]
Script designed to help transfer the 'power-users' from the public plc into a
private plc, complete with all their sites, slices, and pre-registered ssh
keys.  The goal was to make their experience of the test-plc equal to the
public-plc, such that all they needed to do was log into the node without
visiting the test-plc's interface.

15 years agoTool to find stray node network entries in the PLC db. There were currently
Stephen Soltesz [Tue, 24 Jun 2008 19:24:24 +0000 (19:24 +0000)]
Tool to find stray node network entries in the PLC db.  There were currently
289 nn entires that were not associated with a valid node.  This seems like an
error to me.

15 years agotext sketch of the sqlobject model to be designed for monitor
Stephen Soltesz [Mon, 23 Jun 2008 18:22:39 +0000 (18:22 +0000)]
text sketch of the sqlobject  model to be designed for monitor

15 years ago(no commit message)
Stephen Soltesz [Mon, 23 Jun 2008 17:20:55 +0000 (17:20 +0000)]

15 years agoInclude other options for the iLO, since 'reset' doesn't work when the machine
Stephen Soltesz [Mon, 23 Jun 2008 17:05:42 +0000 (17:05 +0000)]
Include other options for the iLO, since 'reset' doesn't work when the machine
is powered off.  TODO: add the check to power the host On if it is off.

15 years agoa template for a tool that will spit out the configuration for a node to see
Stephen Soltesz [Mon, 23 Jun 2008 17:04:48 +0000 (17:04 +0000)]
a template for a tool that will spit out the configuration for a node to see
if it has any errors.

15 years agocommit of tools I use, but are not documented or guaranteed to work for anyone
Stephen Soltesz [Mon, 23 Jun 2008 17:04:08 +0000 (17:04 +0000)]
commit of tools I use, but are not documented or guaranteed to work for anyone
else.

15 years agosimple script to collect the info Scott requested when a site leaves PL.
Stephen Soltesz [Mon, 23 Jun 2008 17:00:06 +0000 (17:00 +0000)]
simple script to collect the info Scott requested when a site leaves PL.

15 years agoMassive commit. Just put all local changes into svn.
Stephen Soltesz [Mon, 23 Jun 2008 16:57:53 +0000 (16:57 +0000)]
Massive commit.  Just put all local changes into svn.

15 years agoadd timeout
Stephen Soltesz [Mon, 16 Jun 2008 18:48:34 +0000 (18:48 +0000)]
add timeout

15 years agoFor dumping the diagnose_out file.
Stephen Soltesz [Tue, 20 May 2008 19:43:20 +0000 (19:43 +0000)]
For dumping the diagnose_out file.

15 years agoallow RT module to be removed.
Stephen Soltesz [Tue, 20 May 2008 19:42:15 +0000 (19:42 +0000)]
allow RT module to be removed.

15 years agoThese modules are not used.
Stephen Soltesz [Tue, 20 May 2008 19:37:20 +0000 (19:37 +0000)]
These modules are not used.

15 years agofor access to the www.printbadnodes module
Stephen Soltesz [Tue, 20 May 2008 19:34:03 +0000 (19:34 +0000)]
for access to the www.printbadnodes module

15 years agoclean kernel parsing.
Stephen Soltesz [Mon, 19 May 2008 18:45:23 +0000 (18:45 +0000)]
clean kernel parsing.

15 years agoAdding the model for log records
Stephen Soltesz [Mon, 19 May 2008 18:43:26 +0000 (18:43 +0000)]
Adding the model for log records

15 years agoupdate
Stephen Soltesz [Mon, 19 May 2008 18:37:48 +0000 (18:37 +0000)]
update

15 years agoadding files
Stephen Soltesz [Mon, 19 May 2008 18:36:27 +0000 (18:36 +0000)]
adding files

15 years agoTagging module Monitor - Monitor-1.0-4
Stephen Soltesz [Mon, 19 May 2008 17:54:33 +0000 (17:54 +0000)]
Tagging module Monitor - Monitor-1.0-4
tagging everything for OneLab tech-transfer.

15 years agonew messages for alpha node groups, etc.
Stephen Soltesz [Mon, 19 May 2008 17:53:26 +0000 (17:53 +0000)]
new messages for alpha node groups, etc.

15 years agomass commit
Stephen Soltesz [Mon, 19 May 2008 17:52:56 +0000 (17:52 +0000)]
mass commit

15 years agoRun process with timeout, and allow an arbitrary path for the source of the
Stephen Soltesz [Tue, 13 May 2008 18:16:11 +0000 (18:16 +0000)]
Run process with timeout, and allow an arbitrary path for the source of the
pickle files, instead of the default PICKLE_PATH

15 years agofixed call to hpilo script. I think added a timeout too.
Stephen Soltesz [Tue, 13 May 2008 18:13:55 +0000 (18:13 +0000)]
fixed call to hpilo script.  I think added a timeout too.
now works correctly with findbad.py cron job.  Doesn't hang indefinitely now.

15 years agoRead nodes from a given file, for batch updates when using nodequery and
Stephen Soltesz [Tue, 13 May 2008 18:11:59 +0000 (18:11 +0000)]
Read nodes from a given file, for batch updates when using nodequery and
nodereboot or grouprins.py

15 years ago(no commit message)
Stephen Soltesz [Tue, 13 May 2008 18:10:44 +0000 (18:10 +0000)]

15 years agoImprovements for older records. Consolidated code related to ending a
Stephen Soltesz [Tue, 13 May 2008 18:09:47 +0000 (18:09 +0000)]
Improvements for older records.  Consolidated code related to ending a
record.

15 years agoTagging module Monitor - Monitor-1.0-3
Stephen Soltesz [Fri, 9 May 2008 21:31:19 +0000 (21:31 +0000)]
Tagging module Monitor - Monitor-1.0-3

15 years agoA few changes to improve upon the script:
Marc Fiuczynski [Tue, 6 May 2008 02:55:18 +0000 (02:55 +0000)]
A few changes to improve upon the script:

- try to make it stand alone python script
  - uses xmlrpc directly; no longer needs to import plc module

- fetches nodenetworks for all hosts and caches it locally
  to avoid having to invoke the API n times (where n is the
  # of nodes at the PLC).

Still needs:

- a proper help/usage message printed

- a way to export full functionality (e.g., delete)

- a way to specify XMLRPC_SERVER as a command line option, as
  now it by default assumes www.planet-lab.org/PLCAPI

15 years agoTagging module Monitor - Monitor-1.0-2
Stephen Soltesz [Mon, 5 May 2008 17:58:09 +0000 (17:58 +0000)]
Tagging module Monitor - Monitor-1.0-2

15 years agolast typo
Stephen Soltesz [Mon, 5 May 2008 17:01:20 +0000 (17:01 +0000)]
last typo

15 years agofixes to make them more stand-alone and general.
Stephen Soltesz [Mon, 5 May 2008 16:58:42 +0000 (16:58 +0000)]
fixes to make them more stand-alone and general.

15 years agocheck consistency of specfiles:
Thierry Parmentelat [Mon, 5 May 2008 12:09:39 +0000 (12:09 +0000)]
check consistency of specfiles:
* set pldistro in release when needed (Monitor)
* remove it when already part of the rpm name (bootcd, noderepo)

15 years agoMajor improvements. Actually useful for daily operations.
Stephen Soltesz [Fri, 2 May 2008 19:18:20 +0000 (19:18 +0000)]
Major improvements.  Actually useful for daily operations.

16 years agoTagging module Monitor - Monitor-1.0-1
Stephen Soltesz [Wed, 23 Apr 2008 21:00:10 +0000 (21:00 +0000)]
Tagging module Monitor - Monitor-1.0-1
This should be ready for 4.2rc2

16 years agoAdd a field for the currently observed status as well as the PLC db
Stephen Soltesz [Mon, 14 Apr 2008 17:59:45 +0000 (17:59 +0000)]
Add a field for the currently observed status as well as the PLC db
configuration.

16 years agoAdd an option to end a monitor record for a node. This results in the
Stephen Soltesz [Mon, 14 Apr 2008 17:59:17 +0000 (17:59 +0000)]
Add an option to end a monitor record for a node.  This results in the
accounting starting over.

16 years agoAdded a convenience script for making a single command line call.
Stephen Soltesz [Mon, 14 Apr 2008 17:58:36 +0000 (17:58 +0000)]
Added a convenience script for making a single command line call.

16 years agoinstructs user how to create the 'auth.py' file.
Stephen Soltesz [Fri, 11 Apr 2008 21:02:53 +0000 (21:02 +0000)]
instructs user how to create the 'auth.py' file.

16 years agoThis is a template script for adding the 'Site Assistant' user into the myPLC
Stephen Soltesz [Fri, 11 Apr 2008 20:59:45 +0000 (20:59 +0000)]
This is a template script for adding the 'Site Assistant' user into the myPLC
db, creating an rsa key, uploading it to the user account, and eventually
doing some other post-processing setup for monitor.