Commit Graph

207 Commits

Author SHA1 Message Date
zarzuelo e10a7bf414 2011-07-21 Sergio Martin <sergio.martin@artica.es>
* util/recon_scripts/snmpdevices.pl: Fixed undeclared variable



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4615 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-21 13:01:30 +00:00
Ramon Novoa 6c7dd8f4cc 2011-07-08 Ramon Novoa <rnovoa@artica.es>
* util/pandora_db.pl: Delete unknown modules after a defined number
	  of days.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4536 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-08 11:11:36 +00:00
zarzuelo ef81f4b085 2011-07-08 Sergio Martin <sergio.martin@artica.es>
* util/recon_scripts/snmpdevices.pl: Fiexd bug in recon script



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4531 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-08 08:46:18 +00:00
zarzuelo 76dcb56e61 2011-07-07 Sergio Martin <sergio.martin@artica.es>
* Makefile.PL
	lib/PandoraFMS/ReconServer.pm
	util/recon_scripts/snmpdevices.pl: Added disabled
	condition to recon tasks, readd NetAddr dependence and
	fix several bugs in addres loop into recon script



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4516 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-07 08:48:38 +00:00
zarzuelo 8b6e96c219 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
Ramon Novoa 93bd4b86a0 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 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
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 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
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
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
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
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 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
darode a0da53df2c 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 7160564d65 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 6d06e65cad 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 e46c9e0d2d 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
Ramon Novoa 4f9d62e260 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 21b08bf667 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 418d30135a 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
zarzuelo 5e0b347e01 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
Ramon Novoa ddc8203807 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 575806fb53 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 e256e66391 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
zarzuelo 5dd5ca54b5 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 9d6d77ad5e 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 4d900fe2d3 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
Ramon Novoa 4488782384 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
zarzuelo d6fe3c0cfc 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 6ac51cc853 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 9421300473 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 584087a0e7 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 bd3954d1a5 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
zarzuelo d89cdc45e0 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
zarzuelo 195fc478ed 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
zarzuelo d55df2395b 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 0c2876b7a6 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