Commit Graph

89 Commits

Author SHA1 Message Date
Ramon Novoa 151313e03f 2011-06-22 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Config.pm: Added a new SNMP server (enterprise).

	* lib/PandoraFMS/NetworkServer.pm: Small fixes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4479 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-22 16:39:00 +00:00
Ramon Novoa a47675f219 2011-06-20 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Config.pm,,
	  lib/PandoraFMS/NetworkServer.pm: Added a new ICMP server (enterprise).

	* lib/PandoraFMS/Core.pm: Reset action thresholds when an alert
	  recovers.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4473 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-20 16:32:29 +00:00
Ramon Novoa 34321f2f36 2011-05-30 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Config.pm,
	  lib/PandoraFMS/Core.pm: Added support for event alerts (Enterprise).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4388 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-30 10:21:15 +00:00
raulmateos 0c08d3274a 2011-04-28 Raul Mateos <raulofpandora@gmail.com>
* conf/pandora_server.conf, pandora_server_installer,
	PandoraFMS/Config.pm: Updated year and build.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4288 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-28 15:33:25 +00:00
Ramon Novoa c69f48e890 2011-04-13 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/SNMPServer.pm,
	  lib/PandoraFMS/Config.pm,
	  lib/PandoraFMS/NetworkServer.pm,
	  lib/PandoraFMS/WMIServer.pm,
	  lib/PandoraFMS/PluginServer.pm,
	  lib/PandoraFMS/DB.pm,
	  lib/PandoraFMS/ProducerConsumerServer.pm,
	  lib/PandoraFMS/PredictionServer.pm,
	  lib/PandoraFMS/Core.pm,
	  lib/PandoraFMS/ReconServer.pm,
	  bin/pandora_server,
	  util/pandora_db.pl,
	  util/pandora_manage.pl,
	  util/recon_scripts/snmpdevices.pl: Adding support for PostgreSQL and
	  Oracle (not complete).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4213 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-13 16:28:59 +00:00
raulmateos 797a655a8c 2011-03-14 Raul Mateos <raulolfpandora@gmail.com>
* lib/PandoraFMS/Config.pm, lib/PandoraFMS/Core.pm,
        lib/PandoraFMS/DataServer.pm, lib/PandoraFMS/DB.pm,
        lib/PandoraFMS/Tools.pm, lib/PandoraFMS/WMIServer.pm: Cleared code and
        updated year.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4089 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-14 10:39:31 +00:00
slerena e12de5ca51 2011-03-09 Sancho Lerena <slerena@artica.es>
* conf/pandora_server.conf
        lib/PandoraFMS/Config.pm
        lib/PandoraFMS/DataServer.pm: Added support for Openstreetmaps
        API for reverse geolocation. 




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4073 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-09 13:49:30 +00:00
slerena 2bf04d4c39 2011-02-07 Sancho Lerena <slerena@artica.es>
* pandora_server/DEBIAN/control,
        pandora_server/pandora_server.spec,
        pandora_server/pandora_server.redhat.spec: Added LWP dependency for
        reverse Geocoding feature. This is included on all distros.

        * pandora_server/conf/pandora_server.conf,
        pandora_server/lib/PandoraFMS/Config.pm,
        pandora_server/lib/PandoraFMS/DataServer.pm: Added support for reverse geocoding using
        GoogleMaps api.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3806 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-07 13:45:34 +00:00
slerena fdfc84993c 2011-01-22 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/Config.pm: Updated version, we're on 4.0-dev !

        * lib/PandoraFMS/Tools.pm: Detect new embedded agents




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3764 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-22 20:30:26 +00:00
Ramon Novoa ec28504e4f 2010-12-27 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Config.pm: Updated version strings for the 3.2
	  release.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3714 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-27 18:28:57 +00:00
slerena e12e747a91 2010-11-25 Sancho Lerena <slerena@artica.es>
* Updated specs and control for make 3.2rc2 packages



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3631 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-25 17:29:59 +00:00
slerena a29b003b78 2010-11-10 Sancho Lerena <slerena@artica.es>
* pandora_server.spec
        lib/PandoraFMS/Config.pm
        pandora_server.redhat.spec:  Last details on specs.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3568 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-10 13:13:08 +00:00
