Commit Graph

121 Commits

Author SHA1 Message Date
zarzuelo e20081f88a 2010-05-19 Sergio Martin <sergio.martin@artica.es>
* util/plugin/snmp_process.pl: Added the SNMP Server 
	Plugin to Server.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2756 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-19 17:03:16 +00:00
Ramon Novoa 6d8f871893 2010-05-19 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/SNMPServer.pm, lib/PandoraFMS/Config.pm,
          lib/PandoraFMS/Server.pm, lib/PandoraFMS/NetworkServer.pm,
          lib/PandoraFMS/GIS.pm, lib/PandoraFMS/WMIServer.pm,
          lib/PandoraFMS/PluginServer.pm, lib/PandoraFMS/ProducerConsumerServer.pm,
          lib/PandoraFMS/PredictionServer.pm, lib/PandoraFMS/Core.pm,
          lib/PandoraFMS/ReconServer.pm, lib/PandoraFMS/DataServer.pm,
          bin/pandora_server, util/pandora_db.pl, util/gpx2pandora_agent_data.pl,
          util/pandora_manage.pl, util/pandora_dbstress.pl: Added the default library path
          used by RPM and DEB packages.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2755 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-19 16:59:00 +00:00
slerena 3e3f4d6783 2010-05-19 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/DataServer.pm: XML data files coming from a disabled
        agent are now discarded.

        * util/pandora_manage.pl: Added CLI mode to disable/enable agents from
        a given group. This will help admins to implement recurrent downtime periods.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2751 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-19 13:40:21 +00:00
Ramon Novoa 9a2d5edbbb 2010-05-12 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/ReconServer.pm: Make sure the agent exists
          when searching by IP address. Fixes bug #2957130.

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




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2711 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-12 15:33:19 +00:00
slerena 4113b9b697 2010-05-11 Sancho Lerena <slerena@artica.es>
* util/plugin/bgp_plugin.pl: New plugin: Connect the device via SNMP
        and performs a check of each BGP connection to verify its active
        status. If cannot connect or BGP has no connection or a single
        connection its down, returns a CRITICAL state. It uses password to
        provide SNMP community for device. It should work with SNMP v1 and v2c




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2693 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-11 14:54:52 +00:00
slerena f6eed84e80 2010-05-11 Sancho Lerena <slerena@artica.es>
* util/dns_plugin.sh: New DNS plugin for the Plugin Server. It
	checks a Domain/IP pair and also get time to get response from
	a given DNS server (ms).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2691 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-11 09:03:15 +00:00
slerena fd507a9232 2010-04-28 Sancho Lerena <slerena@artica.es>
* util/gpx2pandora_agent_data.pl: Added support to process
        gpx files with tracks, plus the RTE format.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2628 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-28 18:53:26 +00:00
Ramon Novoa 973ddbe204 2010-04-26 Ramon Novoa <rnovoa@artica.es>
* util/pandora_db.pl: Fixed the purge script. Did not work if
          any of the data tables was empty.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2610 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-26 11:50:30 +00:00
slerena f1e6d19fe6 2010-03-24 Sancho Lerena <slerena@artica.es>
* util/pandora_manage.pl: New tool to do things in Pandora (system wide)
    from the command line. This pretends to unify small maintance tips on
    Pandora, intead have a miriad of small tools. First features are to 
    enable/disable alerts globally and to disable the enterprise ACL feature.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2523 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-24 13:09:09 +00:00
eric_ross_c 353d7e5f79 2010-03-19 Eric Ross <eric.ross.c@gmail.com>
* util/pandora_db.pl: Added log4x tables to purge



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2518 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-19 14:54:16 +00:00
slerena 2869f4a377 2010-03-10 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/Core.pm: Automonitoring includes now status of 
        database maintance and warns if more than 24hrs without running 
        database maintance script.

        * util/pandora_db.pl: Added support to new purge parameters for
        event, audits, snmp traps, string data and gis data. Added new 
        section to clean orphaned information (using an application - 
        implemented database referencial integrity model).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2500 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-10 16:03:38 +00:00
