Commit Graph

284 Commits

Author SHA1 Message Date
Ramon Novoa f987b23920 2012-06-21 Ramon Novoa <rnovoa@artica.es>
* DEBIAN/control,
	  DEBIAN/make_deb_package.sh,
	  conf/pandora_server.conf,
	  pandora_server.spec,
	  lib/PandoraFMS/Config.pm,
	  pandora_server.redhat.spec,
	  util/pandora_db.pl,
	  util/pandora_manage.pl: Updated version strings.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6671 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-21 17:39:54 +00:00
juanmanuelr 0e50b276d5 2012-06-21 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* util/pandora_xml_stress.conf
	 util/pandora_xml_stress.pl: Changed XML character codification 
	of Pandora XML stress to UTF-8.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6651 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-21 11:47:23 +00:00
mdtrooper 7603298f9c 2012-06-11 Miguel de Dios <miguel.dedios@artica.es>
* pandora_server/util/pandora_xml_stress.pl: cleaned source code
	style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6476 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-11 10:25:58 +00:00
koichirok f313e1a1e2 2012-05-29 Koichiro Kikuchi <koichiro@rworks.jp>
* util/pandora_db.pl: Don't delete non-initialized modules which
	 belong to disabled agent.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6353 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-29 07:12:09 +00:00
koichirok 0fcd6f8641 2012-05-21 Koichiro Kikuchi <koichiro@rworks.jp>
* util/pandora_db.pl: Merged from 4.0.2: Set default DB port
	 number when it's not specified in the configuration file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6324 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-21 06:37:12 +00:00
zarzuelo 22ffc92411 2012-05-17 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Added --create_network_module_from_component
	option to CLI passing component and target agent names



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6308 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-17 09:42:52 +00:00
darode 9b096f7a4a 2012-05-16 Dario Rodriguez <dario.rodriguez@artica.es>
* util/pandora_xml_stress.conf: Fixed a wrong default configuration file
	for pandora_xmk_stress

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6303 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-16 04:59:22 +00:00
darode 500528937d 2012-05-09 Dario Rodriguez <dario.rodriguez@artica.es>
* util/plugin/ipmi-plugin.pl,
	util/recon_scripts/ipmi-recon.pl: Fixed some bugs of plugin and
	recon

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6275 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-09 07:40:24 +00:00
koichirok 151024c1c3 2012-04-19 Koichiro Kikuchi <koichiro@rworks.jp>
* conf/pandora_server.conf.windows,
	  conf/pandora_server.conf,
	  lib/PandoraFMS/DB.pm
	  lib/PandoraFMS/Core.pm
	  lib/PandoraFMS/SNMPServer.pm
	  lib/PandoraFMS/Config.pm
	  lib/PandoraFMS/ProducerConsumerServer.pm
	  bin/pandora_server
	  FreeBSD/pandora_server.conf
	  util/pandora_db.pl
	  util/recon_scripts/snmpdevices.pl
	  util/recon_scripts/ipmi-recon.pl
	  util/plugin/pandora_inventory_change.pl
	  util/plugin/pandora_server_status.pl
	  util/pandora_manage.pl
	  util/pandora_recode_db.pl
	  util/pandora_dbstress.pl: Now pandora_server supports MySQL
	 server running on non-standard port.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6054 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-20 03:56:09 +00:00
slerena 1dd53a6733 2012-04-19 Sancho Lerena <slerena@artica.es>
(Merged from 4.0.x Branch)

        * util/pandora_xml_stress.conf: default path for default agentname list.

        * lib/PandoraFMS/DataServer.pm: Units are not overwrite by an empty XML
        parameter.

        * lib/PandoraFMS/ReconServer.pm: Fixed creation of network components
        with double encoding.

        * lib/PandoraFMS/Core.pm: Applied Junichi patch (from trunk) for detecting
        keepalive in some newer SQL systems. Added a lot of safe_output in logfile.
        Added aditional check for INC types on date collision (same date for different
        data). Fixed generation of some events with double encoding.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6052 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-19 18:47:57 +00:00
slerena fb53a163aa 2012-04-18 Sancho Lerena <slerena@artica.es>
* pandora_server_installer: Fixed version.

	* lib/PandoraFMS/Config.pm: Updated version.

	* util/pandora_db.pl: Updated version.

	* util/plugin/SMTP_check.pl: New remote plugin to check SMTP.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6026 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-18 17:04:53 +00:00