slerena a4b35b9c6d 2010-11-01 Sancho Lerena <slerena@artica.es>
* DEBIAN/control,
        DEBIAN/make_deb_package.sh
        pandora_server.spec
        lib/PandoraFMS/Config.pm
        pandora_server.redhat.spec:  Version updates and small changes
        for packaging the 3.2 RC1 version in the next days/hours.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3485 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-01 12:34:39 +00:00
slerena 3061c82873 2010-10-22 Sancho Lerena <slerena@artica.es>
* Config.pm: Parsing for mta_from doesn't remove blanks, allowing to
    use a Normal name + Email address in the from.

    * Tools.pm: Email output is parsed with a html decode first. 
    Added timeticks option for tools (intented to use in the future).

    * pandora_server.conf: Example of usage in the mta_from with a fully
    composed email address.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3452 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-22 14:03:49 +00:00
slerena 91f6cb5780 2010-10-07 Sancho Lerena <slerena@artica.es>
* conf/pandora_server.conf: Removed multicast options

    * Makefile.PL: Removed need for dependencies on Mail::Sendmail
    and Traceroute::PurePerl, now are included in the Pandora FMS
    distribution.

    * lib/PandoraFMS/Config.pm: Removed options for multicast

    * lib/PandoraFMS/Traceroute.pm,
      lib/PandoraFMS/Sendmail.pm,
      lib/PandoraFMS/Traceroute/PurePerl.pm: Now included on Pandora FMS
    distribution, this will help to do easier installs of Pandora, because
    that packages was difficult to build/install in different distros.

    * lib/PandoraFMS/Core.pm: Removed the old multicast-on change enterprise
    feature, not used/supported anymore.

    * lib/PandoraFMS/ReconServer.pm: Now uses the internal Traceroute Pureperl
    implementation.

    * lib/PandoraFMS/Tools.pm: Now uses the internal Mail::Sendmail copy.

    * bin/pandora_server: Removed the multicast option from main loop.

    * FreeBSD/pandora_server.conf: Removed multicast from options.

    * util/mcast_client.pl: Deleted sample client for multicast.

    * util/pandora_logrotate: Updated the rotate options for SNMP logfile.

    * util/compaq_chassis_trap_manager2.pl: Added sample of SNMP Trap           
    postprocessor.

    * pandora_server.redhat.spec,
      pandora_server.spec,
      DEBIAN/control: Updated packages deps and other minor changes (xprobe2 is not
      mandatory now).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3365 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-07 15:09:04 +00:00
slerena df81950c5f 2010-08-10 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/Config.pm: Updated build and development
        version.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3117 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-10 10:34:05 +00:00
Ramon Novoa 9c4a10149f 2010-06-08 Ramon Novoa <rnovoa@artica.es>
* DEBIAN/control, DEBIAN/make_deb_package.sh,
          pandora_server.spec, lib/PandoraFMS/Config.pm: Updated version
          strings.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2878 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-08 17:00:23 +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 f87f26acc0 2010-05-18 Sancho Lerena <slerena@artica.es>
* pandora_server_upgrade: Fixed a check on pandora_db.pl script in cron.

        * lib/PandoraFMS/Config.pm: Version update to 3.1rc1 and build 100515




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2750 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-18 18:15:41 +00:00
raulmateos ab51537a68 2010-05-16 Raul Mateos <raulofpandora@gmail.com>
* bin/pandora_server, lib/PandoraFMS/Config.pm, conf/pandora_server.conf,
	pandora_server_upgrade: Updated year. Clean code.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2732 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-15 22:32:56 +00:00
