9 years agorun daily, with collection log script
Stephen Soltesz [Tue, 28 Sep 2010 23:48:25 +0000]
run daily, with collection log script

9 years agosimple incremental collection script, and environment variable for ssh
Stephen Soltesz [Tue, 28 Sep 2010 23:48:02 +0000]
simple incremental collection script, and environment variable for ssh

9 years agolog all bash-command line commands and upload them centrally
Stephen Soltesz [Tue, 28 Sep 2010 18:13:12 +0000]
log all bash-command line commands and upload them centrally

9 years agoadd a directory for running nagios scale/performance tests
Stephen Soltesz [Wed, 15 Sep 2010 20:27:12 +0000]
add a directory for running nagios scale/performance tests
add 'testing' support to plc_hosts_to_nagios and plc_users_to_nagios
multiple pattern checks in checkrt.py

9 years agorename db data collection
Stephen Soltesz [Tue, 27 Jul 2010 20:53:16 +0000]
rename db data collection

9 years agonew files for dumping and parsing logs
Stephen Soltesz [Mon, 26 Jul 2010 16:49:17 +0000]
new files for dumping and parsing logs

9 years agoadd support for monitoring the plc servers and api
Stephen Soltesz [Tue, 20 Jul 2010 18:05:05 +0000]
add support for monitoring the plc servers and api
print more descriptive status messasges from checkpcu
enable notifications for SiteOnline status for sites

9 years agoadd areSlicesEnabled and isSiteEnabled convenience checks
Stephen Soltesz [Tue, 29 Jun 2010 22:23:14 +0000]
add areSlicesEnabled and isSiteEnabled convenience checks

9 years agoadd rt3 dependency,
Stephen Soltesz [Tue, 29 Jun 2010 22:10:54 +0000]
add rt3 dependency,

9 years agomoved Time() class to generic.py
Stephen Soltesz [Tue, 29 Jun 2010 22:09:48 +0000]
moved Time() class to generic.py

9 years agoadded rtcheck & escalation commands to plc_hosts_*
Stephen Soltesz [Tue, 29 Jun 2010 22:04:34 +0000]
added rtcheck & escalation commands to plc_hosts_*
changed hostescalation to serviceescalation for site cluster, to make it
    depend on the rtcheck status.  Now if there are open tickets, the
    escalation will stop
added new code to actions/escalation.py to mirror actual behavior.

9 years agoadd checkrt to indicate when a site has new or open tickets
Stephen Soltesz [Tue, 29 Jun 2010 22:01:36 +0000]
add checkrt to indicate when a site has new or open tickets
add checkescalation to infer the penalty applied to a site based on the state
    of it's site and slices
add extra RT configuration fields to auth.py

9 years agoadd support for the myops object tags. Applies to sites, slices, and persons.
Stephen Soltesz [Tue, 29 Jun 2010 20:54:48 +0000]
add support for the myops object tags.  Applies to sites, slices, and persons.
    Sites with 'exempt_site_until' are not disabled
    Persons with 'exempt_site_until' are not emailed
    Slices with 'exempt_slice_until' are not suspended

    This feature will replace the 'blacklist' command line tool.

    Currently, there is no GUI support for Person or Site Tags.

9 years agoadd a warning when given loginbase returns nothing
Stephen Soltesz [Mon, 28 Jun 2010 15:47:47 +0000]
add a warning when given loginbase returns nothing
add two time functions to convert strings to timestamp or datetime objects

9 years agoadd real checks for RebootNodeWithPCU. Report errors returned by API
Stephen Soltesz [Fri, 25 Jun 2010 21:17:43 +0000]
add real checks for RebootNodeWithPCU.  Report errors returned by API
add notes_url to pcu service

9 years agoadd comon_analysis graph
Stephen Soltesz [Fri, 25 Jun 2010 15:40:50 +0000]
add comon_analysis graph

9 years ago(no commit message)
Stephen Soltesz [Mon, 21 Jun 2010 20:59:37 +0000]

9 years agoa simple auth file for accessing remote plc
Stephen Soltesz [Mon, 21 Jun 2010 20:37:41 +0000]
a simple auth file for accessing remote plc

