Commit Graph

803 Commits

Author SHA1 Message Date
ramonn 965e0d7668 2011-07-01 Ramon Novoa <rnovoa@artica.es>
* Makefile.PL: Removed NetAddr::IP from the dependency list. Not
	  needed by the new improved Recon Server.

	* lib/PandoraFMS/ReconServer.pm: Improved Recon server that uses nmap.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4507 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-01 12:38:54 +00:00
zarzuelo 59d115f07a 2011-06-30 Sergio Martin <sergio.martin@artica.es>
* util/recon_scripts/snmpdevices.pl: Improved recon script 
	to update existing modules, add a new parameter optative -a 
	to force show downed interfaces (only up are processed by default)
	Get the interfaces ip (if is setted) and put it in the status interface
	module description



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4506 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-30 16:33:05 +00:00
zarzuelo 11ee7f6d05 2011-06-28 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/DB.pm
	lib/PandoraFMS/Core.pm
	lib/PandoraFMS/DataServer.pm: Improved the token ip
	implantation adding the ip to the secondary agent ips



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4496 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-28 15:41:13 +00:00
zarzuelo 2664eba7b2 2011-06-28 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/DB.pm
	lib/PandoraFMS/ReconServer.pm: Moved add_address function 
	to DB to common uses and create add_new_address_agent function
	into DB library with repeated code for the same 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4492 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-28 10:04:45 +00:00
jsatoh f6eac586de 2011-06-27 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/NetworkServer.pm: Fixed SNMP PROC modules always
	return critical state.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4484 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-27 03:07:44 +00:00
koichirok f4e3adea24 2011-06-23 Koichiro Kikuchi <koichiro@rworks.jp>
* lib/PandoraFMS/Tools.pm: Checked if pandora_server is already
	  running, in order to prevent multiple instances with same PID
	  file from running. And made PID file permissions 644, rather
	  than 666.

	* bin/pandora_server: Remove PID file on shutdown.

	* FreeBSD/pandora_server: Use -P option for PID file instead of
	  pgrep.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4481 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-23 03:50:31 +00:00
ramonn 34a3efe75d 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
zarzuelo cccf2ad6fe 2011-06-21 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/DataServer.pm: Fixed numeric condition in a string
	comparation



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4477 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-21 15:19:43 +00:00
zarzuelo 2c3c041af3 2011-06-21 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/NetworkServer.pm: Added blank space in a couple of
	queries to avoid errors when the enterprise is not installed



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4476 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-21 14:28:08 +00:00
ramonn ae8dff9657 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
zarzuelo 1087de701f 2011-06-20 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/DB.pm: Added quotes to process
	database functions to avoid errors when the tables
	will have key words names

	* lib/PandoraFMS/Core.pm: Fixed a bug change the position
	of two conditions to avoid a notice



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4471 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-20 16:18:18 +00:00
ramonn 0297d3e682 2011-06-16 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Fixed a typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4462 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-16 17:50:45 +00:00
koichirok 119d0d718a 2011-06-15 Koichiro Kikuchi <koichiro@rworks.jp>
* lib/PandoraFMS/Tools.pm: Added FreeBSD specific code to load_average()
	  and free_mem() functions.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4447 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-15 07:22:39 +00:00
slerena 64f1786c58 2011-06-13 Sancho Lerena <slerena@artica.es>
* Tools.pm: Avoid errors when provide an empty string to md5.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4437 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-13 14:03:59 +00:00
slerena 0ef05dff62 2011-06-13 Sancho Lerena <slerena@artica.es>
* NetworkServer.pm: Avoid warning messages on pandora_server.error




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4433 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-13 12:05:55 +00:00
ramonn 87fbdbb1cd 2011-06-10 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DB.pm: Added a function to get the group of an agent.

	* lib/PandoraFMS/Core.pm: Fixed a prototype.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4431 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-10 12:50:56 +00:00
