Commit Graph

123 Commits

Author SHA1 Message Date
koichirok d710a5f302 2012-02-20 Koichiro Kikuchi <koichiro@rworks.jp>
* lib/PandoraFMS/SNMPServer.pm: Parse source field to obtain source
	 IP address not only when trap version is SNMPv2, but also when
	 snmp_pdu_address set to 1.

	* conf/pandora_server.conf: Fixed comment.

	* FreeBSD/pandora_server.conf: Added missing configuration tokens.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5626 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-21 06:49:39 +00:00
Ramon Novoa fab2cefad5 2012-02-20 Ramon Novoa <rnovoa@artica.es>
* conf/pandora_server.conf,
	  lib/PandoraFMS/SNMPServer.pm,
	  lib/PandoraFMS/Config.pm: Added two new configuration tokens
	  suggested by Koichiro: snmp_ignore_authfailure and snmp_pdu_address.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5623 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-20 17:47:08 +00:00
Ramon Novoa 1e0b008bf9 2012-02-01 Ramon Novoa <rnovoa@artica.es>
* conf/pandora_server.conf,
	  lib/PandoraFMS/Config.pm,
	  lib/PandoraFMS/PluginServer.pm: Use timeout by default instead of
	  pandora_exec.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5459 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-01 11:41:52 +00:00
Ramon Novoa afdc15e750 2011-12-23 Ramon Novoa <rnovoa@artica.es>
* conf/pandora_server.conf: Added Netflow server configuration
	  tokens.

	* lib/PandoraFMS/Core.pm: Added the netflow server type.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5304 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-23 10:20:43 +00:00
Aldrioth 3ba0d00794 2011-11-17 Tomas Palacios <tomas.palacios@artica.es>
* conf/pandora_server.conf: Removed checksum token since it is
          no longer used.

          BUG FIXES: ID 3439367



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5145 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-17 12:04:50 +00:00
Ramon Novoa 381b76b038 2011-09-05 Ramon Novoa <rnovoa@artica.es>
* conf/pandora_server.conf: Disable ICMP and SNMP enterprise
          servers by default.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4905 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-05 14:56:50 +00:00
vgilc f2e5ef68cc 2011-09-02 Vanessa Gil <vanessa.gil@artica.es>
* pandora_server/conf/pandora_server.conf: Added update parent line to the configuration file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4892 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-02 10:25:48 +00:00
Ramon Novoa 22e6ba2ee3 2011-08-12 Ramon Novoa <rnovoa@artica.es>
* conf/pandora_server.conf: Fixed a couple of typos.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4730 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-12 15:44:01 +00:00
Ramon Novoa 54d4c07a55 2011-08-12 Ramon Novoa <rnovoa@artica.es>
* conf/pandora_server.conf: Added enterprise configuration tokens to
	  the default conf.

	* lib/PandoraFMS/Config.pm: Changed the default location of the braa
	  binary.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4726 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-12 09:30:28 +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 7e853f62f1 2011-04-27 Ramon Novoa <rnovoa@artica.es>
* conf/pandora_server.conf: Added the dbengine configuration token.

	* lib/PandoraFMS/DataServer.pm: Read aditional module parameters from
	  the XML data file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4283 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-27 17:44:14 +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
raulmateos 431df7c4d8 2010-11-22 Raul Mateos <raulofpandora@gmail.com>
* conf/pandora_server.conf*: Updated version. Commented nmap/xprobe2 related paths in Windows file.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3615 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-22 18:20:21 +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 c46aef5f1e 2010-10-20 Sancho Lerena <slerena@artica.es>
* conf/pandora_server.conf.windows: Sample conf for running pandora server
    on Windows (see windows.README).

    * lib/PandoraFMS/NetworkServer.pm: Adapted to have SNMPGET and PING functions
    redefined by each SO, this will allow to have native support on pandora
    to run under different OS (need to check FreeBSD and Solaris!). Windows
    support implemented.

    * lib/PandoraFMS/Core.pm: Removed ping functions here and moved to Tools.pm

    * lib/PandoraFMS/Tools.pm: Adapted Ping functions to work with any SO, at
    this time Linux and Windows only, need to check for Solaris and BSD.

    * util/windows.README: Small doc on how to make Pandora Server work on 
    Windows servers.

    * util/pandora_logrotate: Removed the index in the logrotation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3431 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-20 13:54:43 +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