9 years agosimplify plc_users_to_nagios imports as with plc_hosts...
Stephen Soltesz [Mon, 21 Jun 2010 20:30:59 +0000]
simplify plc_users_to_nagios imports as with plc_hosts...

9 years agotypo
Stephen Soltesz [Mon, 21 Jun 2010 20:27:16 +0000]
typo

9 years agomake plc.py simpler to reduce the dependencies for plc_hosts_to_nagios.
Stephen Soltesz [Mon, 21 Jun 2010 20:26:05 +0000]
make plc.py simpler to reduce the dependencies for plc_hosts_to_nagios.
add cron script to regenerate config files daily.
add dependencies and setup to monitor-nagios rpm
improve monitor-nagios.init script (I still think it may need to only be run once).

9 years agoadd an escalation for a bad pcu status.
Stephen Soltesz [Mon, 21 Jun 2010 18:13:46 +0000]
add an escalation for a bad pcu status.
every observed service has an associated action

9 years agoadd check to see if mysqld is running in init script
Stephen Soltesz [Fri, 18 Jun 2010 23:05:43 +0000]
add check to see if mysqld is running in init script

9 years agocreate a skeleton init script for monitor-nagios. not sure if this really
Stephen Soltesz [Fri, 18 Jun 2010 22:57:02 +0000]
create a skeleton init script for monitor-nagios.  not sure if this really
needs to run every time, since setup only needs to happen once.

9 years agotypo
Stephen Soltesz [Fri, 18 Jun 2010 22:11:35 +0000]
typo

9 years agoattempting to separate server and nagios packages explicitly
Stephen Soltesz [Fri, 18 Jun 2010 22:09:43 +0000]
attempting to separate server and nagios packages explicitly

9 years agoupdate nagios scripts with new paths
Stephen Soltesz [Fri, 18 Jun 2010 21:55:13 +0000]
update nagios scripts with new paths
add monitor-nagios package to spec file
remove pcucontrol from setup.py

9 years agomove files into function-specific directories
Stephen Soltesz [Fri, 18 Jun 2010 21:44:49 +0000]
move files into function-specific directories

9 years agomove nagios files to nagios dir
Stephen Soltesz [Fri, 18 Jun 2010 21:43:17 +0000]
move nagios files to nagios  dir

9 years agoadd a nagios dir to the monitor tree
Stephen Soltesz [Fri, 18 Jun 2010 21:40:16 +0000]
add a nagios dir to the monitor tree

9 years agoadd a module for generating nagios configuration objects from python objects
Stephen Soltesz [Fri, 18 Jun 2010 21:24:39 +0000]
add a module for generating nagios configuration objects from python objects
improved generation for plc sites/hosts
  separated site escalation from notification
  host reboot stubs
  host pcu service check stubs

9 years agomove some routines from plccache to generic to avoid pulling in db routines
Stephen Soltesz [Fri, 18 Jun 2010 21:21:08 +0000]
move some routines from plccache to generic to avoid pulling in db routines

9 years agoadd external commands as stubs for the nagios plugins
Stephen Soltesz [Fri, 18 Jun 2010 21:19:44 +0000]
add external commands as stubs for the nagios plugins

9 years agoconvert some sites and users into nagios a configuration
Stephen Soltesz [Fri, 4 Jun 2010 23:16:01 +0000]
convert some sites and users into nagios a configuration
added hostescalation, automated reboot, custom notify commands
needs more testing

9 years agoadd logging to reboot.py
Stephen Soltesz [Fri, 4 Jun 2010 21:56:10 +0000]
add logging to reboot.py

9 years agorename and split plc2nagios file
Stephen Soltesz [Thu, 3 Jun 2010 18:31:01 +0000]
rename and split plc2nagios file

9 years agoadd some service escalation templates
Stephen Soltesz [Thu, 3 Jun 2010 17:35:30 +0000]
add some service escalation templates

9 years agoadd generic routines for manipulating lists from PLCAPI
Stephen Soltesz [Tue, 25 May 2010 21:15:27 +0000]
add generic routines for manipulating lists from PLCAPI

9 years agofcdistro -> distroname
Barış Metin [Fri, 21 May 2010 08:39:49 +0000]
fcdistro -> distroname

