Commit Graph

458 Commits

Author SHA1 Message Date
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
zarzuelo 480345dd6b 2010-05-13 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Core.pm: Fixed some monitor
	status queries.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2716 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-13 14:31:10 +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
zarzuelo 33b1efc123 2010-05-12 Sergio Martin <sergio.martin@artica.es>
* man/man1/tentacle.1.gz: Deleted old man page



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2709 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-12 14:59:07 +00:00
zarzuelo 304d71d144 2010-05-12 Sergio Martin <sergio.martin@artica.es>
* pandora_server_installer
	  man/man1/tentacle_server.1.gz: Improved the
	  manpages installation splitting tentacle man
	  page

	* man/man1/tentacle_server.1
	 man/man3: Old man pages removed



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2708 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-12 14:52:58 +00:00
zarzuelo abbffc757b 2010-05-12 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Core.pm: Fixed unknown monitors
	query for bug: 3000460



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2707 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-12 14:45:16 +00:00
Ramon Novoa 2e45f721a8 2010-05-11 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Fixed a log message in
          pandora_process_module.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2701 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-11 18:26:58 +00:00
zarzuelo 37a8cd55df 2010-05-11 Sergio Martin <sergio.martin@artica.es>
* pandora_server_installer
	man/man1/pandora_server.1.gz
	man/man1/tentacle.1.gz: Added the man pages of
	tentacle and pandora server and modified the
	server installer script to install them



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2699 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-11 17:02:26 +00:00
Ramon Novoa b7ef0afb7f 2010-05-11 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/PluginServer.pm, lib/PandoraFMS/Core.pm,
          lib/PandoraFMS/NetworkServer.pm, lib/PandoraFMS/WMIServer.pm: Fixed
          bug #2941736. Made pandora_update_module_on_error set
          tagente_estado.current_interval.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2697 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-11 16:23:41 +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
Ramon Novoa 396c48ca57 2010-05-10 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Made cascade protection recursive to
          check any of the agent's parents in the tree.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2687 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-10 15:59:09 +00:00
zarzuelo 36114f96ac 2010-05-10 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Tools.pm: Typo fix in error message



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2684 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-10 12:22:17 +00:00
slerena c119e3d8c6 2010-05-07 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/DataServer.pm: Fixed call to undefined variable
        on GIS code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2677 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-07 16:29:52 +00:00
Ramon Novoa a49d5e830f 2010-05-05 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Use the data timestamp instead of the
          current time in the compression algorithm. Fixed regexps in
          SNMP alerts.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2668 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-05 13:42:15 +00:00
Ramon Novoa 3256d04424 2010-04-30 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Changed the behaviour of SNMP alerts.
          Alert conditions are ANDed, not ORed.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2642 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-30 08:56:33 +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
slerena dc6cfe108d 2010-04-28 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/Core.pm: Fixed call to group stats and now
        process all groups (included disabled) and group 1, because
        with 3.1 group id 1 is not "all" anymore.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2625 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-28 15:17:29 +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 2eef0d7a5f 2010-04-23 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/Core.pm: Removed a Log4x trace. Log4x feature
        has been tested at this level, and works fine.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2605 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-23 16:52:12 +00:00
Ramon Novoa 17201a849d 2010-04-14 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/PredictionServer.pm: Added support for service
          modules (Enterprise)




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2566 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-14 17:39:23 +00:00
slerena b197929d8f 2010-04-05 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/ReconServer.pm: Trying to fix the problem
        detected with recon and new modules from a network template.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2540 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-05 16:28:08 +00:00
slerena 794574aa4f 2010-04-06 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/Core.pm: Fallback to previous version, this fix
        makes Pandora server to generate events constantly.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2538 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-05 15:21:42 +00:00