Pablo de la Concepción Sanz a2001ff2ce 2010-02-25 Pablo de la Concepción <pablo.concepcion@artica.es>
* conf/pandora_server.conf: New option, update_parent to let the
    agent update it's parent by sending the parent name on the XML.

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

    * lib/PandoraFMS/Core.pm, lib/PandoraFMS/Dataserver.pm: Modified to
    update the parent of an agent at creation time and on update if
    the update_parent parameter is set to 1

    * man/man3/PandoraFMS::Core.pm.3: Updated manpage with the new
    documentation of the interface



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2422 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-25 17:09:19 +00:00
Pablo de la Concepción Sanz d509fd443c 2010-02-24 Pablo de la Concepción <pablo.concepcion@artica.es>
* lib/PandoraFMS/Core.pm, lib/PandoraFMS/Dataserver.pm: Modified to
    update the parent of an agent if in learning mode.

    * man/man3/PandoraFMS::Core.pm.3: Updated manpage with the new
    parameter and improved documentation for pandora_update_agent

    * lib/PandoraFMS/Config.pm: Updated build




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2416 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-24 15:25:56 +00:00
raulmateos 31d35c315e 2010-02-23 Raul Mateos <raulofpandora@gmail.com>
* lib/PandoraFMS/*.pm, DEBIAN/make_deb_package.sh, pandora_server_*: 
	Updated year / build. Some spaces to tabs.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2410 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-23 17:49:05 +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
Pablo de la Concepción Sanz 2f575d378e 2010-02-15 Pablo de la Concepción <pablo.concepcion@artica.es>
* conf/pandora_server.conf, lib/PandoraFMS/Config.pm: New configuration
    parameters: recon_reverse_geolocation_mode, recon_reverse_geolocation_file,
    recon_location_scatter_radius. As now the Recon Server can try to geolocate
    an agent when it's found by revers geoip location.

    * lib/PandoraFMS/Core.pm: Added first version of POD documentation to
    create the manpage and to have most of the subrutines documented. Also
    it's possible to add the description of the location to the GIS information
    on the pandora_update_agent and pandora_create_agent subroutines. And
    finaly moved away the GIS related functions (distance_moved) to their own
    new module PandoraFMS::GIS

    * lib/PandoraFMS/GIS.pm: New module to keep all the GIS related functions
    of Pandora FMS. Now it exports distance_moved, get_reverse_geoip_sql,
    get_reverse_geoip_file and  get_random_close_point.

    * lib/PandoraFMS/ReconServer.pm: Updated to get GIS information by doing
    reverse IP geolocation using GIS module.

    * man/man3/PandoraFMS::Core.pm.3, man/man3/PandoraFMS::GIS.pm.3: New
    manpages for Core and GIS modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2368 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-15 20:34:57 +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
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
Pablo de la Concepción Sanz 7d37597db7 2010-01-25 Pablo de la Concepción <pablo.concepcion@artica.es>
* conf/pandora_server.conf, lib/PandoraFMS/Config.pm,
	lib/PandoraFMS/Core.pm, lib/PandoraFMS/DataServer.pm: Added activate_gis
	configuration parameter, and modified Core.pm and Dataserver.pm to skip
	positional data processing when activate_gis is not activated



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2305 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-01-25 18:36:23 +00:00
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
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 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 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 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
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
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 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
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 c693c17205 2009-09-28 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/Config.pm: Updatged build.

        * lib/PandoraFMS/Core.pm: Added new macro fields for alerts:
        id_agent, alert_priority, alert name and module name. Also
        fixed a problem in macro substitution when recursive fields
        was used.  




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1986 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-28 15:53:06 +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 f21aa5a9d2 2009-09-16 Sancho Lerena <slerena@artica.es>
* util/pandora_exec -> bin/pandora_exec: Moved.

	* pandora_server -> util/pandora_server: Moved.

	* plugins/pandora_loadgen.pl
	plugins/pandora_server_status.pl: New plugins for generate data
	and get Pandora FMS server status and load.

	* Config.pm, pandora_db.pl: Version update.

	* pandora_server.spec, 
	Makefile.PL, 
	pandora_server_installer: Updated paths and dependencies



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1946 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-16 00:02:23 +00:00
Ramon Novoa 7097b6ace8 2009-09-02 Ramon Novoa <rnovoa@artica.es>
* conf/pandora_server.conf,
          lib/PandoraFMS/Config.pm,
          lib/PandoraFMS/Core.pm: Removed the inhibit_alerts configuration
          token. Alert inhibition is configured on a per-agent basis.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1903 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-02 10:52:57 +00:00
Ramon Novoa 176ae0f6ac 2009-09-02 Ramon Novoa <rnovoa@artica.es>
* conf/pandora_server.conf: Added sample configurations for
          inhibit_alerts and use_xml_timestamp.

        * lib/PandoraFMS/Config.pm: Added the inhibit_alerts configuration
          token.

        * lib/PandoraFMS/Core.pm: Added the option to inhibit agent alerts if
          the parent has fired a critical alert.

        * lib/PandoraFMS/DataServer.pm: Use the XML file last modification time 
          if no timestamp is specified.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1902 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-02 09:52:55 +00:00
slerena b6cc9f820a 2009-09-01 Sancho Lerena <slerena@artica.es>
* pandora_server.spec: Using chkconfig for service install. Using the new
	logrotate config for automatic logfile management. 

	* pandora_server_installer: Using new logrotate config file.
	
	* bin/pandora_server: Enterprise load notice are shown after main banner.
	
	* lib/PandoraFMS/Config.pm: Updated version (again).
	
	* util/pandora_logrotate: New conf file for /etc/logrotate.d/



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1900 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-01 16:27:36 +00:00
Ramon Novoa f146163618 2009-08-24 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Config.pm,
          lib/PandoraFMS/DataServer.pm: Added an option to ignore timestamps in
          XML data files and use file timestamps instead.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1877 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-08-24 18:25:42 +00:00
slerena 8c3452ab60 2009-08-19 Sancho lerena <slerena@artica.es>
* pandora_server.spec: Added nmap to required packages, removed xprobe2.
	
	* lib/PandoraFMS/Config.pm, conf/pandora_server.conf: New token for nmap.
	 
	* lib/PandoraFMS/ReconServer.pm: New parent detection, TCP scanning imple-
	mented using NMAP. Implemented TCP profile scanning.
	
	* lib/PandoraFMS/Tools.pm: Some reordering in pandora_get_os() gives
	more accurate OS guessing. enterprise_hook() now don't yell when enterprise
	is not found :-)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1868 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-08-19 19:49:55 +00:00
slerena c1ca842e3e 2009-08-11 Sancho Lerena <slerena@artica.es>
* pandora_server: Using new method to get PID of process, compatible with
	any distro (SUSE problems reported). Removed old stuff and updated headers.
	
	* pandora_server_installer: A lot of improvementes and added separated code
	for Ubuntu/Debian and SUSE targets. Fixed some minor bugs reported.
	
	* bin/pandora_server: Added a new die handled for manage crashes and report
	more information into logs and console on startup. This helps to determine
	some common problems.
	
	* Config.pm: Updated version number.
	
	* util/tentacle_serverd: Fixed startup script to work also in SUSE. New
	code for getpid compatible with all distros.

	* Makefile.PL,  NetworkServer.pm: Removed Net::Ping dependency, 
	not used anymore. Pending to remove Date::Manip from pandora_db script.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1840 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-08-11 16:26:09 +00:00
Ramon Novoa 157c3d1f28 2009-07-08 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Config.pm: Properly set the new agentaccess
          config option. Fixes bug #2815878.

        * util/pandora_xml_stress.pl: Fixed config file comment detection.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1792 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-07-08 11:01:47 +00:00
slerena 8af37fc32a 2009-06-23 Sancho Lerena <slerena@artica.es>
* lib/pandoraFMS/DataServer.pm, Config.pm: Fixes bug #2811605. This
        add a new config token to define max files queued to avoid problems
        reading incoming dir with huge number of files.

        * lib/PandoraFMS/Core.pm: Adds new feature to have optional agent
        access graph & data. Included to improve the performance in huge systems



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1766 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-24 16:53:17 +00:00
slerena e75d58adec 2009-06-08 Sancho Leren <slerena@artica.es>
* Header updates.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1732 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-08 15:12:32 +00:00
Ramon Novoa 0207651a64 2009-04-14 Ramon Novoa <rnovoa@artica.es>
* pandora_ctl, pandora_network, pandora_wmi, pandora_plugin,
          pandora_prediction, bin/pandora_wmi, bin/pandora_plugin,
          bin/pandora_prediction, bin/pandora_snmpconsole, bin/pandora_recon,
          bin/pandora_network, pandora_recon, pandora_snmpconsole: Deleted
          from repository. Old server code and startup scripts.

        * Makefile.PL, pandora_server_installer, lib/PandoraFMS/Config.pm
          lib/PandoraFMS/DB.pm, lib/PandoraFMS/Tools.pm, bin/pandora_server,
          pandora_package_installer, pandora_server: Updated to work with the
          new code, removed unneeded dependencies, fixed some bugs etc.

        * lib/PandoraFMS/SNMPServer.pm, lib/PandoraFMS/PluginServer.pm,
          lib/PandoraFMS/ProducerConsumerServer.pm, lib/PandoraFMS/Server.pm,
          lib/PandoraFMS/PredictionServer.pm, lib/PandoraFMS/Core.pm,
          lib/PandoraFMS/ReconServer.pm, lib/PandoraFMS/DataServer.pm,
          lib/PandoraFMS/NetworkServer.pm, lib/PandoraFMS/WMIServer.pm: Added
          to repository. New server code.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1620 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-14 19:13:16 +00:00