9 years agoBranch 3.0 for module Monitor created (as new trunk) from tag Monitor-3.0-35
Stephen Soltesz [Thu, 20 May 2010 19:26:57 +0000]
Branch 3.0 for module Monitor created (as new trunk) from tag Monitor-3.0-35

9 years agoSetting tag Monitor-3.0-35
Stephen Soltesz [Thu, 20 May 2010 19:25:55 +0000]
Setting tag Monitor-3.0-35
Add CSV link on Advanced query
Preparing to branch

9 years agoadd a CVS Format link to the advanced query page
Stephen Soltesz [Thu, 20 May 2010 17:46:14 +0000]
add a CVS Format link to the advanced query page

9 years agoSetting tag Monitor-3.0-34
Barış Metin [Wed, 12 May 2010 15:00:59 +0000]
Setting tag Monitor-3.0-34
* copy selections to clipbord on Advanced Query page
* RPM Pattern as regexp
* scan ipmi port

9 years agomatch rpm pattern with regexp
Barış Metin [Tue, 11 May 2010 20:02:10 +0000]
match rpm pattern with regexp

9 years agomove "copy to clipboard" button to table header
Barış Metin [Tue, 11 May 2010 19:37:27 +0000]
move "copy to clipboard" button to table header

9 years agoscan ipmi port too
Barış Metin [Mon, 10 May 2010 17:33:44 +0000]
scan ipmi port too

9 years agoin Advanced Query, select rows and copy values to clipboard in csv format.
Barış Metin [Thu, 6 May 2010 10:26:36 +0000]
in Advanced Query, select rows and copy values to clipboard in csv format.

9 years agoset default pagesize on all views to 999
Thierry Parmentelat [Wed, 5 May 2010 07:55:43 +0000]
set default pagesize on all views to 999

9 years agoSetting tag Monitor-3.0-33
Barış Metin [Tue, 27 Apr 2010 10:46:24 +0000]
Setting tag Monitor-3.0-33
handle hostname changes

9 years agohandle hostname changes
Barış Metin [Mon, 26 Apr 2010 08:59:53 +0000]
handle hostname changes

9 years agoSetting tag Monitor-3.0-32
Thierry Parmentelat [Tue, 20 Apr 2010 08:27:27 +0000]
Setting tag Monitor-3.0-32
from this version, suitable for 5.0
requires bootcd with the new 5.0 naming style 3-part nodefamily

9 years agofor 5.0, requires bootcd with new 3-part nodefamily
Thierry Parmentelat [Tue, 20 Apr 2010 08:25:12 +0000]
for 5.0, requires bootcd with new 3-part nodefamily

9 years agoSetting tag Monitor-3.0-31
Stephen Soltesz [Mon, 12 Apr 2010 14:50:50 +0000]
Setting tag Monitor-3.0-31
added fix for node delete/add causing conflicts in MyOps db.
added statistics scripts

9 years agofixes bug in myops for a node with different node_id. This occurs when
Stephen Soltesz [Thu, 8 Apr 2010 19:34:35 +0000]
fixes bug in myops for a node with different node_id.  This occurs when
    deleting and then adding a node with the same name in plc.

9 years agofix path
Barış Metin [Tue, 6 Apr 2010 13:15:50 +0000]
fix path

9 years agoadd myops_restoration
Stephen Soltesz [Thu, 25 Mar 2010 19:51:00 +0000]
add myops_restoration

9 years agofixed typo on logger name for exceptions.
Stephen Soltesz [Sat, 13 Mar 2010 20:00:27 +0000]
fixed typo on logger name for exceptions.

9 years agoadd new scripts
Stephen Soltesz [Tue, 2 Mar 2010 19:30:13 +0000]
add new scripts

9 years agoops... fix path.
Barış Metin [Tue, 16 Feb 2010 14:28:43 +0000]
ops... fix path.

9 years agoR routines for printing some statistics
Stephen Soltesz [Thu, 11 Feb 2010 20:14:07 +0000]
R routines for printing some statistics

9 years ago(no commit message)
Stephen Soltesz [Thu, 11 Feb 2010 20:12:52 +0000]

9 years agotest
Stephen Soltesz [Thu, 11 Feb 2010 20:08:28 +0000]
test