mdtrooper 67be592500 2010-03-10 Miguel de Dios <miguel.dedios@artica.es>
* util/pandora_xml_stress.conf: deleted conf file, I upload by fail.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2499 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-10 15:08:53 +00:00
slerena 3bf7f1594a 2010-03-04 Sancho Lerena <slerena@artica.es>
* conf/pandora_server.conf: Several typos and better formating.

        * util/change_remoteconfig.pl: Tool to massive edit the server IP 
        in remote configuration files. Could be modified to alter any other 
        fixed field.

        * util/gpx2pandora_agent_data.pl: Transform a standard GPX GIS data 
        file in several Pandora FMS XML data server compatible files with GIS
        data.

        * util/gis.README: Small "documentation" on how to start to using GIS
        in the Server.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2474 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-04 19:55:19 +00:00
raulmateos 7c5f8f5336 2010-03-02 Raul Mateos <raulofpandora@gmail.com>
* util/tentacle_serverd, util/pandora_server: Updated year. Changed
	spaces to tabs.

	* bin/tentacle_server: Updated year. Updated URL for documentation.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2447 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-02 15:33:43 +00:00
slerena 2bb079857f 2010-02-27 Sancho Lerena <slerena@artica.es>
* util/tentacle_serverd,
        util/pandora_server: Fixed "stop" problem in debian/ubuntu, which was
        due a problem in redefinition of several LSB functions, stop function
        was not working fine and exit condition was ignored.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2432 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-26 23:01:18 +00:00
mdtrooper 132ab90b41 2010-02-23 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: in function "activateAjaxRefresh" add the
	posibility to change refresh time in execution time.
	
	* include/functions_ui.php: add in the "print_page_header" the feature to
	pass a array of buttons/items.

	* include/javascript/openlayers.pandora.js: add the function
	"changeRefreshTime" for change the refresh time.

	* operation/gis_maps/render_view.php: change the top of page for to
	adapt the new header, and add refresh control.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2408 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-23 16:36:24 +00:00
slerena 5b1ce7cc82 2010-02-18 Sancho Lerena <slerena@artica.es>
* conf/pandora_server.conf: New option, self_monitoring.

	* lib/PandoraFMS/Config.pm: Support for new option self_monitoring.

	* lib/PandoraFMS/Core.pm: 	Access update is not refreshed by network 
	modules anymore (gaining a lot of performance here). Added new functions
	for internal statistics and automonitoring.

	* lib/PandoraFMS/Tools.pm: New funtions for self_monitoring.

	* bin/pandora_server: Modified error handler to avoid show info about bad
	load of some optional libraries. 
	Modified general loop of maintance tasks in three
	blocks: high, medium and low latency. Placed here in fixed steps (5, 30 and
	one minute) all tasks pending before by server_threshold. Added 
	self_monitoring and internal statistic mode (for group and servers).

	* util/pandora_db.pl: Update tconfig with last time of database maintance 
	time 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2377 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-18 17:21:40 +00:00
slerena 70feefaf5c 2010-02-10 Sancho Lerena <slerena@artica.es>
* bin/pandora_server: Better error management, avoiding to show Enterprise
	loading errors, and showing in console critical errors, helping to identify
	silly errors like DB credentials, etc.
	Added usage of pandora_get_sharedconfig() to get configuration from DB.

	* Config.pm: Updated build. Added pandora_get_sharedconfig(). Force three
	config tokens to be readed from DB, using default values if cannot be readen
	from database (agentaccess, realtimestat and stats_interval).

	* Core.pm: Added new parameter to pandora_event() to pass status of the 
	event (validated, not validated). Implemented auto-validation of low 
	priority events: normal/ok events will be always shown as autovalidated, and
	warning and normal events will be validated with critical events, and when
	a module is restored (normal/ok), all it's warning/critical pending events
	will be validated. 

	Fixed also bug with FF Threshold who doesnt' trigger events until FF + 1 
	instead FF value.

	* Server.pm,
	NetworkServer.pm,
	Dataserver.pm,
	ReconServer.pm: Raise event with status 0 (non validated) by default.

	* NetworkServer.pm: Implemented support for SNMP v3.

	* util/pandora_db.pm: Very important upgrade to this script. Now will
	delete all huge tables (tagente_datos, tagente_datos_string and 
	tagent_acccess) using several independent blocks (by default 100) avoiding
	mysql locks which happen in the past. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2341 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-10 17:32:10 +00:00
