Commit Graph

684 Commits

Author SHA1 Message Date
slerena d8903afee8 2011-06-03 SanchO Lerena <slerena@artica.es>
* pandora_inventory_change.pl
        pandora_inventory_change.README: New remote plugin to check
        changes in inventory, using a direct database check (only MySQL
        supported).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4402 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-03 14:25:13 +00:00
Ramon Novoa 2171d8f48b 2011-06-02 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DataServer.pm: Do not include BADXML files when
	  evaluating max_queue_files.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4398 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-02 15:28:29 +00:00
Ramon Novoa 5a95033fc2 2011-05-30 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Fixed the query to get the number of unknown
	  agents. Thanks to Koichiro.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4392 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-30 16:53:42 +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
Ramon Novoa bb9cd2023f 2011-05-23 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/SNMPServer.pm: Applied Koichiro's patch to reuse an
	  already running snmptrapd.

	* lib/PandoraFMS/DataServer.pm: Do not update the configuration of
	  policy modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4376 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-23 13:13:34 +00:00
zarzuelo 8c9c68cd84 2011-05-23 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/DB.pm
	lib/PandoraFMS/Core.pm
	util/pandora_db.pl
	util/pandora_manage.pl: Added minor functions and fixes to policy queue
	and call to clean policy queue in maintenance script



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4374 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-23 11:55:08 +00:00
zarzuelo ed5a909d01 2011-05-12 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Added check of the returning of add 
	operation to queue



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4344 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-12 11:47:21 +00:00
zarzuelo 33da2b1406 2011-05-12 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/DB.pm: Added a function to give the address of
	one agent



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4342 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-12 11:11:37 +00:00
zarzuelo 875372ddf7 2011-05-12 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Change apply policy option in CLI to
	add application to queue



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4341 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-12 09:51:18 +00:00
zarzuelo 2e140d4939 2011-05-11 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Core.pm
	bin/pandora_server
	util/pandora_manage.pl: Added thread in main loop of the 
	server with check to the policy queue. 
	Apply and delete agents from policy in the new thread
	Deleting policies lock system from server 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4335 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-11 10:15:04 +00:00
zarzuelo 59c2600490 2011-05-09 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/DB.pm
	lib/PandoraFMS/Core.pm
	util/pandora_manage.pl: Moved some functions from CLI to common
	files



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4317 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-09 09:42:01 +00:00
slerena 98c4bd8c68 2011-05-07 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/ReconServer.pm: Ported changes from 3.2 on
        Recon.  Full topology recursive discovery and resolution, os_type
        conditional.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4316 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-07 19:29:29 +00:00
mdtrooper 2df58cf15b 2011-05-05 Miguel de Dios <miguel.dedios@artica.es>
* operation/search_agents.php: changed the SQL query for PostgreSQL.
	
	* godmode/agentes/configurar_agente.php: cleaned source code style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4313 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-06 09:17:40 +00:00
mdtrooper 7fff28cea6 2011-05-05 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php,
	include/ajax/visual_console_builder.ajax.php: fixed the include the new
	graph engine in the ajax calls.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4309 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-06 07:12:58 +00:00
mdtrooper 7ddba9b5c1 2011-05-04 Miguel de Dios <miguel.dedios@artica.es>
* util/pandora_xml_stress.pl: changed the source code to generate local conf
	for each agent. And in next executions you can change in remote conf in
	Pandora Console Enteprise as real agent.
	
	* util/pandora_xml_stress.README: added confs for the generate local conf.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4300 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-04 10:50:19 +00:00
zarzuelo 6ac8529410 2011-05-04 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Added standby field to be propagated
	in apply policy option



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4299 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-04 09:53:23 +00:00
zarzuelo 21bb51e2ad 2011-05-03 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Added option to disable all the
	alerts of one policy. 
	Updated apply_policy option to use disabled flag
	on the creation and update



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4298 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-03 16:55:17 +00:00
Ramon Novoa 7fd3cc4458 2011-05-03 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DB.pm, lib/PandoraFMS/DataServer.pm: Check that a group
	  exists before auto-creating an agent.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4297 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-03 14:24:51 +00:00
mdtrooper bcb5e61375 2011-04-29 Miguel de Dios <miguel.dedios@artica.es>
* util/pandora_xml_stress.pl: added the generate scatter and curve data
	and change the method to create fake modules.
	
	* util/pandora_xml_stress.README: change the description of fake modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4291 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-29 09:17:28 +00:00
raulmateos 2bcd7e8386 2011-04-28 Raul Mateos <raulofpandora@gmail.com>
* pandora_server_installer: Updated banner.
	* Changelog: Forgot the commit of this file

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4289 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-28 16:36:18 +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
Ramon Novoa 4f45266650 2011-04-20 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm,
	  lib/PandoraFMS/DataServer.pm: Module status can be set from the XML
	  data file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4271 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-20 15:55:28 +00:00
Ramon Novoa 833ef3149a 2011-04-20 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Added _policy_ macro to alerts (Enterprise).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4269 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-20 14:57:49 +00:00
Ramon Novoa 454ea4f1ba 2011-04-19 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DB.pm,
	  lib/PandoraFMS/Core.pm,
	  lib/PandoraFMS/DataServer.pm: Fixed module data processing
	  for PostgreSQL and Oracle.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4253 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-19 15:32:11 +00:00
Ramon Novoa e7e394009d 2011-04-18 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/SNMPServer.pm,
	  lib/PandoraFMS/NetworkServer.pm,
	  lib/PandoraFMS/DB.pm,
	  lib/PandoraFMS/Core.pm: Adding support for Oracle. The main loop
	  works now.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4244 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-18 16:42:18 +00:00
