Commit Graph

332 Commits

Author SHA1 Message Date
slerena 67c8182ec4 2009-12-28 Sancho Lerena <slerena@artica.es>
* lib/Config.pm: pandora_exec default at /usr/bin




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2253 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-28 18:43:10 +00:00
slerena 2c9fe7ea2d 2009-12-28 Sancho Lerena <slerena@artica.es>
* util/pandora_logrotate: Optimized logrotate setup.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2251 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-28 18:20:50 +00:00
slerena c0e26cac19 2009-12-28 Sancho Lerena <slerena@artica.es>
* pandora_server.spec: Start tentacle after install breaks the
        Upgrade process on RPM (error if already running).

        * util/pandora_server: Added mysql as "should-start" in LSB tags



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2250 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-28 18:00:53 +00:00
Ramon Novoa beaa525096 2009-12-23 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm,
          lib/PandoraFMS/ReconServer.pm,
          lib/PandoraFMS/DataServer.pm: Use agent provided interval for agent
          auto creation. The default interval was being used instead.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2237 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-23 16:18:33 +00:00
slerena c8273efad4 2009-12-23 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/Core.pm: Fixed some typos in planned downtime subroutine.

        * bin/pandora_server: Some operations like planned downtime check and
        server down detection are put in a low-priority check, more efficient and
        less time-consuming.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2235 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-23 12:51:12 +00:00
Ramon Novoa 4b70e70e41 2009-12-21 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Fixed agent check in logger call.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2228 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-21 17:51:52 +00:00
slerena 400db17068 2009-12-21 Sancho Lerena <slerena@artica.es>
* util/tentacle_served: Fixed call to get_pid, using a width of
        * 300 cols.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2225 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-21 12:03:36 +00:00
Ramon Novoa 999fcfef3a 2009-12-21 Ramon Novoa <rnovoa@artica.es>
* util/pandora_xml_stress.pl: Properly read agent_interval
          configuration token.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2224 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-21 10:16:01 +00:00