slerena 478ea21616 2010-02-08 Sancho Lerena <slerena@artica.es>
* util/pandora_db.pl: Script upgrade to purge data in several steps
        avoiding timeout and deadlocks() in high capacity enviroments.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2333 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-08 01:02:59 +00:00
Pablo de la Concepción Sanz efc19eb943 2010-01-29 Pablo de la Concepción <pablo.concepcion@artica.es>
* conf/pandora_server.conf, lib/PandoraFMS/Config.pm: Added
    location_error parameter

    * lib/PandoraFMS/Core.pm: Fixed bugs in the creation and update of
    the agent that where messing with the locations. Fixed distance on the
    earth formula. Use of the location_error parameter to decide if an
    agent has moved or not.

    * util/pandora_xml_stress.pl, util/pandora_xml_stress.README: added
    parameter timezone_offset_range to let the timezone be random in the
    range given, and added the code to use it.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2332 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-05 15:27:25 +00:00
Ramon Novoa 79df0046e7 2010-01-20 Ramon Novoa <rnovoa@artica.es>
* util/pandora_xml_stress.pl: Fixed the script. Was not working.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2289 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-01-20 13:34:13 +00:00
Pablo de la Concepción Sanz e0209e1fbb 2010-01-12 Pablo de la Concepcipón <pablo.concepcion@artica.es>
* lib/PandoraFMS/DataServer.pm: Updated to process GIS information from
    the .data (altitude, latitude, longitude and timezone_offset).

    * lib/PandoraFMS/Core.pm: Added pandora_update_position function, to
    store GIS information on the databse.

    * lib/PandoraFMS/PluginServer.pm, lib/PandoraFMS/PredictionServer.pm,
    lib/PandoraFMS/NetworkServer.pm, lib/PandoraFMS/WMIServer.pm: Updated
    to send timezone_offset to pandora_update_agent function.

    * util/pandora_xml_stress.pl, util/pandora_xml_stress.README: Updated
    to generate agents with GIS information (altitude, latitude, longitude
    and timezone_offset).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2262 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-01-12 17:22:14 +00:00
slerena 51e4221b03 2009-12-29 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/Core.pm: Fixed problem generating events with
        character ' that makes SQL queries in console to fail.

        * util/plugin/webcheck_plugin.sh: Christmas extra :-). Plugin
        to check WEB content change (by MD5 stamp).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2255 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-29 16:40:50 +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
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 811350f5ff git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2217 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f 2009-12-18 13:46:32 +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
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
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
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
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 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
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 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
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
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 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
slerena aad347a553 2009-09-25 sancho lerena
* util/pandora_server: Fix SUSE problem (I hope)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1974 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-25 00:27:09 +00:00
slerena 8e5fd3281a 2009-09-25 Sancho Lerena <slerena@artica.es>
* pandora_server.spec: Some fixes to SUSE RPM.

        * conf/pandora_server.conf: Added some missing default values

        * lib/PandoraFMS/Config.pm: Added some missing default values.

        * util/tentacle_serverd, util/pandora_server: SUSE rc.status 
        addon. Need working, SUSE continues giving erratic problems inn
        startup :(




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1972 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-25 00:09:15 +00:00
slerena d9dfbd1a29 2009-09-22 Sancho Lerena <slerena@artica.es>
* pandora_server_installer: Fixes some problems detecting Linux
        (was skipping tentacle installation).

        * util/tentacle_serverd: Fixed some problems starting tentacle
        because short timeout after starting and because the unquoted grep.

        * util/pandora_server: Incresed sleep time on start.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1965 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-22 10:38:53 +00:00
guruevi 5ccd4995de 2009-09-21 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandora_server_installer: Fixed a few bugs on non-Linux platforms
	
	* util/pandora_server, util/tentacle_serverd: Didn't work on Linux 
	(Ubuntu). Fixed she-bang.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1964 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-21 20:26:23 +00:00
slerena bb27a3eece 2009-09-21 Sancho Lerena <slerena@artica.es>
* pandora_server.spec: Fixed a few details.  

        * bin/pandora_server: Error handler needs to be reviewed, Enterprise 
        errors are too nasty :(

        * util/tentacle_serverd: Fixed LSB tags problems for RPM install

        * util/pandora_server: Fixed LSB tags problems and fix a bug who make
        script inusable :(




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1960 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-21 00:34:14 +00:00