koichirok dc3e1ab41e 2012-04-18 Koichiro Kikuchi <koichiro@rworks.jp>
* util/pandora_db.pl: Fixed syntax error.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6009 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-18 09:24:56 +00:00
zarzuelo e90e66f7e5 2012-04-17 Sergio Martin <sergio.martin@artica.es>
* util/pandora_db.pl: Fixed parameters gathering and
	clean undeveloped options from help for bug 3486190



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5997 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-17 11:38:41 +00:00
zarzuelo 8b2f13d112 2012-04-13 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Fixed entities trouble in the action
	exist check



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5966 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-13 08:36:08 +00:00
mdtrooper 8ab6ed98cb 2012-03-20 Miguel de Dios <miguel.dedios@artica.es>
* util/pandora_db.pl: added lines to purge the contents in the report that
	have not a modules or agents.
	
	Merged from the branch pandora_4.0
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5799 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-20 12:23:39 +00:00
slerena 5880035220 2012-03-12 Sancho Lerena <slerena@artica.es>
* util/pandora_xml_stress.agents
        util/pandora_xml_stress.conf: Added default file for agent
        dictionary. Better defaults on modules. Ready to be used for
        testing Pandora FMS servers.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5748 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-12 19:04:49 +00:00
koichirok 43c01be337 2012-03-08 Koichiro Kikuchi <koichiro@rworks.jp>
* util/pandora_db.pl: Fixed wrong SQL of my previous commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5718 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-08 07:12:22 +00:00
koichirok 64830409b7 2012-03-08 Koichiro Kikuchi <koichiro@rworks.jp>
* util/pandora_db.pl: Don't delete alerts if non-init/unknown
	 module to which these alerts assigned has not been deleted.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5716 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-08 06:35:48 +00:00
slerena bac18b070d 2012-03-07 Sancho Lerena <slerena@artica.es>
* util/pandora_xml_stress.conf
        util/pandora_xml_stress.pl: Now xml_stress tool can use units
        in the XML generated files. Default configuration file is useful
        to generate "real" scenarios.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5714 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-07 20:00:56 +00:00
slerena 02a3b2882a 2012-03-07 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/Core.pm: Updated version.

        * lib/PandoraFMS/DataServer.pm: Support for "UNIT" tag in the
        XML to update module data units from the XML.

        * util/pandora_csvbridge.pl: New tool to create XML data files
        from CSV files containing data.

        * util/pandora_watchdog.sh: Watchdog for Pandora FMS server,
        taken from the documentation and updated.

        *  util/pandora_dbstress.pl, 
        util/pandora_db.pl: Updated version strings.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5713 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-07 19:42:28 +00:00
juanmanuelr ee6a60c71d 2012-02-28 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* util/pandora_manage.pl: Modify call to function 
	pandora_delete_not_policy_modules adding md5 filename like a 
	parameter.

	Fixes: #3486481



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5668 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-28 17:41:01 +00:00
vgilc 33cf99885d 2012-02-16 Vanessa Gil <vanessa.gil@artica.es>
* util/pandora_manage.pl: Modify user comment format.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5611 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-16 10:09:41 +00:00
vgilc 7be24e8051 2012-02-16 Vanessa Gil <vanessa.gil@artica.es>
* util/pandora_manage.pl: Changed user comment format.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5610 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-16 09:47:19 +00:00
hkosaka 43c68d2a6d 2012-02-15 Hirofumi Kosaka <kosaka@rworks.jp>
* util/pandora_manage.pl: Fixed an error in help text.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5602 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-15 06:06:11 +00:00
vgilc 1f8b77a3de 2012-02-14 Vanessa Gil <vanessa.gil@artica.es>
* util/pandora_manage.pl
	  lib/PandoraFMS/Core.pm: Added 'tags'parameter
	to create_event and check if user name exists.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5596 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-14 14:53:22 +00:00
Ramon Novoa 27966c1e05 2012-02-14 Ramon Novoa <rnovoa@artica.es>
* util/pandora_xml_stress.conf: Removed a trailing blank space from
	  Module 1.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5593 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-14 12:39:30 +00:00
vgilc f5aa7172fb 2012-02-14 Vanessa Gil <vanessa.gil@artica.es>
* util/pandora_manage.pl: Changed 'agent_name' and 'module_name' parameters
	to create_event.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5590 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-14 11:58:13 +00:00
vgilc 61ab4cafa4 2012-02-14 Vanessa Gil <vanessa.gil@artica.es>
* util/pandora_manage.pl: Changed default field separator to 
	get_event_info and get_module_data.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5587 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-14 10:50:25 +00:00