Ramon Novoa a0d108bada 2010-06-09 Ramon Novoa <rnovoa@artica.es>
* conf/pandora_server.conf: Set the default server_threshold to 5
          seconds.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2899 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-09 12:27:01 +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
slerena 90de6bd633 2010-04-04 Sancho Lerena <slerena@artica.es>
* conf/pandora_server.conf: Some "fixed" descriptions and sample
        setup, I hope this help to clarify new users how to setup the MTA
        (A LOTS of problems with this in forums), and some new inline 
        documentation about some configuration tokens.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2534 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-04 22:55:47 +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
Pablo de la Concepción Sanz bcb8c963fe 2010-03-04 Pablo de la Concepción <pablo.concepcion@artica.es>
* conf/pandora_server.conf: Corrected typo



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2464 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-04 09:26:30 +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
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 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
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
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 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
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 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 19d602054c 2009-08-10 Sancho Lerena <slerena@artica.es>
* pandora_server.conf: Removed deprecated parameter: Alert_threshold.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1834 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-08-10 11:06:09 +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 e709f07fff 2009-03-05 Sancho Lerena <slerena@artica.es>
* bin/pandora_network: Better management of snmpget binary call, using
	a config setup variable and checking it in startup.
	
	* pandora_server.conf: new options added (snmpget, UDP multicast)
	
	* Config.pm: New options managed (snmpget), new version updated (3.0-dev)
	
	* DB.pm: Fixed two issues that makes me some problems on undefined values.
	
	* Tools.pm: New function to manage numerical data.
	
	* util/plugin/multicast.pl: Fixed plugin for multicast check.
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1508 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-04 17:15:39 +00:00
slerena ea57a76272 2008-11-11 Sancho Lerena <slerena@artica.es>
* conf/pandora_server.conf: Added mta_user parameter who defines
        mail address used for alerts.

        * pandora_ctl: General control script to start/stop Pandora FMS
        daemons.

        * util/SLES10/*: Alternative start/stop daemons for SUSE and
        other systems that don't work fine with standard scripts.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1239 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-11 12:32:58 +00:00
slerena 39c7377f03 2008-08-28 Manuel Arostegui <marostegui@artica.es>
* conf/pandora_server.conf: Fixed small typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1044 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-28 13:47:48 +00:00
slerena 9bc457226c 2008-07-22 Sancho Lerena <slerena@gmail.com>
* pandora_network: Minimal style changes. Added status change in 
	tserver table on controlled shutdown.

	* pandora_server: Added status change in tserver table on controlled 
	shutdown. Minimal changes and optimizations. Recheck for bad XML is 
	adjusted to 3 instead 10.Fixed problem with "blank" agent names. Added
	support for async types (data, proc and string).

	* config.pm: Added support for new config token: max_log_size. This
	stablish a max log filesize.

	* DB.pm: Added support for postprocess (as simple multiplier value). 
	Fixed problem with continuous update of laststart in server keepalive.
	Updated also several logger priorities (raise them).

	* Config.pm: pandora_get_os() fixed for void OSes. Logger() implements
	a file-rotation system with a maximum in bytes for PandoraFMS log file.
	
	* pandora_server.conf: Updated with new options and removed some from 1.3.1
 	
	* pandora_export: Deleted skeleton file por export server. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@967 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-22 15:52:34 +00:00
slerena a980bb32cf 2008-06-18 Sancho Lerena <slerena@gmail.com>
* pandora_dbstress.pl: Added suppor for "text" moduletypes.
    
    * pandora_recon: Now is multithreaded. Better management of already
    registered IP's. Better status update. Some fixes (xprobe2 crash).

    * Config.pm: Added support for recon_threads token.

    * Tools.pm: added pandora_trash_ascii(), autocreate
    set agent in learning mode automatically.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@879 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-19 00:14:17 +00:00
slerena 6de72c6dac 2008-06-17 Sancho Lerena <slerena@artica.es>
* config.pm: Added options for xprobe2, and autocreate.

	* tools.pm: Added functions pandora_create_agent(), pandora_get_os(),
	and pandora_event() (this has been moved from DB.pm).

	* pandora_server.conf: Added options for xprobe2, autocreate and
	autocreate_group.

	* pandora_network: Added support for TCP scanning (not implemented in
	console yet), parent detection using traceroute, OS fingerprinting with
	xprobe2, event creation using central functions, and some optimizations.

	* pandora_server: Added support for agent autocreation, OS detection from
	the XML header, and event notification "new_agent" type.

	* pandora_recon: First code to implement traceroute functionality
	using Pureperl module.  Added code for remote OS fingerprinting.





git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@874 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-17 17:26:03 +00:00
slerena 9920b0609f 2008-06-13 Sancho Lerena <slerena@artica.es>
* conf/pandora_server.conf: Added new internal MTA feature config tokens .
    
    * pandora_server_installer: Copy default plugins to /usr/share/pandora/util
    
    * Config.pm: New MTA feature tokens, and added event when starting server.
    
    * DB.pm: Changes in execute_alert function (now passes several hash refs).
    Alerts and events now use new format of events. Add support for new inter-
    nal MTA/SMTP alert feature. Discovered and FIXED a very annoying bug on
    need_update usage in write_state function that was making a HUGE 
    degradation when too many non-init modules in network server.
        
    * Tools.pm: Added pandora_sendmail() function. Needs Mail::Sendmail dep.
    
    * All servers: Support for pandora_shutdown notify on event database.
    
    * pandora_snmpconsole: Updated SNMP alert mechanism. Need to be tested!.
    
    * pandora_recon: Now generate an event when discover a new host.
    
    * util/pandora_db.pl: Added support to automatically delete events.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@859 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-13 16:42:35 +00:00
slerena 111c842b62 2008-03-06 Sancho Lerena <slerena@gmail.com>
*  conf/pandora_server.conf: New tokens for the new servers.

        * lib/PandoraFMS/Config.pm: Added support for WMI Server.

        * lib/PandoraFMS/DB.pm: Updated pandora_updateserver function.

        * bin/pandora_wmi: Skeleton of WMI server, not functional, only
        a concept proof and initializacion for create a WMI server.

        * bin/pandora_plugin: Almost functional code, fully skeleton,
        initializacion and modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@740 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-03-07 16:25:50 +00:00
slerena 92f5f37291 2008-02-25 Sancho Lerena <slerena@gmail.com>
* conf/pandora_server.conf: Added new tokens.

        * lib/PandoraFMS/Config.pm: Code cleanup and add support for 
        new prediction and plugin server. Added better checks to clean  
        blank spaces inside config tokens.

        * lib/PandoraFMS/DB.pm: Added comment to the only generic function
        to database we have.            

        * lib/PandoraFMS/Tools.pm: Created a new function to clean 
        blank spaces, and used to clean setup file parsing.

        * bin/pandora_plugin: New plugin server skeleton, not functional
        yet. Need much more improvement, but code skeleton is done.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@725 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-02-25 18:00:09 +00:00
slerena f128742b02 2008-02-20 Sancho Lerena <slerena@gmail.com>
* Merged latest changes on stable branch to trunk. Let's go to
        1.4 version !!



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@722 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-02-20 02:09:36 +00:00
slerena 24d3cf4077 2007-10-04 Sancho Lerena <slerena@gmail.com>
* conf/pandora_server.conf, lib/PandoraFMS/Config.pm, bin/pandora_network:

        Merged code from NG branch: Added multiping check (global setting 'icmp_checks')
        on network server because in some WAN enviroments with erratic packet loss on non TCP
        connections would cause recurrent false positives. New config token added to config
        file (icmp_checks). Updated default .conf



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@667 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-10-04 10:45:46 +00:00
slerena 45b4556b5e 2007-08-21 Sancho Lerena <slerena@gmail.com>
* conf/pandora_server.conf: Final fixes for default file.

        * lib/PandoraFMS/Config.pm: Fixed stupid typo in snmpconsole parameter.

        * bin/*: Disabled flush for each I/O (ready for production).

	This should be last commit before Beta2 :-)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@607 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-21 18:14:40 +00:00
slerena 36c0b32258 2007-07-31 Sancho Lerena <slerena@gmail.com>
* pandora_snmpconsole: Fixed startup scripts. Many checks added to
        manage NetSNMP Trap daemon. Now uses /usr/sbin/snmptrapd by
        default. Solved many problems. This also solve bug #1763691.

        * conf/pandora_server.conf: Added snmp_logfile token (before
        inside CODE!, UGLY!).

        * bin/pandora_network.pl: I hope Fixed BUG #1763305 with Master Server.

        * bin/PandoraFMS/Config.pm: Support for config token snmp_logfile.

        * bin/PandoraFMS/DB.pm: Fixed (stupid) BUG #1763304 with alerts.

        * bin/pandora_snmpconsole.pl: Removed logfile filename from code
        (VERY ugly!).

        * pandora_server, pandora_network, pandora_recon: This also solve
        bug #1763691. Some additional checks included.

        * util/pandora_SNMP_test.pl: Removed, old stuff.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@576 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-07-31 17:26:09 +00:00
slerena 373a98a350 2007-07-20 Sancho Lerena <slerena@artica.es>
* pandora_network.pl: Fixed a typo in pandora_ping_latency function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@572 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-07-20 10:53:19 +00:00
slerena 3ca171e000 2007-07-18 Sancho Lerena <slerena@artica.es>
* pandora_network.pl: BugFix: SNMP calls that was causing segfauls was
        because NetSNMP (SNMP) library is not thread safe !. Simple locking
        mechanism was enough to run code safely !. Main SQL sentence fixed,
        removed some debug code.

        * pandora_server.conf: added sample of network_thread token



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@566 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-07-18 17:53:17 +00:00
slerena 78dac4b5f2 2007-07-17 Sancho Lerena <slerena@artica.es>
* pandora_server.pl: Small indenting changes.

        * PandoraFMS/DB.pm: Added generic access to database using
        give_db_value() function.

        * pandora_network.pl: Porting code from 2.0 trunk, code from 1.3 was
        too slow. Solved many issues of stability. Changed entire balancing
        and task assigment algorithm.

        * PandoraFMS/Config.pm: Added network_thread config option to
        fine-tune network server.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@565 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-07-17 18:34:38 +00:00
raulmateos 8e3beb755a 2007-06-29 Raul Mateos <raulofpandora@gmail.com>
Pandora Console:
	  * images/lupa.png: better image
	  * operation/reporting/reporting.php: New summary file for reportings
	  * operation/menu.php: Changed code to show new reporting file.
	Pandora Agents:
	  * linux/pandora_agent.conf: Changed log and temp paths.
	Pandora Server:
	  * conf/pandora_server.conf: Changed default incomming dir and log.
	Fixed small bug with dbuser.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@549 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-29 21:25:37 +00:00
marostegui 51eaa1d642 2007-06-28 Manuel Arostegui <marostegui@artica.es>
* pandora_doc/en/pandora_install.xml: Added explanation about
          the new directory which must be created to works
          with the #1744248 feature request.

        * conf/pandora_server.conf: Fixed bug #1744240

        * pandora_server: Added feature request #1744248

        * pandora_recon: Added feature request #1744248

        * pandora_network: Added feature request #1744248



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@547 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-28 12:27:36 +00:00
slerena 2452a7e164 2007-06-07 Sancho Lerena <slerena@artica.es>
Important update. Now all PM files (library) goes on PandoraFMS
        subdirectory from /bin. This should be copied/moved to system
        default Perl libraries (like /usr/lib/perl). All .PM files changes
        it's name.

        We also replace Net::Ping for Alive checks because recently
        problems discovered in packet lenght payload and problems with
        threads. We fallback to Net::Ping::External, now rewrapped to
        PandoraFMS::PingExternal and distributed with PandoraFMS for easy
        deployment.

        bin/*.pm: Renamed to equivalent files in ./bin/PandoraFMS dir

        * bin/pandora_network.pl: Now uses ping() from PingExternal to
        make alive checks. Latency checks is the only function that
        actually needs root now. External Ping could be executed from any
        user (it uses PING from system).

        * bin/PandoraFMS: Now contains all .PM files for PandoraFMS.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@490 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-07 10:30:03 +00:00
slerena 026ffbece4 2007-06-05 Sancho Lerena <slerena@gmail.com>
* pandora_network.pm: Small bug that causes some hosts to do not reply
        at ICMP request with a small payload (1 byte). Now uses by default
        32 bytes per reply.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@486 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-05 18:33:47 +00:00
slerena 5a7cc6bb9f 2007-05-24 Sancho Lerena <slerena@artica.es>
* conf/pandora_server.conf: Added support for dbname option.

        * pandora_snmpconsole: Version and bash header updated.

        * bin/pandora_config.pm: Added support for dbname option. Added
        some default options for DB.

        * bin/pandora_db.pm: Fixed stupid bug in alert execution.  Added
        support for dbname option and other minor fixes.

        * bin/pandora_server.pl,
        bin/pandora_network.pl,
        bin/pandora_snmpconsole.pl,
        bin/pandora_recon.pl:  Added support for dbname option.

        * pandora_server: Version update



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@468 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-05-24 21:14:06 +00:00
slerena 9ebfe51efd 2007-05-03 Sancho Lerena <slerena@artica.es>
* bin/pandora_network.pl: Fix problem with ICMP timeouts.

        * util/pandora_dbstress.pl: Update for new needsupdate fix in some
        DB code. Needs to be improved for specific module/agent selection.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@449 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-05-03 02:15:42 +00:00
marostegui 675964ade9 2007-04-11 Manuel Arostegui <marostegui@artica.es>
* linux/pandora_agent.conf: Changed PATHS to
           adapt them to the upcoming 1.3 release.

        * bsd-ipso/pandora_agent.conf: Changed PATHS to
           adapt them to the upcoming 1.3 release

        * aix/pandora_agent.conf: Changed PATHS to
           adapt them to the upcoming 1.3 release

        * hp-ux/pandora_agent.conf: Changed PATHS to
           adapt them to the upcoming 1.3 release

        * win32/bin/pandora_agent.conf: Changed PATHS to
           adapt them to the upcoming 1.3 release

        * meta_agent/pandora_agent_1.conf, pandora_agent_2.conf,
          pandora_agent_3.conf, pandora_agent_4.conf,
          pandora_agent_5.conf: Changed PATHS to
           adapt them to the upcoming 1.3 release

        * solaris/pandora_agent.conf: Changed PATHS to
           adapt them to the upcoming 1.3 release

        * pandora_server/conf/pandora_server.conf: Changed PATHS
          to adapt them to the upcoming 1.3 release

        * pandora_server/INSTALL: Changed PATHS to adapt them to
          the upcoming 1.3 release



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@420 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-11 14:14:32 +00:00
marostegui 3e5dbe6adc 2007-04-11 Manuel Arostegui <marostegui@artica.es>
* conf/pandora_server.conf: Changed PATHS to adapt them to the
          upcoming 1.3 release.

        * INSTALL: Adapted instructions in order to work with new PATHS
          of the upcoming 1.3 version.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@419 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-11 13:36:43 +00:00
slerena 5774503503 2007-03-29 Sancho Lerena <slerena@artica.es>
* pandora_config.pm: Now stores $pa_config->{'server_id'}
	available for any function in Pandora FMS Server.

	* pandora_db.pm: Several verbosity level adjustements in logger
	functions in all code. Some debug code purged. Alert code now
	should store group correctly in events. Renamed
	"processed_by_server" field from tagente_estado by "running_by",
	updated some code. pandora_updateserver() now stores also server
	version.

	* pandora_network.pm: pandora_serverkeepaliver now run more
	exactly and does not apply any delay. Module selection now uses
	utimestamp AND the new running_by to know that other instance of
	server is currently running this module. TCP code has moved to
	function pandora_query_tcp() -code cleanup-. UDP code deleted
	(doesn't work, and never used!). Fixed important bug in ICMP Proc
	that causes constant FLIPFLOP in monitors since last commit. Fixed
	also a problem from that version updating status timestamp. Lastry
	field only be used now for checking 24hr without updating tdata
	table.

	* pandora_server.conf: Updated some text and formatting, more
	clear now.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@406 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-03-29 10:42:34 +00:00
slerena ea13822a9e 2007-03-23 Sancho Lerena <slerena@artica.es>
* pandora_tools.pm: Added sqlWrap function to manage quotes.

	* pandora_network.pm: MAJOR changes in internal architecture: Now
	uses 10 threads for manage network tasks and one only to keep
	server alive. Now catch TERM signal and log it. New function to
	check UDP services. This should be enought for improve network
	server performance until 2.0 version :-)

	* pandora_db.pm: pandora_calcula_alerta now calls execute_alert
	and clenanup alert code. Fixed bug with Internal audit
	alert. Addded fix from Dassing to pandora_writestate and added
	more fixes for 24hr data problem that include fix
	odule_generic_data.. functions.  pandora_audit () now uses
	utimestamp also.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@402 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-03-23 16:04:53 +00:00
slerena 8b1eb59073 2007-03-19 Sancho Lerena <slerena@artica.es>
* pandora_recon: Startup script for recon server.

	* pandora_recon.pl: Major code cleanup. First "complete" version,
	this sould be enought for a while. Works for me.

	* pandora_db.pm: Added generic functions to add incident . Added
	function give_network_component_profile_name(). Now updates
	correctly recon server status in pandora_updateserver function
	call.
	
	* pandora_network.pm: Replaced Net::Ping::External usage with
	Net::Ping library. This should fix many problems with some
	distros. Added pandora_ping_icmp() function to check ICMP boolean.
	
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@398 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-03-19 20:04:37 +00:00
slerena 63cc47342c 2007-03-12 Sancho Lerena <slerena@artica.es>
* util/pandora_dbstress.pl: Upgraded. Now admits one agent or
          all agent.

        * bin/pandora_recon.pl: New network recon server, to autoexplore
        new machines and add to monitorization automatically. Not
        finished, first version, first commit to SVN :-)

        * bin/pandora_db.pm: Now pandora_writestate() writes new fields
        current_interval, processed_by_server into tagente_estado
        table. This increase seeks for Unknown modules, and to know what
        server manage the module (data or network).

        * bin/pandora_server.pl: Small changes in banners.

        * bin/pandora_network.pl: Small changes in banner. Small
        optimization, now server_id is only checked once.

        * bin/pandora_config.pm: Small changes in banner. Added support to
        new reconserver, added config hash "servermode" to maintain a
        single var with servertype. Now renders in console real server
        name at startup and a "all correct" message after initializing.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@393 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-03-12 17:41:58 +00:00
slerena 8468146563 2006-11-30 Sancho Lerena <slerena@artica.es>
* Added updated pandora_agent.LICENCE files (with link to SF
	tracking page).
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@291 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-11-30 17:45:52 +00:00
raulmateos 10c8253981 2006-11-27 Raúl Mateos <raulofpandora@gmail.com>
* pandora_server/data_in: Removed old directory.

	* pandora_server/config/pandora_server.conf: Changed data_in directory to
	/var/spool/pandora/data_in.

	* pandora_agents/win32/installer/Pandora_FMS_Windows_Agent-1.2-Setup.exe: 	Updated with last binary file.
	
	* pandora_agents/win32/installer/pandora.mpi: Update installer script file.
	
	* pandora_agents/win32/installer/Pandora Windows Agent-1.2 Beta3-Setup.exe: 		deleted old file.

	* pandora_agents/win32/bin/pandora_agent.conf: Changed path in server to
	/var/spool/pandora/data_in.

	* pandora_console/general/footer.php: Add variable $time to get time from server 		which PHP < 5.1. Style correction.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@285 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-11-27 21:35:13 +00:00
raulmateos 30638287eb 2006-11-23 Raul Mateos <raulofpandora@gmail.com>
* pandora_server/bin/pandora_config.pm: Updated some text from Linux to
	GNU/Linux. Update build date and final version.
	* pandora_server/config/pandora_server.conf: Changed servername from
	"daeva" to localhost.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@274 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-11-23 10:36:38 +00:00
slerena 36a4788d57 * Fixed minor issues for finish Pandora 1.2 Beta 2.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@103 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-06 17:14:19 +00:00
slerena 7b849d903d * Preparing the package for release Beta2 officially.
* Better implementation of configuration file. Now supports also relative paths. More easy to distribute a default config based on base path (thanks to Esteban).
* Updated README and INSTALL documents (also in console directory).
* Added COPYING (GPL2).
* Added AUTHORS.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@78 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-03 17:18:19 +00:00
slerena 498a45ad79 * Updated functions pandora_serverkeepaliver and pandora_updateserver to work on instances of server instead of single name. Now instances for servers will be called "xxx_Net" for Network, "xxx_Data" for Data Server, and "xxx_SNMP" for SNMP Server. This way, a individual keepalive will be used for each instance.
* Added the keywork "server_keepalive" for server configuration: Time to check another server is down. Would be nice if all servers in a setup has the same value (reflect this in doc. please!).
* Fixed a stupid issue in numeric data (commas and dots for use real numeric values).... I wish this fix an old bug identified in SourceForge.
* Something more I cannot remeber now, it's 3:44am of Saturdar 1th July... Beta2 need to be finished NOW!.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@69 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-01 01:54:36 +00:00
slerena b9d1f3d466 * Changed to SNMP module insted of NET:SNMP, a better results and could get OID with names, not only numeric OID. Tested and works fine.
* Added a small tool to test SNMP functionality (a perl snmpget command using either NET:SNMP or SNMP module).


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@53 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-06-28 17:08:22 +00:00
slerena 0cd002810a Initial Pandora load from our internal SVN
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-03-27 03:37:27 +00:00