9 years agoadd more info to sliceavg
Stephen Soltesz [Thu, 21 Jan 2010 20:22:14 +0000]
add more info to sliceavg
parserpms does a better job of sorting and converting entries with multiple versions

9 years agoadd a conversion class for datetime and time stamps, since I need this all the time.
Stephen Soltesz [Thu, 21 Jan 2010 20:15:57 +0000]
add a conversion class for datetime and time stamps, since I need this all the time.
'Created' value in mailer.py is causing problems for PLE
move print statements to stderr in plccache.py and comon.py
add an 'escapeName' routine in dbpickle to allow filepaths in output names
fix bug in scanapi that missed debug node if there was no bootmanager.log
add checks for yum.config files

9 years agoreplace some print statements to stderr
Stephen Soltesz [Thu, 21 Jan 2010 19:47:29 +0000]
replace some print statements to stderr
add HistorySiteRecord to checksync

9 years agoSetting tag Monitor-3.0-30
Barış Metin [Thu, 21 Jan 2010 10:50:38 +0000]
Setting tag Monitor-3.0-30
* fix paths for automate script

9 years agofix paths
Barış Metin [Wed, 20 Jan 2010 14:40:11 +0000]
fix paths

9 years agoSetting tag Monitor-3.0-29
Barış Metin [Tue, 22 Dec 2009 17:12:17 +0000]
Setting tag Monitor-3.0-29
- separate pcucontrol as an svn module
- restore easy_instal back into post install stage of server-deps
- template imporovements for web interface

9 years agomove easy_install calls back to post install.
Barış Metin [Tue, 22 Dec 2009 15:54:28 +0000]
move easy_install calls back to post install.
running easy_install didn't work as I thought it would, every now and
again it fails and break our build.

9 years agorequire pcucontrol.
Barış Metin [Tue, 22 Dec 2009 12:14:39 +0000]
require pcucontrol.

9 years agoremove pcucontrol from Monitor.spec
Barış Metin [Tue, 22 Dec 2009 12:03:57 +0000]
remove pcucontrol from Monitor.spec

9 years agomove pcucontrol package into pcucontrol module.
Barış Metin [Tue, 22 Dec 2009 12:02:27 +0000]
move pcucontrol package into pcucontrol module.

9 years agomove nodelist.kid headers into node_template.kid to remove redundancy.
Stephen Soltesz [Fri, 18 Dec 2009 21:13:30 +0000]
move nodelist.kid headers into node_template.kid to remove redundancy.
comment-out the boot/down summary at the top of the nodelist.kid page;  ...

9 years agowork around the lack of libm.a on f12
Thierry Parmentelat [Fri, 18 Dec 2009 18:17:36 +0000]
work around the lack of libm.a on f12

9 years agomerged pcucontrol into monitor-server. although monitor-pcucontrol may
Barış Metin [Fri, 18 Dec 2009 16:08:30 +0000]
merged pcucontrol into monitor-server. although monitor-pcucontrol may
be utilized as a seperate package it makes managing the %files more
complicated for the moment. if we had need to generalize it at some
point, we can manage it in a separate rpm (and/or svn module?)

9 years agook, don't break anything on f8 too :)
Barış Metin [Thu, 17 Dec 2009 21:12:39 +0000]
ok, don't break anything on f8 too :)

9 years agofix f12 build
Barış Metin [Thu, 17 Dec 2009 21:02:10 +0000]
fix f12 build

9 years agoSetting tag Monitor-3.0-28
Barış Metin [Thu, 17 Dec 2009 16:27:38 +0000]
Setting tag Monitor-3.0-28
do not need buildrequires. a new tag to fix centos builds

9 years agocomment out buildrequires
Barış Metin [Thu, 17 Dec 2009 14:40:38 +0000]
comment out buildrequires

9 years agoSetting tag Monitor-3.0-27
Barış Metin [Thu, 17 Dec 2009 11:52:31 +0000]
Setting tag Monitor-3.0-27
fix rpm build issues

9 years agosetuptools don't really care about --build-directory.
Barış Metin [Thu, 17 Dec 2009 11:42:59 +0000]
setuptools don't really care about --build-directory.
It's just easier to export TMPDIR. Thanks to Thierry.