ramonn c220594014 2011-06-08 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Use commas to separate tags.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4421 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-08 15:08:52 +00:00
ramonn 872f7d49bc 2011-06-08 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DB.pm: Added a function to get the name of an alert
	  template given the alert id.
	
	* lib/PandoraFMS/Core.pm: Added support for module tags.
	
	* lib/PandoraFMS/DataServer.pm: Do not queue more than max_queue_files
	  files (not max_queue_files + 1!).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4417 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-08 11:07:39 +00:00
ramonn fd1f6141bd 2011-06-06 Ramon Novoa <rnovoa@artica.es>
* util/pandora_db.pl: Use days_compact instead of days_purge in
	  pandora_compactdb.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4412 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-06 16:33:32 +00:00
slerena dd00c384af 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
ramonn a3f1eaec57 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
ramonn 10d2bd9b7c 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
ramonn 5064fbe260 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
ramonn b8687f5f54 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 54903089c9 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 107b1f5ecf 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 dda7b55d58 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 f817a4f400 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 b53259a235 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 f8cf38772d 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 78554bd17e 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 985fd754fb 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 66ad4324de 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 0d41873295 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 fca471327a 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 d9da5fab81 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
ramonn ff9b6ecb14 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 924bc07fc9 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 bc17bbc5aa 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 b3c0443485 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
ramonn 4a7c053919 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
ramonn a88b222db2 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
ramonn dc92bdce3c 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
ramonn a6c3579232 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
ramonn 2a4fad4c62 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 dd4ad732e7 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
ramonn 771ac06c12 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 f44299ffb9 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 9f80871e3e 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 bee4eb2f4d 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 e9cfbf4160 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 cb4a15cf97 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 fd66477f67 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 23acf23a81 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 42da504c21 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 66f5931816 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 8c91c3746f 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 7f8f54aaae 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 07818205c3 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 7128397c61 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 a274b8cdd0 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 9e0908125c 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
ramonn d3d72fcc0a 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
ramonn 247b1a118b 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
ramonn 632eb5e671 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
ramonn b34dab5c4d 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 2c73082f0e 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 b7ff54f8b5 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
ramonn 87a6c20335 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
ramonn b9204d30ac 2011-02-16 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DataServer.pm: Do not update the module description
	  if it's empty. Fixes bug #3162637.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3880 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-16 16:50:19 +00:00
jsatoh 46e5822ef7 2011-02-16 Junichi Satoh <junichi@rworks.jp>
* FreeBSD/tentacle_server: Added a filter option.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3867 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-16 04:22:45 +00:00
ramonn 40552af8f5 2011-02-15 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Added support for action thresholds.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3856 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-15 16:42:37 +00:00
darode da7298c26d 2011-02-14 Dario Rodriguez <dario.rodriguez@artica.es>
* util/pandora_xml_stress.pl: Fixed an error using config files with
	blanks in their names.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3822 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-14 08:42:10 +00:00
zarzuelo 744a857412 2011-02-08 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Tools.pm
	util/pandora_recode_db.pl: Added characters to translate
	to html entities into safe_input and safe_output. Clean
	repeated code into recode script.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3812 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-08 16:38:38 +00:00
jsatoh f696a29caf 2011-02-08 Junichi Satoh <junichi@rworks.jp>
* util/pandora_manage.pl: Fixed invalid module id with creation of
	network module. Network module should be 2.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3810 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-08 04:22:14 +00:00
slerena 8438b49553 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
zarzuelo feaf47a555 2011-01-31 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/DB.pm: Fixed a codification bug with
	the CLI policy apply



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3791 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-31 15:39:13 +00:00
slerena 0f1e9c220f 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
juanmanuelr 39efcc7bef 2010-01-07 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* pandora_server_upgrade: Changed permissions in this file to make it executable by default.

	Fixes bug #3146314.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3728 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-07 12:30:14 +00:00
juanmanuelr 69c13f4b95 2010-01-07 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* pandora_server_installer: Installer applies correct permissions 
	  to /var/spool/pandora directory using pandora_server_installer in Suse. 
	  Fixes bug #3150287.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3727 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-07 12:22:45 +00:00