jsatoh 7bb10b84f7 2010-04-05 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/Core.pm: Fixed the problem that agent status(estado)
	is never updated to $new_status if initial state of new agent is
	"estado != last_status" with "$new_status == last_status".
	eg) When new agents are added by recontask, estado=1 and last_status=0
	are set.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2535 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-05 01:34:12 +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 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 26a9eda2f6 2010-03-10 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/DataServer.pm: Fix for annoying notices from
        Perl due reference to undefined variable (GIS).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2504 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-10 18:46:52 +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
Ramon Novoa d2173b4912 2010-03-10 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Set tagente_estado.current_interval to
          tagente.intervalo if tagente_modulo.module_interval is 0.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2498 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-10 13:20:56 +00:00
Pablo de la Concepción Sanz 1db8af5de3 2010-03-08 Pablo de la Concepción <pablo.concepcion@artica.es>
* lib/PandoraFMS/GIS.pm, lib/PandoraFMS/GeoIP.pm: Modified to put
    MaxMind GeoIP PurePerl GPL library into PandoraFMS package.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2489 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-08 19:14:28 +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 8a09f0d1b3 2010-03-04 Pablo de la Concepción <pablo.concepcion@artica.es>
* lib/PandoraFMS/Server.pm: Added spaces between server name and server
	type on the event generation string.

	* lib/PandoraFMS/GeoIP.pm: MaxMind GeoIP PurePerl GPL library to access
	reverse geoip data.

	* lib/PandoraFMS/GIS.pm: Modified to use GeoIP.pm

	* lib/PandoraFMS/DataServer.pm: Moved log line in case parent_agent_name
	is not defined



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2463 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-04 09:24:52 +00:00
Ramon Novoa 5ae3511c56 2010-03-03 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Added 'matches_value' support to 'onchange'
          alerts.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2456 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-03 12:17:20 +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
slerena 0234c9e8c8 2010-02-25 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/Core.pm: Implemented new alert type "onChange".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2428 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-25 19:16: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
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
Pablo de la Concepción Sanz 9d81f45b63 2010-02-22 Pablo de la Concepción <pablo.concepcion@artica.es>
* lib/PandoraFMS/DataServer.pm: Fixed bug #2926077 there were one
    more place where the timestamp should be checked.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2403 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-22 20:18:37 +00:00
Pablo de la Concepción Sanz 6f2525311a 2010-02-22 Pablo de la Concepción <pablo.concepcion@artica.es>
* lib/PandoraFMS/Core.pm: Updated documentation, fixed wrong parameters
    in the call to distance_moved.

    * man/man3/PandoraFMS::Core.pm.3: Updated manpage.

    * lib/PandoraFMS/DataServer.pm: Added the process of position_description,
    parent_agent_name now is readed (TODO: process it). Fixed bug #2926077
    by handling the error returned by timelocal and ignoring the received
    timestamp to use the server one.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2402 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-22 19:43:39 +00:00
Pablo de la Concepción Sanz 2f878ad76e 2010-02-19 Pablo de la Concepción <pablo.concepcion@artica.es>
* lib/PandoraFMS/Core.pm: Updated docuemtation of the interface.

	* 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@2389 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-19 14:26:09 +00:00
Ramon Novoa 24d57bbcbf 2010-02-19 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Enabled FF protection for module states
          (not just events).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2388 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-19 13:16:46 +00:00
slerena a003fd22e4 2010-02-19 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/Core.pm: Added comments to new statistical functions.
	Added support for log4x  in statistical functions.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2387 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-19 13:08:42 +00:00
Pablo de la Concepción Sanz b4515f6638 2010-02-18 Pablo de la Concepción <pablo.concepcion@artica.es>
* lib/PandoraFMS/Core.pm: Restored documentation lost in one of the
    last commits.


    * man/man3/PandoraFMS::Core.pm.3: Updated manpage with the restored 
    documentation



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2381 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-18 18:16:27 +00:00
Pablo de la Concepción Sanz efc6f3acd7 2010-02-18 Pablo de la Concepción <pablo.concepcion@artica.es>
* lib/PandoraFMS/Core.pm: Modified to use the new tables
    (tgis_data_history and tgis_data_status).

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



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2379 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-18 17:49:48 +00:00