slerena 72653518fc 2009-12-18 Sancho Lerena <slerena@artica.es>
* pandora_server.spec: Added xprobe2 dep (we made the xprobe2 rpm package
	so now it's possible to satisfy dependency). Alter all paths to binary from
	/usr/local/bin to /usr/bin. Other minor issues in RPM fixed.

	* pandora_server_installer: Added description to get deps from zypper and yum.
	Installing services in debian/ubunty systems with update-rc.d. 
	Make check to link from /usr/local/bin to /usr/bin if install
	deploy binary at /usr/local. /usr/bin is the new default.

	* pandora_server_upgrade: /usr/bin as new default. Link issue fixed.

	* DEBIAN/make_deb_package.sh: Fixed Makefile replace regexp to replace all 
	target binary to put then in the jail under /usr/bin path.

	* DEBIAN/postinst: Fixed path for tentacle_server at /usr/bin

	* DEBIAN/prerm: Using native debian commands to remove services.

	* Tools.pm: If there is a problem loading something in the enterprise, show it
	to log.

	* util/pandora_server,
	util/tentacle_serverd: new path to /usr/bin/
	
	* pandora_server.conf: new path for pandora_exec to /usr/bin/

	* util/plugin/udp_nmap_plugin.sh: Check parameters before calling to namp.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2220 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-18 18:22:33 +00:00
raulmateos 206e69c947 2009-12-18 Raul Mateos <raulofpandora@gmail.com>
* pandora_dbstress.pl, pandora_db.pl: Clean code, updated year.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2216 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-18 13:43:02 +00:00
Ramon Novoa 3f7abb97a0 2009-12-18 Ramon Novoa <rnovoa@artica.es>
* DEBIAN/control: Updated version.

        * util/pandora_db.pl: Added history database support. Re-wrote some
          parts.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2215 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-18 11:26:13 +00:00
mdtrooper 3a1726b8d7 2009-12-17 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/postinst: change the code to insert as service the server and
	the server tentacle.
	Fixes: 2911327

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2210 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-17 12:03:41 +00:00
raulmateos ca3b8a5da4 2009-12-16 Raul Mateos <raulofpandora@gmail.com>
* DEBIAN/make_deb_package.sh, lib/PandoraFMS/Config.pm, README,
	pandora_server_upgrade, pandora_server_installer: Preparing release
	changing version to final. Clean code.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2208 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-16 18:15:25 +00:00
raulmateos af83debc73 2009-12-14 Raul Mateos <raulofpandora@gmail.com>
* util/pandora_db.pl: Improved help.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2194 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-14 09:37:41 +00:00
raulmateos 21fcdbe7c8 2009-12-14 Raul Mateos <raulofpandora@gmail.com>
* lib/PandoraFMS/Core.pm: Changed spaces for tabs.

	* lib/PandoraFMS/Config.pm: Updated build to last change. Changed spaces for tabs.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2193 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-13 23:38:31 +00:00
raulmateos 518faddbf7 2009-12-07 Raul Mateos <raulofpandora@gmail.com>
* pandora_server_installer: Added variables and used in the code.
	Added Ubuntu specific stop scripts. Added link removing with update-rc.d.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2168 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-07 14:57:03 +00:00
slerena 36203fb9d3 2009-12-05 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/Core.pm: Fixed bug #2905434




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2164 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-05 15:31:07 +00:00
raulmateos 34528b69bd 2009-11-28 Raul Mateos <raulofpandora@gmail.com>
* lib/PandoraFMS/Config.pm: Changed string from RC2 to RC3.
	Updated build due to last changes.

	* DEBIAN/control, DEBIAN/make_deb_package.sh: Changed string from rc2
	to RC3

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2140 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-28 13:15:58 +00:00
Ramon Novoa abc7664bf3 2009-11-23 Ramon Novoa <rnovoa@artica.es>
* util/pandora_db.pl: Removed the last call to UnixDate.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2125 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-23 17:57:52 +00:00
slerena 10cddb35e2 2009-11-19 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/Core.pm: Added id_alert to alert macros. Could be
        useful to pass a numeric ID to do alert correlation externally to 
        Pandora FMS.

        * util/plugin/ssh_pandoraplugin.sh: Fixed bug in user parameter 
        processing. Thanks Victoria.

        * util/plugin/udp_nmap_plugin.sh: Removed output of errors.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2117 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-19 13:40:42 +00:00
Ramon Novoa b7d4b96e54 2009-11-19 Ramon Novoa <rnovoa@artica.es>
* Check for empty module/agent when processing
          module data.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2116 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-19 00:44:30 +00:00
Ramon Novoa 287a76b751 2009-11-13 Ramon Novoa <rnovoa@artica.es>
* conf/pandora_server.conf: Updated configuration tokens.

        * lib/PandoraFMS/SNMPServer.pm, lib/PandoraFMS/Config.pm,
          lib/PandoraFMS/PluginServer.pm, lib/PandoraFMS/PredictionServer.pm,
          lib/PandoraFMS/Core.pm, lib/PandoraFMS/ReconServer.pm,
          lib/PandoraFMS/DataServer.pm, lib/PandoraFMS/NetworkServer.pm,
          lib/PandoraFMS/Tools.pm, lib/PandoraFMS/WMIServer.pm,
          bin/pandora_server: Standardized and improved logging.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2108 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-13 13:52:48 +00:00
Ramon Novoa 6b28deefe5 2009-11-10 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Fixed forced alert execution. Substitute alert
          macros after decoding HTML entities.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2102 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-10 17:04:48 +00:00
Ramon Novoa ec6168555e 2009-11-10 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/PredictionServer.pm: Fixed bug #2894950.

        * lib/PandoraFMS/DataServer.pm: Fixed bug #2894737.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2101 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-10 12:25:10 +00:00
slerena 4831e3ebdf 2009-11-08 Sancho Lerena <slerena@artica.es>
* util/pandora_checkdep.pl: Deleted old dep checker, not used anymore.
	
	* pandora_server_upgrade: Several fixes, adding logrotate conf and more
	link, permissions and startup scripts stuff fixed.
	
	* DEBIAN/control: Updated to RC2, deleted old deps not used anymore.
	
	* DEBIAN/postinst: Simplified some stuff who don't work nice (startup 
	script links, logrotate missing and pandora user doesn't exist. Also problems
	with permissions with tentacle_server.
	
	* DEBIAN/prerm: Simplified, fixed problems deleting startup links.
	
	* DEBIAN/conffiles: Was not working and causes pandora_server.conf to do
	not exist in target systems. Removing it works nice.
	
	DEBian packages works 100%, tested on latest Debian Stable from scratch.
	



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2098 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-10 00:33:16 +00:00
slerena d6065cb576 2009-11-07 Sancho Lerena <slerena@artica.es>
* pandora_server_installer: A few bunch of upgrades for SUSE, added
	logrotate.d and some minor fixes.

	* pandora_server_upgrade: Some minor fixes.

	* PandoraFMS/Tools.pm: Fixes to internal SMTP Auth mechanism. 

	* util/pandora_logrotate: Much better configuration for pandora 
	logrotate config, this also rotate pandora_server.error and delete
	files after 5 days.

	* util/pandora_server: more fixes and small improvements to daemon
	script: Removed Mysql dependency on LSB, added variable for let user
	to choose timeout before KILL, and now checks for especific .conf file
	on detecting PID, this should work with several servers running in the
	same server.

	* util/plugin/ssh_pandoraplugin.sh: rewritten to use real parameters
	and be more verbose and easy to integrate in Pandora FMS Plugin server.

	* util/plugin/udp_nmap_plugin.sh: Same as above.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2097 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-08 01:38:04 +00:00
raulmateos bff6274be9 2009-11-06 Raul Mateos <raulofpandora@gmail.com>
* lib/PandoraFMS/Config.pm: Changed string from RC1 to RC2.
	Use tabs instead spaces. Updated build due to last changes.

	* pandora_server_installer: Added text to help the user to change the
	default password. Added TO DO.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2091 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-06 19:48:48 +00:00
Ramon Novoa 071bf227bf 2009-11-06 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Tools.pm: Fixed bug #2893302.

        * util/pandora_db.pl: Fixed bug #2893303.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2090 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-06 15:57:06 +00:00
Ramon Novoa a3b9658b8a 2009-11-04 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Fixed a typo.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2082 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-04 17:51:27 +00:00
Ramon Novoa 9031e95e36 2009-11-04 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DB.pm, lib/PandoraFMS/Core.pm,
          lib/PandoraFMS/DataServer.pm, lib/PandoraFMS/WMIServer.pm,
          bin/pandora_server, util/pandora_db.pl: Fixed all pending tracker
          bugs.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2081 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-04 17:49:42 +00:00
mdtrooper 50eb30eb9b 2009-11-04 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/make_deb_package.sh: move the script to make the deb package into
	the DEBIAN and change some things into the sourcecode for the directory
	change.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2078 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-04 15:45:24 +00:00
mdtrooper 0b6cbd1cb4 2009-12-03 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/control, DEBIAN/md5sums, DEBIAN/postinst, DEBIAN/prerm,
	DEBIAN/conffiles: debian base files for to make a .deb package.
	* make_deb_package.sh: shell script for make automatically the deb package
	for standard installation in a Debian Lenny, this script make a package
	"pandorafms.server_3.0.0.rc1.deb" and the other necesary packages (perl).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2072 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-03 17:18:52 +00:00
Ramon Novoa 31fa8b3d93 2009-11-01 Ramon Novoa <rnovoa@artica.es>
* util/pandora_db.pl: Date::Manip is not used anymore.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2068 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-01 20:43:04 +00:00
slerena 74baa607ba 2009-10-26 Sancho Lerena <slerena@artica.es>
* spec: Added net-tools dependency (includes ping and traceroute).
        Updated release of spec.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2056 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-27 20:58:38 +00:00
Ramon Novoa 2792f5b2d5 2009-10-21 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Fixed max_min alerts.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2044 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-21 10:01:34 +00:00
slerena 07af5da2d2 2009-10-21 Sancho Lerena <slerena@artica.es>
First bug detected & fixed after RC1, whoah :/

        * lib/PandoraFMS/Core.pm: Max/Min alert logic is inverted on match check
        box/switch option in interface. Fixed in server code. This is applicable
        only on max & min alert (when used both).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2043 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-20 23:35:05 +00:00
slerena cf8e8ca556 2009-10-20 Sancho Lerena <slerena@artica.es>
RC1 Release date

        * lib/Config.pm: Updated build.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2041 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-20 21:27:41 +00:00
slerena 7ba771e85e 2009-10-20 Sancho Lerena <slerena@artica.es>
* util/pandora_server: Fixed incorrect message for SUSE daemon when stop
        the server.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2038 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-20 11:35:45 +00:00
Ramon Novoa 63cfd01ff2 2009-10-20 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/SNMPServer.pm: Save as much information as possible if
          the trap could not be properly parsed.

        * lib/PandoraFMS/Core.pm: Changed the name of the alert name macro to
          avoid conflicts with other macros.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2037 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-20 11:19:08 +00:00
slerena e1232298d2 2009-10-20 Sancho Lerena <slerena@artica.es>
* tools.pm, core.pm: Float data with "," will be replace this
        character with "." and manage it properly as float.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2035 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-19 10:42:42 +00:00
slerena a4e28346dc 2009-10-16 Sancho Lerena <slerena@artica.es>
* util/pandora_server: Updated error string when service cannot startup
        (show both pandora_server.log and pandora_server.error)




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2028 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-16 14:56:25 +00:00
Ramon Novoa 049fc54e6a 2009-10-16 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DataServer.pm: Do not process disabled modules.

        * bin/pandora_server: Start logging before trying to connect to the DB.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2026 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-16 11:26:22 +00:00
slerena cd2523b6fd 2009-10-16 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/Core.pm: Keepalive was not working properly. Keepalive
        moduletype is now managed like a proc (0 = BAD) in get_status function.

        * util/pandora_server: Start/Stop daemon now works and problem has been
        fixed, and I'm very happy after so many days trying to figure what the
        hell was happening here :-)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2025 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-15 20:47:49 +00:00