slerena 9022ab1e58 2011-01-07 Sancho Lerena <slerena@artica.es>
* util/pandora_xml_stress.pl: There is no reason why proc
        modules cannot be redefined to operate with min/max.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3723 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-07 00:01:13 +00:00
ramonn 0012d83605 2010-12-27 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DB.pm, lib/PandoraFMS/Core.pm: Removed calls to
	  safe_input related to tserver.name. Server names are not
	  converted to HTML entities yet.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3716 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-27 22:39:02 +00:00
ramonn e892bfd8ac 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
ramonn ccf52be04e 2010-12-27 Ramon Novoa <rnovoa@artica.es>
* util/pandora_recode_db.pl: Added back to the repository until
	  version 3.2 is released.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3712 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-27 18:22:36 +00:00
slerena 8fc610c713 2010-12-27 Sancho Lerena <slerena@artica.es>
* util/pandora_sync_db.pl: Fixed a undefined condition.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3710 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-27 15:51:54 +00:00
zarzuelo 2f8be2178a 2010-12-22 Sergio Martin <sergio.martin@artica.es>
*  util/pandora_manage.pl: Fixed duplicate module creation
	into config file



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3686 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-22 16:58:39 +00:00
ramonn cabb7989bd 2010-12-22 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Fixed day name array. 0 corresponds
	  to Sunday. Fixes bug #3122177.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3682 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-22 12:57:12 +00:00
zarzuelo 52c58e87e4 2010-12-22 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Fixed codification bug in the
	conf modules declaration



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3681 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-22 12:46:59 +00:00
ramonn 97b037820e 2010-12-22 Ramon Novoa <rnovoa@artica.es>
* util/pandora_recode_db.pl: Removed from repository. Not
	  needed anymore (kept in the 3.1 branch).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3678 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-22 10:23:26 +00:00
zarzuelo c759f748f1 2010-12-22 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Improved the end of execution
	message.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3677 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-22 09:51:34 +00:00
mdtrooper 393f83f1cb 2010-12-20 Miguel de Dios <miguel.dedios@artica.es>
* util/pandora_recode_db.pl: added to recode the table "tpolicy_modules".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3668 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-20 16:57:42 +00:00
mdtrooper a79f01da47 2010-12-16 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/control, DEBIAN/make_deb_package.sh, pandora_console.spec,
	pandora_console.redhat.spec: update the version number.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3662 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-16 17:26:49 +00:00
zarzuelo 5eb469008c 2010-12-09 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Core.pm
	util/pandora_manage.pl
	util/pandora_sync_db.pl: Added agents and modules
	existence checks on source and destination in 
	sync db script. Added messages in execution time



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3656 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-09 15:42:58 +00:00
zarzuelo 3367ac9a1b 2010-12-09 Sergio Martin <sergio.martin@artica.es>
* util/recon_scripts/snmpdevices.pl: Fixed a typo from the
	default server path in configuration



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3655 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-09 09:08:05 +00:00
zarzuelo 903967d1fb 2010-12-07 Sergio Martin <sergio.martin@artica.es>
* util/recon_scripts/snmpdevices.pl: Fixed the snmp recon script 
	example to recognize the not consecutive interfaces



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3654 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-07 16:43:11 +00:00
darode c68189a07e 2010-12-02 Dario Rodriguez <dario.rodriguez@artica.es>
* lib/PandoraFMS/ReconServer.pm: Fixed a bug with recon server.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3651 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-02 10:01:04 +00:00
jsatoh c417d191d4 2010-12-02 Junichi Satoh <junichi@rworks.jp>
* FreeBSD/pandora_server.conf: Added wmic file path for FreeBSD.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3650 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-02 03:39:29 +00:00
ramonn e83717071e 2010-12-01 Ramon Novoa <rnovoa@artica.es>
* util/pandora_recode_db.pl: Redefine safe_input to avoid loading
	  a buggy one from a 3.1 Tools.pm.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3648 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-01 19:45:16 +00:00