darode 73a4684d7d 2011-04-14 Dario Rodriguez <dario.rodriguez@artica.es>
* util/tentacle_serverd: Changed get_pid function now also checks
	tentacle_port when searchs for running tentacle server. This feature	
	allow you to run 2 tentacle server in different ports 1 for Pandora and
	1 for Babel.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4225 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-14 16:34:03 +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
slerena 544e1c9329 2011-04-13 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/Tools.pm: Fixed bug #3273910. HPUX detection.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4208 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-13 15:11:21 +00:00
slerena 677a608511 2011-04-13 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/ReconServer.pm: Fixed bug #3286027. Fix also
        the "non finished" status for the Script Recon tasks, and as
        new feature implements the "manual" recon task, works only when
        you press the button.

	Ported from Branch 3.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4205 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-13 14:59:18 +00:00
jsatoh 276b40f1d0 2011-04-10 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/DB.pm: Moved mysql_enable_utf8 to after database
	connection. It is to avoid coding conversion against multibyte
	characters by mysql.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4181 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-10 01:18:01 +00:00
jsatoh 22fc4a5cde 2011-04-04 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/Tools.pm: Added UTF-8 flags deletion from multibyte
	characters when files are opened.

	* lib/PandoraFMS/DB.pm: Added mysql_enable_utf8. It enables character
	semantics (support for multibyte characters).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4161 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-04 04:59:37 +00:00
darode 0f0eeedb74 2011-03-16 Dario Rodriguez <dario.rodriguez@artica.es>
* util/plugin/create_integria_incident.sh: Fixed an error in help text.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4102 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-16 16:37:07 +00:00
darode e30b5299e9 2011-03-16 Dario Rodriguez <dario.rodriguez@artica.es>
* util/plugin/integria_plugin/integria_plugin.sh,
	util/plugin/babel_plugin/babel_plugin.sh: Fixed an error with wget call.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4101 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-16 16:14:12 +00:00
darode 29e29ec6dd 2011-03-16 Dario Rodriguez <dario.rodriguez@artica.es>
* util/plugin/create_integria_incident.sh: Create script to create a new
	incident in Integria, this script could be used as an action in Pandora FMS.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4100 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-16 16:11:16 +00:00
darode cf2d63ac56 2011-03-16 Dario Rodriguez <dario.rodriguez@artica.es>
* util/plugin/integria_plugin/,
	util/plugin/integria_plugin/plugin_definition.ini,
	util/plugin/integria_plugin/integria_plugin.sh,
	util/plugin/integria_plugin/README: Created integria plugin for Pandora.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4097 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-16 11:25:33 +00:00
darode a8aab036a4 2011-03-16 Dario Rodriguez <dario.rodriguez@artica.es>
* util/plugin/babel_plugin/babel_plugin.sh: Fixed an error in help text
	with a wrong parameter.
	* util/plugin/babel_plugin/README: Improved README text.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4096 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-16 11:21:23 +00:00
darode 6ebc9dc434 2011-03-16 Dario Rodriguez <dario.rodriguez@artica.es>
* util/plugin/babel_plugin/README: Create README file for babel plugin



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4095 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-16 09:31:18 +00:00
darode f5b72054cb 2011-03-15 Dario Rodriguez <dario.rodriguez@artica.es>
Fixed an error with a date in Changelog :)!



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4094 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-15 18:32:05 +00:00
darode 76674b4a63 2011-03-13 Dario Rodriguez <dario.rodriguez@artica.es>
*util/plugin/babel_plugin/plugin_definition.ini, 
	util/plugin/babel_plugin/babel_plugin.sh: Created plugin to connect 
	Pandora FMS with Babel Enterprise. You can create a pspz package for
	this plugin.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4093 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-15 18:30:31 +00:00
slerena 3c311bff4d 2011-03-15 Sancho Lerena <slerena@artica.es>
* util/recon_scripts/snmpdevices.pl: Fixed a typo in interface 
        detection :-(



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4091 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-15 17:43: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
Ramon Novoa 4c27ef9836 2011-02-28 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DataServer.pm: Fixed a typo. Thanks to Kikuchi Koichiro.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4022 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-28 10:21:03 +00:00
Ramon Novoa d2c6861d4d 2011-02-24 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/WMIServer.pm: Fixed a typo. Thanks to Tadashi Kaneda.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4015 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-24 10:12:12 +00:00
Ramon Novoa 10773b57dd 2011-02-23 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: HTML encode events.

	* lib/PandoraFMS/DataServer.pm: Do not reset module parameters
	  unless specifically set in the XML.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3995 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-23 10:50:00 +00:00
Ramon Novoa 5eea5cd7b5 2011-02-22 Ramon Novoa <rnovoa@artica.es>
* pandora_server_installer: Change tentacle_server permissions.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3989 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-22 17:04:21 +00:00
slerena 00b3bd36c1 2011-02-22 Sancho Lerena <slerena@artica.es>
* Core.pm: Fixed bug #3175575




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3970 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-22 09:11:06 +00:00
slerena 2c5be45868 2011-02-21 Sancho lerena <slerena@artica.es>
* DEBIAN/postinst: Fixed bad ownership for /inconming/* subdirs.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3940 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-21 12:09:27 +00:00
Ramon Novoa 4414864c68 2011-02-18 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Verify that there is a data server running
	  when computing server stats. Thanks to Tadashi Kaneda.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3921 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-18 11:42:56 +00:00