slerena b56c3d8ef7 2009-10-15 Sancho lerena <slernea@artica.es>
* lib/PandoraFMS/SNMPServer.pm: Fixed small problem in snmp2agent
        forwarding and better implementation of server error control.
        Also solved problem with duplicated traps in SNMP console.

        * lib/PandoraFMS/Server.pm: better implementation of server error control.

        * lib/PandoraFMS/Core.pm: SNMP alerts now show the IP in _agent_ macro   

        * lib/PandoraFMS/Tools.pm: Better management of enterprise_hook on 
        opensource version. 

        * util/alert_multicast.pl: Added sample of alert script for render
        alerts as multicast XML.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2023 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-15 11:23:40 +00:00
slerena 80160587a7 2009-10-13 Sancho Lerena <slerena@artica.es>
* util/pandora_server: Incremented shutting down grace time to 60 secs
        because in some systems could take a lot of time to close all threads.

        * conf/pandora_server.conf: Better defaults for Pandora FMS server default
        install.

        * Config.pm: Hey, this is officially RC1....



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2018 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-13 22:47:53 +00:00
slerena 6880d40500 2009-10-13 Sancho Lerena <slerena@artica.es>
* pandora_server_installer: Fixed usage of old pathnames /usr/share/pandora
	Fixed name of pandora_db cron.daily entry.
	
	* bin/pandora_server: Multicast status report now report each 30 x 
	server_threshold. 
	
	* lib/Core.pm: Alert event now show more information (module name). Alert
	messages like XXX going down to / going up from are replaced by more 
	simple "going to CRITICAL/NORMAL/WARNING", I hope this will be more clear.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2016 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-13 19:06:17 +00:00