darode 5294bceada 2010-11-29 Dario Rodriguez <dario.rodriguez@artica.es>
* lib/PandoraFMS/ReconServer.pm: Fixed a problem with HTML entities executing 
	ReconServer.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3643 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-29 16:24:25 +00:00
ramonn 9f0fc06a48 2010-11-29 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Tools.pm: Added ' to the list of characters to HTML
	  encode.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3642 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-29 12:56:58 +00:00
slerena d96b006f5e 2010-11-26 Sancho Lerena <slerena@artica.es>
* pandora_agents/unix/DEBIAN/make_deb_package.sh,
	pandora_agents/unix/pandora_agent.spec,
	extras/build_deb.sh,
	pandora_console/DEBIAN/make_deb_package.sh,
	pandora_server/DEBIAN/make_deb_package.sh: Updated debian
	package generation (version update and small fixes/adjustements)




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3634 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-25 22:48:13 +00:00
slerena 698ab010c4 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
raulmateos d6b8a3ba78 2010-11-22 Raul Mateos <raulofpandora@gmail.com>
* Commit updated changelog

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3617 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-22 18:46:03 +00:00
raulmateos 1eb18ef494 2010-11-22 Raul Mateos <raulofpandora@gmail.com>
* pandora_server_upgrade, pandora_server_installer, README: Updated version

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3616 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-22 18:44:31 +00:00
raulmateos b313c50735 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
ramonn 569f86e096 2010-11-19 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Added a missing paremeter to
	  pandora_generate_alert in pandora_module_unknown. Fixes
	  bug #3111191.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3605 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-19 11:50:19 +00:00
ramonn 5acbc25484 2010-11-19 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Fixed regexp alerts. The patch to detect
	  malformed regular expressions made them malfunction.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3603 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-19 10:48:27 +00:00
ramonn 61fbdcd4c6 2010-11-18 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm,
	  lib/PandoraFMS/DataServer.pm: Update agent address from the XML.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3602 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-18 18:24:21 +00:00
