pandorafms/pandora_server/util
slerena bcf0d1e1c5 2009-01-12 Sancho Lerena <slerena@artica.es>
This is a MAJOR upgrade that _BREAK_ your current 2.1 trunk version.
	Needs an upgrade of DB Schema. At this time no conversion tool has been
	provided. Libs and console needs also to be re-deployed.
	
	* pandora_server: KeepAlive module is now processed OUTSIDE 
	pandora_lastagentcontact() function, in it's own function. This makes that
	keepalive only be refreshed on agent data, not network. This should 
	make keepalive works as "agent down detector" in a definitive way, also
	it's an important performance improvement operation.
	
	* pandora_db.pl: Performance improvements. If compact days = 0 skip. 
	Compactation and delete needs to be improved in speed.
	
	* DB.pm: Added more generic DB access functions (db_insert, db_update, 
	db_delete). Major rewrite of pandora_writestate(). Now uses three different
	values for status (NORMAL, WARNING, CRITICAL) and manage all modules like
	old monitor modules. Uses new fields for control event flip/flop with a 
	counter. Also uses new WARNING/CRITICAL thresholds to calculate in store-
	time the status.
	
	pandora_accessupdate() Function now uses only utimestamp. Tagente_datos and 
	tagente_datos_string has been updated and do not use timestamp (string) and
	id_agent index anymore. Big improvement has been noticed in performance 
	tests after this change !. tagente_datos_inc has been modified also.
	
	pandora_writedata() needs a lot of improvement :(. Added support for 
	modules without history. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1325 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-12 02:44:39 +00:00
..
SLES10 2008-11-11 Sancho Lerena <slerena@artica.es> 2008-11-11 12:32:58 +00:00
pandora2ast 2008-08-28 Evi Vanoost <vanooste@rcbi.rochester.edu> 2008-08-29 16:05:08 +00:00
plugin 2008-12-03 Sancho Lerena <slerena@artica.es> 2008-12-03 12:18:13 +00:00
PandoraFMS 2007-06-07 Sancho Lerena <slerena@artica.es> 2007-06-07 10:30:03 +00:00
n2p.README 2007-12-17 Ramon Novoa <rnovoa@artica.es> 2007-12-17 17:04:37 +00:00
n2p.pl 2007-12-17 Ramon Novoa <rnovoa@artica.es> 2007-12-17 17:04:37 +00:00
pandora_DBI_test.pl 2007-06-25 Sancho Lerena <slerena@artica.es> 2007-06-25 12:07:41 +00:00
pandora_checkdep.pl 2007-06-25 Sancho Lerena <slerena@artica.es> 2007-06-25 12:05:52 +00:00
pandora_db.pl 2009-01-12 Sancho Lerena <slerena@artica.es> 2009-01-12 02:44:39 +00:00
pandora_dbstress.README 2008-03-13 Sancho Lerena <slerena@gmail.com> 2008-03-13 18:33:44 +00:00
pandora_dbstress.pl 2008-09-08 Raul Mateos <raulofpandora@gmail.com> 2008-09-08 14:30:25 +00:00
pandora_exec 2008-07-31 Ramon Novoa <rnovoa@artica.es> 2008-07-31 15:33:44 +00:00
pandora_snmp.README 2007-06-25 Sancho Lerena <slerena@artica.es> 2007-06-25 12:05:52 +00:00
tentacle_serverd 2008-05-21 Ramon Novoa <rnovoa@artica.es> 2008-05-21 08:27:02 +00:00