vgilc da8134b0a0 2012-02-13 Vanessa Gil <vanessa.gil@artica.es>
* util/pandora_manage.pl: Added get_event_info.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5579 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-13 17:35:54 +00:00
vgilc fb8d05d3e8 2012-02-13 Vanessa Gil <vanessa.gil@artica.es>
* util/pandora_manage.pl
	  lib/PandoraFMS/Core.pm: Added optional parameters to create events.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5572 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-13 15:20:34 +00:00
vgilc da7091204b 2012-02-13 Vanessa Gil <vanessa.gil@artica.es>
* util/pandora_manage.pl: Changed Event validate given id.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5571 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-13 14:07:02 +00:00
vgilc fcfaafcdef 2012-02-10 Vanessa Gil <vanessa.gil@artica.es>
* util/pandora_manage.pl: Added new Event validate given id.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5545 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-10 09:30:21 +00:00
darode e4b5a16acc 2012-02-06 Dario Rodriguez <dario.rodriguez@artica.es>
* util/pandora_xml_stress.pl: Fixed a problem with new version of perl
	with threads::all, also fixed a concatenation error in a string.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5493 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-06 12:06:01 +00:00
hkosaka 012f714eb2 2012-01-23 Hirofumi Kosaka <kosaka@rworks.jp>
* util/pandora_manage.pl: Fixed mismatch arguments call of
	pandora_create_template_module.

	* lib/PandoraFMS/Core.pm: Fixed misleading comment about
	pandora_create_template_module function signature.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5401 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-23 10:45:47 +00:00
zarzuelo 9aa3c0b199 2012-01-20 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Fixed some typos and
	help



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5395 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-20 10:55:18 +00:00
zarzuelo 50adcdec07 2012-01-20 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Core.pm
	util/pandora_manage.pl: Added new options to CLI
	managing conf files and updating agents...



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5394 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-20 08:52:17 +00:00
zarzuelo 7689c34fd3 2012-01-18 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Add option to CLI to 
	get all policies or the policies with a given agent



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5389 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-18 12:25:03 +00:00
zarzuelo 5dc870975c 2012-01-18 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Added new options to
	CLI as get agent modules, get policy modules, 
	validate alerts, and more



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5387 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-18 11:21:59 +00:00
zarzuelo 56b813d636 2012-01-17 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Added option to add all
	policy to application queue in CLI. Organize help
	by categories



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5381 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-17 13:10:54 +00:00
zarzuelo c0c6844e9d 2012-01-17 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Added the option
	exec_from_file to import CSV data. Fixed create_user
	option entities



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5375 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-17 09:30:52 +00:00
zarzuelo 25290779b5 2012-01-16 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/DB.pm: Added a missed safe input in
	the get_agent_module_id function

	* util/pandora_manage.pl: Added options to update a 
	field of a data, network, plugin or snmp module



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5374 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-16 14:55:55 +00:00
zarzuelo 8bccd52b4d 2012-01-13 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Added update_alert_template
	option



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5364 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-13 09:43:29 +00:00
zarzuelo dd3e70cf01 2012-01-12 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Added options to add
	network, plugin and snmp modules to policy from 
	CLI



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5363 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-12 16:02:04 +00:00
zarzuelo 0f1f09a85c 2012-01-11 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Added icon to the create
	group option



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5348 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-11 16:25:15 +00:00
zarzuelo 97967f211b 2012-01-11 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Fixed a little bug in 
	the configuration_data field when create a data
	module in a policy



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5347 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-11 15:42:52 +00:00
zarzuelo 65c342a1ec 2012-01-11 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Little fixes over the last
	changes



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5345 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-11 15:09:07 +00:00
zarzuelo 812a4de642 2012-01-11 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Added options
	--create_policy_data_module and --create_alert_template 
	to CLI and merged changes from Kosaka works into 4.0 branch
	adding str_warning and str_critical parameters to all
	modules creation options



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5342 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-11 10:09:02 +00:00
zarzuelo 7287aea79b 2012-01-05 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Added --get_module_data in 
	CSV format option to CLI



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5326 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-05 16:11:11 +00:00
zarzuelo 7af2e95474 2012-01-05 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/DB.pm
	util/pandora_manage.pl: Added two new options to 
	CLI --update_user and --add_profile_to_user



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5325 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-05 12:11:03 +00:00
zarzuelo 6aa72c3b37 2012-01-04 Sergio Martin <sergio.martin@artica.es>
*  lib/PandoraFMS/DB.pm
	util/pandora_manage.pl: Added --enable_user and
	--disable_user options to CLI



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5321 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-04 15:09:02 +00:00