"Fossies" - the Fresh Open Source Software Archive

Member "mosshe/history.txt" (6 Oct 2020, 31133 Bytes) of package /linux/privat/old/mosshe.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 MoSShE: Monitoring Simple SHell Environment
    2 
    3 Copyright (C) 2003-2020 Volker Tanger  <volker.tanger@wyae.de>
    4 
    5 
    6 10/2020
    7 This software is being retired and replaced by 
    8 http://www.wyae.de/software/moshel/
    9 
   10 
   11 
   12 
   13 This program is free software; you can redistribute it and/or
   14 modify it under the terms of the GNU General Public License
   15 as published by the Free Software Foundation; either version 2
   16 of the License, or (at your option) any later version.
   17 http://www.gnu.org/copyleft/gpl.html
   18 
   19 
   20 HISTORY
   21 
   22 The general idea was taken from plugins I wrote for the Nagios (formerly
   23 NetSaint) network/host monitoring system (NMS), especially the various
   24 versions of ASLrules.
   25 
   26 As most of the servers/services I want to monitor are remote systems,
   27 traditional NMS (relying on close-looped and/or unencrypted sessions) are
   28 either big, complicated to install for safe remote monitoring, ressource
   29 intense (when doing remote checks), lack a status history or a combination
   30 thereof.
   31 
   32 Thus I wrote this small, easily configured system. It primarily was
   33 intended for monitoring of a handful of typical internet systems. With
   34 the more recent versions system and grouping features monitoring of
   35 serious numbers of systems should be easily possible.
   36 
   37 For bug reports and suggestions or if you just want to talk to me
   38 please contact me at volker.tanger@wyae.de
   39 
   40 Updates will be available at  http://www.wyae.de/software/mosshe/
   41 please check there for updates prior to submitting patches!
   42 
   43 
   44 ------------------------------------------------------------------------
   45 
   46 BUG - MAYBE ARCHITECTURAL/UNFIXABLE
   47 
   48 	processing the entries is *S*L*O*W*
   49 
   50 	checking 10 servers with total 270 checks takes 4.5 minutes 
   51 	on a RaspberryPi-B - of these 1.5 minutes are just for 
   52 	"graphing" (data sorting)
   53 
   54 	==> BASH probably is unsuited for monitoring more than 
   55 	    a tiny handful of systems??
   56 
   57 ------------------------------------------------------------------------
   58 
   59 
   60 todo:
   61 	- BUG (to fix): (re)check on Busybox-compatibility
   62 	- BUG (to fix): ImportServerInfo does not overwrite old status
   63 	- BUG (to fix): whenever a server(-import)  fails, all 
   64 		prior sub-checks vanish with it (stats are kept, so
   65 		are okay if resumed later, though)
   66 	- want: SNMP query (general)
   67 	- want: SNMP especially for Windows servers	
   68 	- want: localchecks, disk usage of single directory	  
   69 	- want: localchecks, disk usage of subdirectories ("quota")
   70 	- want: localchecks, number of users (via "w" command)
   71 	- want: alerting: send alerts on ALERT only (escalation)
   72 	- want: webviews: SLA reports, downtimes/availability
   73 
   74 
   75 v20.9.25
   76     Volker Tanger <volker.tanger@wyae.de>
   77 	* bugfix: NetworkLinuxTraffic yielded utter garbage due to 
   78 		changed output format of /proc/net/dev - corrected
   79 
   80 v20.9.9
   81     Volker Tanger <volker.tanger@wyae.de>
   82 	* bugfix: journalctl check in dovecot+postfix with typo
   83 	* bugfix: journalctl check for postfix without -u as no working anymore
   84 
   85 v20.8.21
   86     Volker Tanger <volker.tanger@wyae.de>
   87 	* bugfix: limit WGET retries
   88 
   89 v20.5.18
   90     Volker Tanger <volker.tanger@wyae.de>
   91 	* bugfix: propoer check for journalct in postfix & dovecot
   92 
   93 v20.2.25
   94     Volker Tanger <volker.tanger@wyae.de>
   95 	* bugfix: remove leading 0's in HDhardwareSmartRaw
   96 
   97 v20.2.1
   98     !!! changed HDhardwareSmart into two functions!
   99     Volker Tanger <volker.tanger@wyae.de>
  100 	* bugfix/change: instead of HDhardwareSmart please use
  101 	    - HDhardwareSmartRaw to compare the RAW value
  102 	    - HDhardwareSmartValue to compare the translated value
  103 	* deprecated: HDhardwareSmart
  104 
  105 v19.2.13
  106     Volker Tanger <volker.tanger@wyae.de>
  107 	* bugfix: only import successful http requests
  108 	* bugfix: filtering Import* data before injection
  109 	* cleanup: removed ImportServerInfo
  110 	* cleanup: removed GNUplot code
  111 	* simplification/speedup: ".avg" now is the full log,
  112 	  no longer a calculated average (the JS display can zoom 
  113 	  in now). The "normal" view only are the currentmost 
  114 	  ~1000 events, trimmed daily.
  115 	* deprecated: PlotAvgDataFiles
  116 	* deprecated: ServerInfo
  117 
  118 v19.01.05
  119     Volker Tanger <volker.tanger@wyae.de>
  120 	* bugfix: escape HTML tags from HTTPchecks
  121 
  122 v18.12.18
  123     Volker Tanger <volker.tanger@wyae.de>
  124 	* bugfix/change: default detection for established connections
  125 	  in NetworkConnections now is with "ss" - for the old one using
  126 	  "netstat" please use "NetworkConnectionNetstat"
  127 
  128 v18.10.21
  129     Volker Tanger <volker.tanger@wyae.de>
  130 	* bugfix: TCPing suppress output
  131 	* bugfix: option syntax error in httpcontentmatch
  132 
  133 v18.10.7
  134     Volker Tanger <volker.tanger@wyae.de>
  135 	* bugfix: ImportAgentCurl: timeout parameter without = sign!
  136 
  137 v18.7.29
  138     Volker Tanger <volker.tanger@wyae.de>
  139 	* bugfix: HTTPcontentmatch now with timeout (30sec)
  140 
  141 v18.1.1
  142     Volker Tanger <volker.tanger@wyae.de>
  143 	* bugfix: apcaccess tool availability copy/paste error 
  144 	 	corrected
  145 
  146 v17.6.12
  147     Volker Tanger <volker.tanger@wyae.de>
  148 	* bugfix: apcaccess no longer defaults to "-h 127.0.0.1" 
  149 	  	  added accordingly
  150 
  151 v17.3.27
  152     Volker Tanger <volker.tanger@wyae.de>
  153 	* bugfix: check for smartctl now to /usr/sbin/smartctl instead of which
  154 
  155 v16.10.18
  156     Volker Tanger <volker.tanger@wyae.de>
  157 	* bugfix: smartctl now a bit faster (-A instead of -a)
  158 
  159 v16.6.12
  160     Jay Goldberg http://www.avianblue.net
  161 	* bugfix/improvement: function declaration with improved compatibility
  162 	* bugfix/improvement: for-loop with improved compatibility
  163     Volker Tanger <volker.tanger@wyae.de>
  164 	* thanks Jay for all the issues and bugfixes!
  165 	* bugfix: moved "mail" check to mail alerts (where it belongs) 
  166 		closing github#6
  167 	* bugfix: chmod result files to 644 so non-root can read the files
  168 		when accessing them via webserver - closing github#4
  169 	* bufgix: renamed template* so it won't be deleted by cleanup script
  170 		closing github#9 
  171 
  172 v16.4.24
  173     Volker Tanger <volker.tanger@wyae.de>
  174 	* bugfix to 16.2.4 : (crude) network rollover fix missing most cases 
  175 
  176 v16.4.20
  177     Volker Tanger <volker.tanger@wyae.de>
  178 	* refactor: move WWW files to according directory
  179 	* bugfix: replace space in sensor description with underscore so 
  180 	  file access works (web interface, averages)
  181 
  182 v16.2.4
  183     Volker Tanger <volker.tanger@wyae.de>
  184 	* bugfix: (crude) fix against network traffic counter rollover
  185 
  186 v16.2.2
  187     Volker Tanger <volker.tanger@wyae.de>
  188 	* bugfix: dovecot+postfix checks were missing "OK" status to be set
  189 	  	resulting in wrong status (but correct message) - fixed
  190 
  191 v16.1.20
  192     Volker Tanger <volker.tanger@wyae.de>
  193 	* bugfix: typo in README.md + wrong description in DovecotLoginFailed
  194 
  195 v16.1.18
  196     Volker Tanger <volker.tanger@wyae.de>
  197 	* bugfix: corrected TLS counting - a space on the wrong place...
  198 
  199 v16.1.17
  200     Volker Tanger <volker.tanger@wyae.de>
  201 	* feature: postfix and dovecot checks
  202 
  203 v15.7.20
  204     Volker Tanger <volker.tanger@wyae.de>
  205 	* feature: checking locally monitored APC UPS
  206 		ApcUpsValueTooHigh
  207 		ApcUpsValueTooLow
  208 		ApcUpsStatus
  209 
  210 
  211 v15.7.20
  212     !!! FedoraUpdatesAvailable split into pre-21 and post-22
  213     Volker Tanger <volker.tanger@wyae.de>
  214 	* feature: 
  215 		FeduraYumUpdatesAvailable - for Fedora 21 and prior
  216 		FeduraDnfUpdatesAvailable - fpr Fedora 22 and later
  217 
  218 v15.6.11
  219     Volker Tanger <volker.tanger@wyae.de>
  220 	* bugfix: ArchlinuxUpdatesAvailable uses different tool:
  221 	  changed from pacupdatescheck to checkupdates in mosshe_hourly
  222 	* bugfix: navigated around the annoying $WWWDIR/srv_*.txt.new
  223 	  not found bug when there is no server info.
  224 
  225 v15.4.25
  226     Volker Tanger <volker.tanger@wyae.de>
  227 	* feaure: added ArchlinuxUpdatesAvailable check 
  228 	  (similar to DebianUpdatesCheck)
  229 
  230 v15.4.23
  231     Volker Tanger <volker.tanger@wyae.de>
  232 	* feaure: added FedoraUpdatesAvailable check 
  233 	  (similar to DebianUpdatesCheck)
  234 
  235 v15.4.14
  236     Volker Tanger <volker.tanger@wyae.de>
  237 	!!! changed network checks naming convention
  238 	* feaure/bugfix: network checks now report on server FROM which 
  239 	  the check is done as well as TO which server, so monitoring can 
  240 	  cope with distributed monitoring of the same servie
  241 	* bugfix: copy/paste error in HDCheckGB corrected
  242 
  243 v14.12.04
  244     Volker Tanger <volker.tanger@wyae.de>
  245 	* feaure: added MemCheckLinux
  246 	* feaure/bugfix: added HDfreeGB + HDfreeMB - using mount
  247 	  points instead of string matches
  248 
  249 v14.10.31
  250     Volker Tanger <volker.tanger@wyae.de>
  251 	* bugfix: DebianUpdatesAvailable hourly job misnamed corrected
  252 	* feature: HDhardwareSmart alerts on excessive hardware fails
  253 	
  254 v14.9.24
  255     Volker Tanger <volker.tanger@wyae.de>
  256 	* bugfix: DebianUpdatesAvailable now works - needs hourly cron
  257 	  job (included, must be enabled)
  258 	
  259 v14.9.19
  260     Volker Tanger <volker.tanger@wyae.de>
  261 	* feature: DebianUpdatesAvailable ckecks whether your Debian installation is up to date
  262 	* feature: Import* now log OK/ALERT - not only when errors
  263 	* bugfix: ProcCheck had wrong process name
  264     
  265 v14.6.24
  266     Volker Tanger <volker.tanger@wyae.de>
  267 	* bugfix: ImportAgents now alert when slave unavailabe
  268 	* bugfix: undefined states are now correctly counted
  269 	* expire: LoadHekto (renamed to LoadCheckPercent)
  270 	* feature/bugfix: import agents now respect NETWAIT value
  271 	  instead of fixed 30 seconds
  272 
  273 v14.5.11
  274     Volker Tanger <volker.tanger@wyae.de>
  275 	* feature/bugfix: it's LoadCheckPercent, not LoadHekto. Stupid me,
  276 	  wrong prefix (4 orders of magnitude off).
  277 	* bugfix: skipped compare if old files are missing (e.g.
  278 		because of restart)
  279 	* bugfix: info generation wrote to wrong filename (stupid copy+paste)
  280 	
  281 v14.2.20
  282     Volker Tanger <volker.tanger@wyae.de>
  283 	* feature/bugfix: added NetworkLinuxBandwidth checking against /proc/net/dev
  284 	* feature/bugfix: added NetworkTrafficCheck checking against /proc/net/dev
  285 	* bugfix: ServerInfo() did not delete old data, leading to
  286 	  	increasing transfer and disk exhaustion (in the long rung)
  287 
  288 v14.2.3
  289     Volker Tanger <volker.tanger@wyae.de>
  290 	* feature: added monthly NetworkBandwidth check: GB/month
  291 	* feature: added HDCheckGB - like HDCheck but in GB
  292 	* feature: added HDparmState - check whether a disc is spun down
  293 	* feature: added ImportServerInfo
  294 	* bugfix: corrected server info placement (not just the central host) 
  295 	
  296 v14.1.23
  297     Volker Tanger <volker.tanger@wyae.de>
  298 	* new module: functions.virtual      
  299 	* moved VServer-checks into that module
  300 	* feature: added Virtuzzo/OpenVZ VZbeancounter checks
  301 	* feature: added FileLines check
  302 
  303 v13.5.28
  304     !!! HardwareTemp and HardwareFan deprecated now, use HardwareSensors 
  305     !!! *Show functions are deprecated, use ServerInfo instead
  306     Volker Tanger <volker.tanger@wyae.de>
  307 	- feature: server-specific info now simpler & more flexible with 
  308 		   ServerInfo which extends the server-specific page
  309 	- feature: added current network connections check
  310 		   NetworkConnections 
  311 	- feature: added HardwareSensorBetween
  312 	- feature: added MySQL checks  (Threads, Queries)
  313 
  314 v13.5.14
  315     !!! changed some server-relations 
  316     !!! (i.e. which server the tested function is listed under)
  317     :-) no longer uses (nor needs) GNUplot
  318     Volker Tanger <volker.tanger@wyae.de>
  319 	- bugfix: missing SERVER headline in group entry corrected
  320 	- bugfix: CheckVserverUp/Down now listed under vserver name
  321 		  instead of host server name
  322 	- bugfix: ReapPassive now listed under reaped name
  323 		  instead of host server name
  324 	- bugfix: changed HTML section identification to be
  325 		  independent of time
  326 	- feature: added VSERVER load check
  327 	- feature: graph generation on client side using HTML5-canvas
  328 		   (also fixes broken AVG graph generation)
  329 		   (also is less CPU-intense on the server)
  330 
  331 v12.9.20
  332     !!! change in template to automaticall configure %WWWDIR%
  333     Volker Tanger <volker.tanger@wyae.de>
  334 	- bugfix: copy-paste error in MailQueue check
  335 	- bugfix: wrong CUT parameter in ReapPassiveChecks
  336 	- bugfix: more stable memory check
  337 	- bugfix: HTTPcontentmatch with WGET instead of NC
  338 	 	  more stable when encountering web applications
  339 	- feature: template automatically configures %WWWDIR%
  340 	- feature: added VServer-related checks
  341 
  342 v11.6.27
  343     !!! HardwareTemp and HardwareFan will be deprecated 
  344     !!! in one of the next versions - use HardwareSensor instead
  345     !!! CreateDataFiles was removed as unused
  346     Volker Tanger <volker.tanger@wyae.de>
  347     	- bugfix SAMBAcheck (removed CRON chatter, corrected server name)
  348 	- improved lock message & internal logging to find lockups
  349 	- fixed typo, extended example mosshe script
  350 	- fixed typo in ImportAgents
  351 	- added generic hardware sensor check
  352 	- added IPv6 pings: Ping6Partner, Ping6Loss, Ping6Time
  353 	- added average graphing/plotting
  354 	- added HardwareSensor
  355 
  356 v11.5.10
  357     David Soergel
  358     	- bug report: forgotten gnuplot template
  359     Volker Tanger <volker.tanger@wyae.de>
  360 	- added automatic reload / refresh (5 minutes) to template
  361 	- added SwapCheck - page swaps per second
  362 	- added ImportAgentWget
  363 	- corrected/added NC parameters in functions.network
  364 	- bugfix SSHcheck
  365 	- bugfix HardwareTemp
  366 	- bugfix ImportAgent (linewrap)
  367 	- bugfix SyslogOnChange (missed group change)
  368 	- bugfix table header in template
  369 
  370 v11.2.23
  371     Volker Tanger <volker.tanger@wyae.de>
  372 	- added function CreateDataFiles, creating basis for RRDB-alike data
  373 	- added function PlotDataFiles, which creates & plots RRDB/MRTG-alike 
  374 	  data & graphs using gnuplot
  375 
  376 v10.12.19
  377     Volker Tanger <volker.tanger@wyae.de>
  378 	- bugfix: removed unneccessary ping from ReapPassiveChecks
  379 	- added FileTooOld check
  380 	- added FileTooBig check
  381 
  382 v10.12.16
  383     Christoph R.
  384 	- found typo in SSHcheck function definition	
  385 	- found typo in mosshe main script
  386     Volker Tanger <volker.tanger@wyae.de>
  387 	- removed CentralizeLog due to security concerns
  388 	- added ReapPassiveChecks for incoming/passive monitoring
  389 	  (experimental, please help debugging)
  390 
  391 v10.12.6
  392     Volker Tanger <volker.tanger@wyae.de>
  393 	- added ARPing, idea by Thomas Bullinger http://consult.btoy1.net
  394 	- small bugfix in server listing (when same server is in
  395    	  differnt groups)
  396 	- added a quick-setup-script  "create_mosshe.sh"  which scans the
  397 	  network given and creates a basic monitoring
  398 	- added SSH check
  399 	- added TCPing for generic TCP services
  400   
  401 v10.12.5
  402     !!! this version changes the log format !!!
  403     !!!   - added GROUP column
  404     !!!   - added INFO status
  405     Stefan Adams <stefan@cogentinnovators.com>
  406 	- fixed HDCheck - Showed 0MB free when partition specified not
  407 	  available (Ubuntu 10.04)
  408 	- added INFO status in addition to OK, WARN, ALERT, UNDEF.  This
  409 	  allows simply reporting info without considering it a check
  410 	- add error checking against "mail" not available which resulted 
  411 	  in odd error messages. Now will terminate with reasons.
  412 	- added CentralizeLog - Not always possible for a central server
  413 	  to pull data, this will push data
  414 	- changed use of lynx in ImportAgent to curl.  Seems more commonly
  415 	  available.
  416 	- added functions.localshows - functions dedicated to simply showing
  417 	  info as opposed to checking.  Needn't be its own file, just done
  418 	  for organizational purposes.
  419 	- modified template_head.html to include js and css for collapsable
  420 	  detail -- well suited for INFO showing
  421 	- fixed LogTo* functions to mkdir -p `dirname $LOGFILENAME` to ensure
  422 	  log gets written
  423 	- changed default of MYNAME to $(/bin/hostname)
  424 	- added MYDOM $(/bin/hostname -d) and MYGROUP (obtained from DNS TXT)
  425 	- added Group feature and Group sorting
  426     Volker Tanger <volker.tanger@wyae.de>
  427 	- changed a few functions and file names for better compatibility 
  428 	- changed html indentation for better readability
  429 	- added cron job for log rotation if not done via logrotate or
  430 	  similar system tools
  431 
  432 v10.12.1
  433     Volker Tanger <volker.tanger@wyae.de>
  434 	- added PingLoss & PingTime funcktions for more detailled checks
  435 	- added SmartMonHealth harddisk monitoring
  436 	- added Raid3ware hardware-RAID check
  437 	- added LogToDaily, LogToWeekly, LogToMonthly
  438 
  439 v10.9.14
  440     Volker Tanger <volker.tanger@wyae.de>
  441 	- added "HardwareTemp" for checking temperatures in addition
  442 	  to the old mbmon-checks
  443 	- added "HardwareFan" for checking fan speed in addition
  444 	  to the old mbmon-checks
  445 
  446 v10.6.22
  447     Volker Tanger <volker.tanger@wyae.de>
  448         - nicer GUI: server-list & per-server listing (optional)
  449 	- added output file suitable for passive checks in Nagios.
  450 	  This way MoSShE can be used as safe alternative for NRPE.
  451 
  452 v10.5.18
  453     Volker Tanger <volker.tanger@wyae.de>
  454 	- added SyslogOnChange to write alerts to syslog 
  455 
  456 v10.3.24
  457     Volker Tanger <volker.tanger@wyae.de>
  458 	- added/changed load function:
  459 		LoadCheck  now checks 5-minutes average (instead of 15min window)
  460 		LoadCheckFast  checks 1-minute average
  461 		LoadCheckSlow  checks 15-minutes average
  462 	- corrected POP3check which did not work at all since 
  463 	  upgrade from version 1.4.7 (dumb variable renaming missed)
  464 
  465 v10.2.24
  466     Volker Tanger <volker.tanger@wyae.de>
  467 	- functions.network: redirected error messages by LYNX to /dev/zero
  468 	  to avoid error messages from CRON calls
  469 	- corrected bug in self-locking (never reached timeout)
  470 	- deleted temp files from SLA checks
  471 	- added IDS functions:
  472 		CheckFileChanges
  473           	CheckConfigChanges
  474 	  plus helper-script GENERATE-COMPARES.SH
  475 
  476 v10.2.22
  477     Volker Tanger <volker.tanger@wyae.de>
  478 	- added web interface URL to alert mails
  479 	- added function to selectively alert admins about their system
  480 	- added full logging functions
  481 	- added agglomeration function to allow central server(s),
  482 	  to create one (or more) central servers polling information
  483 	  from agents
  484 
  485 v10.2.18
  486     Volker Tanger <volker.tanger@wyae.de>
  487 	- more of bugfixes, especially in HTML output and SLA checks
  488 	- self-locking to prevent simultaneous checks, including
  489 	  watchdog-restart with admin alerting
  490 
  491 v10.2.10
  492     Volker Tanger <volker.tanger@wyae.de>
  493 	- lots of bugfixes
  494 	- generating summary SLA checks
  495 
  496 v9.11.28
  497     Volker Tanger <volker.tanger@wyae.de>
  498 	- complete rewrite
  499 	- migrating from SSH-on-demand to local-Shell-via-cron
  500 	- generation of local HTML status files
  501 
  502 ========================================================================
  503 
  504 December 2008
  505 v1.4.6 to v1.4.7
  506     * Volker Tanger <volker.tanger@wyae.de>
  507 	- removed bug: restart now clears status files
  508 
  509 ------------------------------------------------------------------------
  510 
  511 November 2007
  512 v1.4.5 to v1.4.6
  513     * Volker Tanger <volker.tanger@wyae.de>
  514 	- added check for local files (e.g. Unix sockets)
  515 	- added check for running daemons/processes
  516 
  517 ------------------------------------------------------------------------
  518 
  519 November 2007
  520 v1.4.4 to v1.4.5
  521     * Volker Tanger <volker.tanger@wyae.de>
  522 	- HDD size check off by one, resulting in wrong numbers
  523 
  524 ------------------------------------------------------------------------
  525 
  526 November 2007
  527 v1.4.3 to v1.4.4
  528     * Volker Tanger <volker.tanger@wyae.de>
  529 	- corrected error messages due to missing date when programs
  530 	  not installed
  531 	- corrected server identification which did misfire when the
  532 	  first part of a server matched a different one
  533 	- added http_time check which returns reply time in milliseconds
  534 	- cleanup of stale (read: all) status files on startup
  535 	
  536 ------------------------------------------------------------------------
  537 
  538 August 2007
  539 v1.4.2 to v1.4.3
  540     * Volker Tanger <volker.tanger@wyae.de>
  541 	- console errors from mosshe_ssh are redirected into /dev/null
  542 
  543 ------------------------------------------------------------------------
  544 
  545 May 2007
  546 v1.4.0 to v1.4.2
  547     * Volker Tanger <volker.tanger@wyae.de>
  548 	- added mosshe_checkrun (no file changes, for debugging)
  549 	- added SMB disk free check (sambafree)
  550 	- corrected filtering RegEx in mosshe.singlerun
  551 
  552 ------------------------------------------------------------------------
  553 
  554 January 2007
  555 v1.3.11 to v1.4.0
  556     * Volker Tanger <volker.tanger@wyae.de>
  557 	- changed name of mosshe checks (mosshe_ssh instead of ssh)
  558 	- added MOSSHE_HTTP check for unencrypted HTTP-based check
  559 	- added Logs/statechange_YEAR.log for easier up-/downtime calculation
  560 
  561 ------------------------------------------------------------------------
  562 
  563 February 2007
  564 v1.4.0 to v1.4.1
  565     * Volker Tanger <volker.tanger@wyae.de>
  566 	- corrected (finally!) memory check in localcheck.functions
  567 
  568 ------------------------------------------------------------------------
  569 
  570 April 2006
  571 v1.3.10 to v1.3.11
  572     * Volker Tanger <volker.tanger@wyae.de>
  573 	- added "noping_" feature
  574 	- added RETRYSLEEP variable
  575 	- removed bug which left stale status information in server stat file
  576 
  577 ------------------------------------------------------------------------
  578 
  579 December 2005
  580 v1.3.9 to v1.3.10
  581     * Volker Tanger <volker.tanger@wyae.de>
  582 	- Changed FTP check to function with more servers 
  583 	  (better/more robust return code separation)
  584 	- cosmetic fixes in web interface
  585 	- updated documents (thanks Eduardo Grosclaude <oso@uncoma.edu.ar>)
  586 	- added "findbuggyline.py" to the Logs directory
  587 
  588 ------------------------------------------------------------------------
  589 
  590 October 2005
  591 v1.3.8 to v1.3.9
  592     * Volker Tanger <volker.tanger@wyae.de>
  593 	- Changed naming logic of log check a bit to allow multiple checks on one
  594 	  single log file, which was impossible before.
  595 
  596 ------------------------------------------------------------------------
  597 
  598 October 2005
  599 v1.3.7 to v1.3.8
  600     * Volker Tanger <volker.tanger@wyae.de>
  601 	- Added log file check (number of occorrencies) to SSH/localcheck.functions
  602 
  603 ------------------------------------------------------------------------
  604 
  605 June 2005
  606 v1.3.6 to v1.3.7
  607     * Volker Tanger <volker.tanger@wyae.de>
  608 	- corrected bug in DNS check
  609     * Ronny Henke <ronny.henke@detewe.de>
  610 	- updated SNMP check for enchanced compatibility
  611 
  612 ------------------------------------------------------------------------
  613 
  614 June 2005
  615 v1.3.5 to v1.3.6
  616     * Volker Tanger <volker.tanger@wyae.de>
  617 	- added MAILQ_CHECK to control the length of the mail queue to
  618 	  localcheck.functions
  619 	- main MoSSHe script: safer removement of stale stat files
  620 	- logs completed checks only to stat files - no longer incomplete stats
  621 	- showall.PY with added date of last check
  622 
  623 ------------------------------------------------------------------------
  624 
  625 May 2005
  626 v1.3.4 to v1.3.5
  627     * Volker Tanger <volker.tanger@wyae.de>
  628 	- loosened filtering RegEx to allow pathnames in disk check
  629 	- changed disk size base for localcheck.embedded to KILObytes
  630 	  instead of MEGAbytes.
  631 	- set 30 seconds timeout for HTTP/HTTPS checks
  632 
  633 ------------------------------------------------------------------------
  634 
  635 May 2005
  636 v1.3.3 to v1.3.4
  637     * Volker Tanger <volker.tanger@wyae.de>
  638 	!!! changed network traffic from byte/sec to the more usued kbit/s    
  639     	- added FTP service check
  640     	- added HTTPS service check
  641 	- added localcheck.embedded_functions for appliances using
  642 	  busybox shell/command replacement
  643 	- added template for known appliances to download:  Innominate mGuard
  644 	- nicened outputs from LOCALCHECK 
  645 
  646 ------------------------------------------------------------------------
  647 
  648 May 2005
  649 v1.3.2 to v1.3.3
  650     * Volker Tanger <volker.tanger@wyae.de>
  651 	- added network checks (usage, errors)       
  652 	- added template for known appliances for download: Astaro
  653 	- webscripts ignore empty lines in servers.conf	
  654 
  655 ------------------------------------------------------------------------
  656 
  657 March 2005
  658 v1.3.1 to v1.3.2
  659     * Volker Tanger <volker.tanger@wyae.de>
  660 	- corrected overzealous check filter in mosshe.singlerun
  661 	
  662 
  663 ------------------------------------------------------------------------
  664 
  665 January 2005
  666 v1.3.0 to v1.3.1
  667     * Eduardo Grosclaude <oso@uncoma.edu.ar>
  668 	- corrected Volker's bugs in RaidCheck()
  669 
  670 ------------------------------------------------------------------------
  671 
  672 January 2005
  673 v1.2.9 to v1.3.0
  674     * Volker Tanger <volker.tanger@wyae.de>
  675 	- added "changes only" notification/alert	
  676 	- stale server status files (i.e. when server removed from
  677   	  monitoring) will be automatically removed	
  678     * Eduardo Grosclaude <oso@uncoma.edu.ar>
  679 	- added Linux-SoftRAID monitoring for LOCALCHECK
  680 
  681 ------------------------------------------------------------------------
  682 
  683 December 2004
  684 v1.2.8 to v1.2.9
  685     * Volker Tanger <volker.tanger@wyae.de>
  686 	- improved HTTP check in way easier checking for URLs
  687 	  which unfortunately breaks compatibility...
  688 	- removed bug that disabled logging ($LOGFILE was not set)
  689 
  690 ------------------------------------------------------------------------
  691 
  692 December 2004
  693 v1.2.7 to v1.2.8
  694     * Volker Tanger <volker.tanger@wyae.de>
  695 	- removed bug introduced with 1.2.7 when checking for set
  696 	  environment paths
  697 	- *OUCH*  RegExp gone bad removed all check results. Corrected.
  698 	  Sorry guys, must have slipped somewhere...
  699 
  700 ------------------------------------------------------------------------
  701 
  702 December 2004
  703 v1.2.6 to v1.2.7
  704     * Volker Tanger <volker.tanger@wyae.de>
  705 	- split MOSSHE into three parts - config, loop and single check, 
  706 	  which helps testing setups.
  707 
  708 ------------------------------------------------------------------------
  709 
  710 November 2004
  711 v1.2.5 to v1.2.6
  712     * Volker Tanger <volker.tanger@wyae.de>
  713 	- repaired quite some bugs in snmp check, now numeric values
  714 	  are set for all fields. Changed snmp.* parameter files accordingly
  715 	- improved MBCheck in localcheck.functions 
  716 
  717 ------------------------------------------------------------------------
  718 
  719 November 2004
  720 v1.2.4 to v1.2.5
  721     * Volker Tanger <volker.tanger@wyae.de>
  722 	- quite some bugs in localcheck.functions (introduced with helper
  723 	  binary checks - usually missing "fi"s)
  724 	- nailed down the path to "localcheck.functions"
  725 	 - added check result sanitizing within mosshe script
  726 	 - corrected missing UNDEF listing in web interface(s) and mosshe
  727 	 - corrected SMTP check behaviour when service completely down
  728     * Nicholas Fechner <fechner@ponton-consulting.de>
  729 	- improved HTTP check - now you can define expected returns (e.g.
  730 	  "302 Document moved") as OK, too.
  731 
  732 ------------------------------------------------------------------------
  733 
  734 November 2004
  735 v1.2.2 to v1.2.4
  736     * Volker Tanger <volker.tanger@wyae.de>
  737 	- added safety checks for checks that need aditional/external 
  738 	  programs (smmp, localcheck.tempcheck)
  739     * Eduardo Grosclaude  <oso@machi.uncoma.edu.ar>    
  740 	- corrected bug in alert handling (line 89)
  741 	- added MBMonCheck (CPU temperatur, fan speed, etc...)
  742 	
  743 ------------------------------------------------------------------------
  744 
  745 November 2004
  746 v1.2.1 to v1.2.2
  747     * Volker Tanger <volker.tanger@wyae.de>
  748 	- corrected SSH / SSH1 checks, did not notice server/SSH gone 
  749 	  completely. Will now return "UNDEF" when gone.
  750 	- plit "localcheck" into a config and a funtions part to make
  751 	  updates much easier (to "just copy").
  752     + Eduardo Grosclaude  <oso@machi.uncoma.edu.ar>    
  753 	- updated README re. localcheck.include that was split in the last
  754 	  version 
  755 	- corrected cron_mosshe to enhance compatibility
  756 	- corrected CheckMem funtion in loclcheck
  757 	- added comments for the SSH tests
  758 	
  759 ------------------------------------------------------------------------
  760 
  761 November 2004
  762 v1.2.2 to v1.2.3
  763     * Volker Tanger <volker.tanger@wyae.de>
  764 	- added "UNDEF" status to global_alert and mosshe
  765 	
  766 ------------------------------------------------------------------------
  767 
  768 October 2004
  769 v1.2.0 to v1.2.1
  770     * Volker Tanger <volker.tanger@wyae.de>
  771 	- corrected HTTP check, did not notice a server gone completely
  772 	- Added "UNDEF" alerting to alerts and web interface
  773 	
  774 ------------------------------------------------------------------------
  775 
  776 October 2004
  777 v1.1.7 to v1.2.0
  778     * Volker Tanger <volker.tanger@wyae.de>
  779 	- corrected PrintCheck warning output (did not show limit)
  780 	- delete status files of servers no longer in use
  781 	- changed alert basics so we can add other alerts soon...
  782 	
  783 ------------------------------------------------------------------------
  784 
  785 October 2004
  786 v1.1.6 to v1.1.7
  787     * Yann Pilpre <yann@pilpre.com>
  788 	- increased portability of disk check in LOCALCHECK when using "long"
  789 	  devices like /dev/ide/host0/bus0/target0/lun0/part7
  790 	
  791 ------------------------------------------------------------------------
  792 
  793 October 2004
  794 v1.1.5 to v1.1.6
  795     * Volker Tanger <volker.tanger@wyae.de>
  796 	- corrected disk check in LOCALCHECK so hanging network mounts do 
  797 	  not hang MOSSHE
  798 	
  799 ------------------------------------------------------------------------
  800 
  801 October 2004
  802 v1.1.4 to v1.1.5
  803     * Volker Tanger <volker.tanger@wyae.de>
  804 	- added SSH V.1 remote check	
  805 	
  806 ------------------------------------------------------------------------
  807 
  808 October 2004
  809 v1.1.3 to v1.1.4
  810     * Volker Tanger <volker.tanger@wyae.de>
  811 	- added -n flag to PING to make independent on DNS
  812 	- added DNS service test
  813 	- added SAMBA service check
  814 	- added printer and memory checks to LOCALCHECK
  815 	
  816 ------------------------------------------------------------------------
  817 
  818 September 2004
  819 v1.1.2 to v1.1.3
  820     * Volker Tanger <volker.tanger@wyae.de>
  821 	- added a total count of checks/servers to SHOWALL overview
  822 	- increased compatibility by changing shell integer handling	
  823     * Chad Lepto <clepto@null.net>
  824 	- suggested adding Logs directory to archive
  825 	- currected use of HEAD command line parameters	
  826 	- added compatibility documentation hints for README
  827 	
  828 ------------------------------------------------------------------------
  829 
  830 September 2004
  831 v1.1.1 to v1.1.2
  832     * Volker Tanger <volker.tanger@wyae.de>
  833 	- added IMAP2 and IMAP3 checks
  834 
  835 ------------------------------------------------------------------------
  836 
  837 September 2004
  838 v1.1.0 to v1.1.1
  839     * Volker Tanger <volker.tanger@wyae.de>
  840 	- fixed small variable initialization error in tactical.oy (webinterface)
  841 
  842 ------------------------------------------------------------------------
  843 
  844 August 2004
  845 v1.0.4 to v1.1.0
  846     * Volker Tanger <volker.tanger@wyae.de>
  847 	- logfile rotated  daily
  848 	- added SNMP queries
  849 	- trend showing min/avg/max values
  850 
  851 ------------------------------------------------------------------------
  852 
  853 August 2004
  854 v1.0.3 to v1.0.4
  855     * Volker Tanger <volker.tanger@wyae.de>
  856 	- parametric command (http.tomcat)
  857 	- PING with execute-time (well, better than nothing...)
  858 	- central config file(s) for webview
  859 	- number of shells listed as numeric value 
  860 	- show mount point in addition to "Disk Free" message
  861 
  862 ------------------------------------------------------------------------
  863 
  864 August 2004
  865 v1.0.2 to v1.0.3
  866     * Volker Tanger <volker.tanger@wyae.de>
  867 	- changed PING behaviour to do retries, resulting in less false
  868 	  positives. A single ICMP packet is lost sometimes, after all...
  869 	- corrected tactical.py - missing key in "stati" dictionary
  870 
  871 ------------------------------------------------------------------------
  872 
  873 August 2004
  874 v1.0.1 to v1.0.2
  875     * Volker Tanger <volker.tanger@wyae.de>
  876 	- removed (irrelevant but annoying) bug with VERSION setting
  877 	- removed bug in shell check
  878 	- removed absolute (and programming-specific) path for HTTP check
  879 	- added cron handler	
  880 
  881 ------------------------------------------------------------------------
  882 
  883 July 2004
  884 v1.0.0 to v1.0.1
  885     * Volker Tanger <volker.tanger@wyae.de>
  886 	- added documentation and published 
  887 
  888 ------------------------------------------------------------------------
  889 
  890 late 2003
  891 (started the project)
  892     * Volker Tanger <volker.tanger@wyae.de>
  893 	- wrote the "core system" and mail alerts
  894 	- started into the web interface
  895 
  896 ------------------------------------------------------------------------