Ramon Novoa 7aefdd1bf7 2009-10-09 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm, bin/pandora_server: Re-enabled multicast
          reports (Enterprise feature).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2014 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-09 12:12:16 +00:00
Ramon Novoa ffb3d4425c 2009-10-09 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Server.pm, bin/pandora_server: Small fixes to avoid
          warnings.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2013 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-09 10:16:19 +00:00
Ramon Novoa 0205f8fd9b 2009-10-07 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/SNMPServer.pm,
          lib/PandoraFMS/DataServer.pm: Reverted the way enterprise functions
          are called.

        * lib/PandoraFMS/Server.pm
          lib/PandoraFMS/ProducerConsumerServer.pm: Handle fatal errors and
          save error messages (useful for console event generation).

        * lib/PandoraFMS/Tools.pm: Improved enterprise_hook.

        * lib/PandoraFMS/Core.pm: Merged pandora_event_status into
          pandora_event.

        * bin/pandora_server, lib/PandoraFMS/Config.pm: Added restart on error
          and auto-restart features.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2010 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-07 15:10:14 +00:00
slerena 585aef0535 2009-09-30 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/DataServer.pm: Reduced timeout for sleep
        on BADXML from 60 to 10 sec. This could result in bottleneck
        when several BADXML found at the same time. Default code
        retries 3 times x 10 secs, time enough to discard and retry.

        * util/pandora_db.pl: Disabled non-init modules are not deleted.
        This is needed for disabled modules coming from a remote conf
        (manual or by policy) who cannot execute in agent. If are
        deleted each day after purge, will appear as "unknown" and     
        admin will need to disable it again, and the same next day.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1994 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-30 16:24:02 +00:00