9 years agoadd *egg/ directories to the package. easy_install can bring in
Barış Metin [Thu, 17 Dec 2009 09:59:00 +0000]
add *egg/ directories to the package. easy_install can bring in
additional dependencies (that's the case for f12 build).

9 years agoSetting tag Monitor-3.0-26
Barış Metin [Wed, 16 Dec 2009 15:41:21 +0000]
Setting tag Monitor-3.0-26
to many changes, but mostly moved stuff around. there are some small fixes here and there.

9 years agohandle IndexError in getpcu
Barış Metin [Wed, 16 Dec 2009 14:51:54 +0000]
handle IndexError in getpcu

9 years agorequire easy_install at build time
Barış Metin [Mon, 14 Dec 2009 23:22:29 +0000]
require easy_install at build time

9 years agohope I got the merge wright...
Barış Metin [Mon, 14 Dec 2009 15:57:04 +0000]
hope I got the merge wright...
svn merge -r 15903:16132 https://svn.planet-lab.org/svn/Monitor/branches/monitor-20091130 .

9 years agoreport any expired sites & nodes
Stephen Soltesz [Mon, 7 Dec 2009 23:04:38 +0000]
report any expired sites & nodes

9 years agoadd two cases for resolving nodes that run out of disk space during boot-strap
Stephen Soltesz [Mon, 7 Dec 2009 21:01:32 +0000]
add two cases for resolving nodes that run out of disk space during boot-strap

9 years agoonly enable a site if the 'enabled' field is False.
Stephen Soltesz [Mon, 7 Dec 2009 21:00:56 +0000]
only enable a site if the 'enabled' field is False.
NOTE: This will address ticket: https://svn.planet-lab.org/ticket/592

9 years agoadded supported_ports to class definition
Stephen Soltesz [Mon, 7 Dec 2009 20:59:46 +0000]
added supported_ports to class definition
removed references to self.transport.verbose since here is no self.transport

9 years agoreformat time install_date to timestamp when returned by advanced query
Stephen Soltesz [Thu, 3 Dec 2009 02:45:58 +0000]
reformat time install_date to timestamp when returned by advanced query
1/3 of online nodes in PLC did not have the /usr/boot/plnode.txt file, so add
a secondary check to install_date to check for another file in /usr/boot/

9 years agosort last_changed by correct times
Stephen Soltesz [Mon, 30 Nov 2009 16:48:22 +0000]
sort last_changed by correct times

9 years agoI think this applies svn ignore property everywhere.
Stephen Soltesz [Sat, 21 Nov 2009 02:07:43 +0000]
I think this applies svn ignore property everywhere.

9 years agodeprecate www directory and its legacy scripts
Stephen Soltesz [Sat, 21 Nov 2009 02:01:30 +0000]
deprecate www directory and its legacy scripts

9 years agoremove a lot of deprecated files ;
Stephen Soltesz [Sat, 21 Nov 2009 01:38:00 +0000]
remove a lot of deprecated files ;
move non-user or setup scripts to extra/ directory

9 years ago(no commit message)
Stephen Soltesz [Sat, 21 Nov 2009 00:58:05 +0000]

9 years agoSetting tag Monitor-3.0-25
Stephen Soltesz [Fri, 20 Nov 2009 23:18:33 +0000]
Setting tag Monitor-3.0-25
add option for site status to include both node & pcu status
improve ticket handling
template gadget.xml for a site-specific google-gadget summary

9 years agoadded templating to google gadget xml file in monitor-server; previously it
Stephen Soltesz [Fri, 20 Nov 2009 22:36:17 +0000]
added templating to google gadget xml file in monitor-server; previously it
was hard-coded to monitor.planet-lab.org ; now PLE can have their own google
gadget.
added policy to close tickets if all nodes & pcus at a site are ok, to prevent
some leaking tickets.

9 years agocorrect message
Barış Metin [Fri, 20 Nov 2009 10:43:40 +0000]
correct message

9 years ago- check if the site is in 'pending' state on all site actions
Barış Metin [Fri, 20 Nov 2009 10:35:29 +0000]
- check if the site is in 'pending' state on all site actions
- clean-up