ramonn 109619a5da 2010-11-16 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Decode HTML entities in macros.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3591 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-16 10:38:59 +00:00
jsatoh d981d7e40a 2010-11-11 Junichi Satoh <junichi@rworks.jp>
* FreeBSD/tentacle_server: Fixed variable name of PID.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3570 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-11 00:58:56 +00:00
slerena 56349651ca 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
mdtrooper e1dd530186 2010-11-10 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/postinst, DEBIAN/prerm, DEBIAN/make_deb_package.sh: fixed the use
	pandora_exec for Pandora Server and Pandora Agent, now make a
	pandora_exec.agent and try to link to pandora_exec.
	
	Fixes: #3106578



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3567 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-10 13:00:29 +00:00
mdtrooper 03a3ef2198 2010-11- Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/postinst, DEBIAN/prerm, DEBIAN/make_deb_package.sh: fixed the use
	pandora_exec for Pandora Server and Pandora Agent, now make a
	pandora_exec.server and try to link to pandora_exec.
	
	Fixes: #3106578



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3566 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-10 12:59:07 +00:00
jsatoh 3be767f187 2010-11-10 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/Tools.pm: Added a parameter of unsafe_chars, '<>&',
	to encode_entities(). It is support for multibyte characters.
	If it is not defined, records with multibyte characters on database
	are destroyed by 'pandora_recode_db.pl'. :(



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3562 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-10 01:11:47 +00:00
zarzuelo ce5aeffd30 2010-11-08 Sergio Martin <srgio.martin@artica.es>
* util/pandora_sync_db.pl: Added two special 
	synchronization cases



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3558 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-08 16:14:12 +00:00
zarzuelo 242c07f0a6 2010-11-08 Sergio Martin <sergio.martin@artica.es>
* util/pandora_sync_db.pl: Fixed array pass



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3556 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-08 15:36:33 +00:00
zarzuelo 63f076a151 2010-11-08 Sergio Martin <sergio.martin@artica.es>
* util/pandora_recode_db.pl: Checked if the tables exists
	to avoid the recodification in case of purely open 
	installations



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3553 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-08 12:52:12 +00:00
zarzuelo 8f0246f3a1 2010-11-08 Sergio Martin <sergio.martin@artica.es>
* util/pandora_sync_db.pl: Changed from DELETE to
	TRUNCATE in empty tables operation



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3548 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-08 11:47:37 +00:00
darode ac86d47d3e 2010-11-08 Dario Rodriguez <dario.rodriguez@artica.es>
* util/pandora_recode_db.pl: Added talert_template, tconfig_os,
	talet_actions and ttipo_modulo to encode names fields.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3547 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-08 09:21:21 +00:00
jsatoh ee98db53c9 2010-11-07 Junichi Satoh <junichi@rworks.jp>
* Makefile.PL: Added 'INSTALLSITELIB' for FreeBSD. (undefined)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3545 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-07 03:03:49 +00:00
zarzuelo 388b03d2cf 2010-11-05 Sergio Martin <sergio.martin@artica.es>
* util/pandora_sync_db.pl: Changed the tevento table
	synchronization to sync it only when the flag sync_data 
	is 1



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3541 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-05 13:38:56 +00:00
slerena 00d793c06b 2010-11-05 Sancho Lerena <slerena@artica.es>
* Makefile.PL: Now default install for libs are the same than
        used in RPM, this will help to avoid problems of duped libs.

        * pandora_server.spec,
        pandora_server.redhat.spec: Update version and release.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3535 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-05 10:48:54 +00:00
zarzuelo f300fd0a1f 2010-11-04 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/DB.pm
	lib/PandoraFMS/Core.pm
	util/pandora_manage.pl: Improved the policies
	appliement with checks and the external
	alerts addition



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3522 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-04 17:35:37 +00:00
ramonn 9b8b02539d 2010-11-03 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Tools.pm: limpia_cadena removes unwanted
	  characters instead or replacing them with blank spaces.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3512 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-03 19:20:12 +00:00
zarzuelo 65cea57f75 2010-11-03 Sergio Martin <sergio.martin@artica.es>
* util/pandora_recode_db.pl: Added a recode script to add
	html entities to secific strings of a database. This script is usefull
	to 3.1 to 3.2 migration of Pandora FMS.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3501 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-03 09:03:27 +00:00
zarzuelo 956a3a0955 2010-11-02 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/DB.pm
	lib/PandoraFMS/Core.pm
	lib/PandoraFMS/ReconServer.pm
	lib/PandoraFMS/DataServer.pm
	lib/PandoraFMS/Tools.pm: Fixed insert db operations
	in server to store the html entities. This improves
	fix bug 3096436



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3499 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-02 17:26:34 +00:00
zarzuelo 5a86c70352 2010-11-02 Sergio Martin <sergio.martin@artica.es>
* util/recon_scripts/snmpdevices.pl: Fixed a missed typo



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3498 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-02 16:45:53 +00:00
zarzuelo 4c01fbb497 2010-11-02 Sergio Martin <sergio.martin@artica.es>
* util/recon_scripts/snmpdevices.pl: Fixed a module types bug and
	html entities codification



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3497 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-02 16:43:44 +00:00
mdtrooper cfaf1f2a98 2010-11-01 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/make_deb_package.sh: fixed recursive infinite loop with try to
	copy "temp_package" into "temp_package/usr/share/pandora_agent/temp_package"
	again and again.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3488 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-01 17:46:29 +00:00
slerena 7fbc78e892 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
zarzuelo 319ebac78c 2010-10-28 Sergio Martin <sergio.martin@artica.es>
* util/pandora_sync_db.pl: Added the Pandora Database Synchronization
	script to server for pending task 3085932



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3474 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-28 09:08:00 +00:00
ramonn 52da447645 2010-10-25 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Fixed a bug that made the server crash when
	  trying to match an alert with an invalid regular expression.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3463 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-25 17:29:11 +00:00
zarzuelo 79a86c4950 2010-10-25 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Change a Warning notice to
	informative notice



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3457 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-25 15:08:27 +00:00
slerena b6f5e9996c 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
jsatoh 5abe1cea48 2010-10-22 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/NetworkServer.pm: Deleted Solaris specific SNMPGET
	definition. It is the same as Linux.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3446 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-22 05:18:36 +00:00
jsatoh 5db9aba7c6 2010-10-22 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/Tools.pm: Changed ping count to for() loop instead of
	using count(-c) option in pandora_ping(). By it, ping execution can be
	finished in short time.
	Added support for Solaris.
	Changed some ping usage for FreeBSD.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3445 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-22 05:12:03 +00:00
zarzuelo 3ffd3faecc 2010-10-21 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/DB.pm: Added a generic update function to return
	the number of changes

	* util/pandora_manage.pl: Added the unblock policies to the CLI and
	the block/unblock policies when it are applied.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3441 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-21 14:26:46 +00:00
jsatoh 63d971d91d 2010-10-21 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/Tools.pm: Fixed timeout option for FreeBSD ping.
	(Note: In ping6, '-t' option is not implemented. So, 'networktimeout'
	is not used with ping6.)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3440 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-21 10:12:38 +00:00
zarzuelo 6d438ac71a 2010-10-21 Sergio Martin <sergio.martin@artica.es>
* util/recon_scripts
	util/recon_scripts/PandoraFMS
	util/recon_scripts/snmpdevices.pl: Added the example recon script
	that creates several modules for each searched interface



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3439 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-21 09:28:32 +00:00
jsatoh af7facace8 2010-10-21 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/NetworkServer.pm: Deleted FreeBSD specific SNMPGET
	definition. It is the same as Linux.

	* lib/PandoraFMS/Tools.pm: Added FreeBSD specific Ping function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3438 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-21 06:43:36 +00:00
ramonn d8dccf664c 2010-10-20 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/ReconServer.pm: Pass the recon task group_id and
	  create_incident parameters to the recon script.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3437 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-20 16:42:06 +00:00
ramonn 2fef56e882 2010-10-20 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/ReconServer.pm: Pass the recon task id to the recon
	  script.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3432 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-20 14:08:13 +00:00
slerena 7092c0965f 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
jsatoh def4b442c2 2010-10-20 Junichi Satoh <junichi@rworks.jp>
* util/pandora_server: Added support for chkconfig.

	* util/tentacle_serverd: Divided comments into chkconfig and LSB init.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3428 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-20 06:52:07 +00:00
jsatoh 29df01c047 2010-10-20 Junichi Satoh <junichi@rworks.jp>
* util/tentacle_serverd: Added support for chkconfig.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3427 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-20 05:52:53 +00:00
zarzuelo 4846c2dd33 2010-10-19 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Core.pm
	util/pandora_manage.pl: Moved and renamed the module
	creation from hash function from CLI to Core



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3420 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-19 09:53:16 +00:00
zarzuelo bd958a01d1 2010-10-18 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/DB.pm
	util/pandora_manage.pl: Splitted in 4 parameters the CLI module creation
	parameter: create_data_module, create_network_module, create_snmp_module, 
	create_plugin_module



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3417 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-18 16:21:13 +00:00
ramonn 803922fa78 2010-10-15 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/ReconServer.pm: Added support for recon scripts.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3411 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-15 13:00:25 +00:00
slerena 82b6c16e2a 2010-10-14 Sancho Lerena <slerena@artica.es>
* PandoraFMS/Core.pm: Fixed bug #3085249 about empty
        extra_macros hash.

        * util/pandora_backup.sh: Fixed bug #3080826 about backup of
        links, now are using -h parameter on tar to get the real file instead the
        link.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3398 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-14 12:08:45 +00:00
slerena aa254c69e9 2010-10-14 Sancho Lerena <slerena@artica.es>
* util/pandora_manage.pl: Removed some warnings.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3396 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-14 11:13:30 +00:00