Commit Graph

931 Commits

Author SHA1 Message Date
zarzuelo 8d1d6d5eec 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 65fdb2b5f0 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 81af81be97 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
koichirok a89a1c093f 2012-01-17 Koichiro Kikuchi <koichiro@rworks.jp>
* pandora_server.redhat.spec: Fixed a wrong dependency. RHEL has a
	  net-snmp-perl, not a perl-SNMP.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5378 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-17 10:50:37 +00:00
zarzuelo 0cb5d0bc62 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 55d5d8ed49 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 ceb5842fee 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 f83eb60189 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 ac22172336 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 6aa3cfaa07 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 5f60cc091a 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 8fd94d32c1 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 4b68de312a 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 2814734c0f 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 3ac4afcf0d 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
zarzuelo 4728404858 2011-12-29 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Core.pm
	util/pandora_manage.pl: Added two new options to CLI:
	Create group and add agent to policy



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5308 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-29 17:12:13 +00:00
ramonn d5a12f2737 2011-12-26 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Discard inc data when a second value
	  with the same timestamp arrives. Thanks to eXXon.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5305 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-26 11:45:19 +00:00
ramonn 01dee14165 2011-12-23 Ramon Novoa <rnovoa@artica.es>
* conf/pandora_server.conf: Added Netflow server configuration
	  tokens.

	* lib/PandoraFMS/Core.pm: Added the netflow server type.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5304 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-23 10:20:43 +00:00
ramonn 12afb58564 2011-12-22 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Config.pm: Added netflow server configuration
	  tokens.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5297 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-22 16:21:09 +00:00
ramonn bf90a26560 2011-12-14 Ramon Novoa <rnovoa@artica.es>
* util/pandora_db.pl, util/pandora_manage.pl: Updated version strings.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5261 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-14 14:13:29 +00:00
ramonn e4dd112e23 2011-12-13 Ramon Novoa <rnovoa@artica.es>
* DEBIAN/control,
	  DEBIAN/make_deb_package.sh,
	  pandora_server.spec,
	  lib/PandoraFMS/Config.pm: Fixed version strings (were wrong
	  in the previous commit).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5253 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-13 14:34:48 +00:00
ramonn 55f9c70313 2011-12-13 Ramon Novoa <rnovoa@artica.es>
* DEBIAN/control,
	  DEBIAN/make_deb_package.sh,
	  pandora_server.spec,
	  lib/PandoraFMS/Config.pm,
	  lib/PandoraFMS/Core.pm: Updated version strings.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5252 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-13 14:13:29 +00:00
zarzuelo f8dd9e452e 2011-12-12 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Tools.pm
	util/pandora_db.pl: Moved is_policy_module function from
	db script to Enteprise and call it through enterprise hook



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5245 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-12 10:55:40 +00:00
juanmanuelr b1d09d32ff 2011-12-05 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* pandora_server_upgrade: Removed rm of pandora_exec and 
	pandora_server and changed for ln -s commands.
	
	Fixes: #3451305



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5233 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-05 15:41:33 +00:00
juanmanuelr 4451313f31 2011-12-01 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* lib/PandoraFMS/NetworkServer.pm
	 lib/PandoraFMS/WMIServer.pm
	 lib/PandoraFMS/PluginServer.pm
	 lib/PandoraFMS/PredictionServer.pm: Fixed os_version  when an agent 
	 is updated.
	 
	 Fixes: #3314285 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5226 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-01 18:05:42 +00:00
juanmanuelr fa8570c8db 2011-12-01 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* lib/PandoraFMS/DB.pm
	lib/PandoraFMS/Core.pm: Added new function db_concat and added 
	compatibility with postgreSQL and Oracle in function 
	pandora_get_module_tags.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5225 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-01 16:11:42 +00:00
juanmanuelr 754e0dae66 2011-11-29 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* util/pandora_manage.pl: Added some checks that I forget in my 
	last commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5194 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-29 10:31:14 +00:00
juanmanuelr 945a3572b5 2011-11-29 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* util/pandora_manage.pl: Added checks of agent and module names at
	creation time.
	
	Fixes: #3439878



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5191 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-29 10:05:25 +00:00
jsatoh e3e9c5509d 2011-11-26 Junichi Satoh <junichi@rworks.jp>
* FreeBSD/pandora_server.conf: Synchronized with the generic
	configuration file, conf/pandora_server.conf (removed checksum token).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5176 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-26 00:26:38 +00:00
juanmanuelr 821a60deaa 2011-11-23 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* lib/PandoraFMS/NetworkServer.pm: Fixed snmp v3 call in server.

	Fixes: #3429360



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5157 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-23 15:28:55 +00:00
juanmanuelr 74f7b9e44e 2011-11-22 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* lib/PandoraFMS/ReconServer.pm: Fixed assignation of module 
	templates when a recon task creates modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5153 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-22 16:40:26 +00:00
juanmanuelr d1fd9d677e 2011-11-22 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* lib/PandoraFMS/Core.pm: Fixed a problem with keepalive module 
	(never goes down).
	
	Fixed: #3438849 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5149 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-22 11:46:19 +00:00
juanmanuelr 6bdf1fc4ad 2011-11-21 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* lib/PandoraFMS/Core.pm: Changed tag field in events insertion from
	tag name to tag name and URL. Pending to change it for Oracle and 
	PostgreSQL. 

	Fixes: #3439792



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5148 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-21 16:04:12 +00:00
Aldrioth 20d7e93c43 2011-11-17 Tomas Palacios <tomas.palacios@artica.es>
* conf/pandora_server.conf: Removed checksum token since it is
          no longer used.

          BUG FIXES: ID 3439367



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5145 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-17 12:04:50 +00:00
ramonn 18a6319fc2 2011-11-16 Ramon Novoa <rnovoa@artica.es>
* util/pandora_xml_stress.conf: Fixed a typo that made remote
	  configuration not work.
	
	* util/pandora_xml_stress.pl: Set the right server in agent conf
	  files.

	* util/pandora_xml_stress.README: Removed sample configuration
	  (already in pandora_xml_stress.conf).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5142 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-16 12:21:47 +00:00
zarzuelo 97b59fcdd5 2011-11-15 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Changed cli function to pandora function
	to reuse it in future



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5137 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-15 14:37:51 +00:00
slerena 1759d2c5e8 2011-11-15 Sancho Lerena <slerena@artica.es>
* util/pandora_db.pl: Small optimization in module deletion. Instead
        delete module data, left in there to be deleted on "timestamp" deletion.
        This is like 100 times faster!.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5134 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-14 23:47:47 +00:00
zarzuelo 8241da6244 2011-11-14 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Moved to functions each command bit of code



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5132 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-14 13:27:21 +00:00
koichirok 6c531101af 2011-11-04 Koichiro Kikuchi <koichiro@rworks.jp>
* lib/PandoraFMS/Core.pm: Avoid warning message intrduced by last
	  commit.
 


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5112 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-04 08:21:07 +00:00
koichirok 2be96b4f94 2011-11-04 Koichiro Kikuchi <koichiro@rworks.jp>
* pandora_server/lib/PandoraFMS/Core.pm: Added missing safe_output to decode
	  str_critical/str_warning.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5111 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-04 08:01:52 +00:00
darode 5cc2fd33ef 2011-10-28 Dario Rodriguez <dario.rodriguez@artica.es>
* util/recon_scripts/snmpdevices.pl: Fixed a bug related to main loop
	and broadcast address. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5098 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-28 12:45:31 +00:00
ramonn 445eff3b97 2011-10-28 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DataServer.pm: Update the configuration of the
	  module being processed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5097 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-28 11:02:35 +00:00
slerena 77f0895516 2011-10-26 Sancho Lerena <slerena@artica.es>
* pandora_server_installer: Added "force" mode.

        * util/pandora_dbstress.pl: Fixed broken code and better information
        on module rate, now rendered in each second with a total average.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5083 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-26 17:11:13 +00:00
ramonn 479cc042fb 2011-10-20 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Config.pm: Disable enterprise ICMP and SNMP servers
	  by default.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5071 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-20 09:38:27 +00:00
zarzuelo 705a80daf1 2011-10-20 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Tools.pm: Fixed mistake in the last commit
	adding parameter in wrong function (decode embed decode).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5070 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-20 09:30:58 +00:00
zarzuelo b9fbb0de6f 2011-10-20 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Tools.pm: Fixed safe_input and output to
	convert manually several more extended ascii characters. 
	Revert the last fix in safe_input because Junichi warn us the
	danger of broke multibyte chars. Thanks Junichi.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5069 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-20 07:56:53 +00:00
zarzuelo 47188864a8 2011-10-19 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Tools.pm: Fixed safe_input function to encode
	more characters



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5068 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-19 14:57:21 +00:00
koichirok a365f85d65 2011-10-14 Koichiro Kikuchi <koichiro@rworks.jp>
* pandora_server/lib/PandoraFMS/Core.pm: Added _plugin_parameters_ macro to alerts.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5064 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-14 04:07:02 +00:00
jsatoh ac794827e6 2011-10-11 Junichi Satoh <junichi@rworks.jp>
* FreeBSD/pandora_server.conf: Synchronized with the generic
	configuration file, conf/pandora_server.conf.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5059 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-11 01:17:19 +00:00
darode 6fa5ec2145 2011-10-10 Dario Rodriguez <dario.rodriguez@artica.es>
* util/plugin/ipmi-plugin.pl: Added first version of ipmi plugin.
	* util/recon_scripts/ipmi-recon.pl: Added first version of ipmi recon task



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5053 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-10 14:21:00 +00:00
javilanz 0fdabd9cfd 2011-10-10 Javier Lanz <javier.lanz@artica.es>
* util/pandora_manage.pl: Fixed a wee bug with 'group' parameter
        creating events


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5051 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-10 11:07:34 +00:00
ramonn 365a587a22 2011-10-06 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Restored the _id_alert_ macro. Thanks to
	  Koichiro.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5048 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-06 09:14:39 +00:00
koichirok 2058cec978 2011-10-06 Koichiro KIKUCHI <koichiro@rworks.jp>
* pandora_server/util/pandora_manage.pl: Added support for specifying ff_threthold
	  value for network, snmp and plugin module creation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5047 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-06 08:07:35 +00:00
koichirok fe99cace2c 2011-10-06 Koichiro Kikuchi <koichiro@rworks.jp>
* pandora_server/lib/PandoraFMS/DB.pm: Added function to get module group name.
	* pandora_server/lib/PandoraFMS/Core.pm: Added new alert macros.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5044 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-06 02:46:55 +00:00
slerena a5a0eff611 2011-09-29 Sancho Lerena <slerena@artica.es>
* pandora_server/lib/PandoraFMS/SNMPServer.pm
        pandora_server/lib/PandoraFMS/Core.pm: SNMP Alerts now receibe
        trap type on the _data_ macro.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5028 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-30 11:32:02 +00:00
darode c7ba124a5b 2011-09-28 Dario Rodriguez <dario.rodriguez@artica.es>
* util/recon_scripts/snmpdevices.pl: Fixed a bug which creates duplicated
	modules when running the script.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5016 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-28 07:59:03 +00:00
darode 00c6709e8a 2011-09-27 Dario Rodriguez <dario.rodriguez@artica.es>
* util/pandora_manage.pl: Changed way to create and event now is possible
	to create an event without agent_name and without agent_module.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5014 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-27 09:36:59 +00:00
vgilc ae27a60b55 2011-09-26 Vanessa Gil <vanessa.gil@artica.es>
* pandora_server/util/pandora_manage.pl: Fixed bad behaviour of several
	Pandora CLI options.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5005 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-26 12:26:58 +00:00
slerena e5c9e716a9 2011-09-23 Sancho Lerena <slerena@artica.es>
* util/pandora_db.pl: Fixed bug when a blank space was behind
        the data in the .conf file.

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




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4993 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-23 12:04:18 +00:00
slerena 0183597b29 2011-09-23 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/Config.pm: Updated version.

        * lib/PandoraFMS/NetworkServer.pm: Fixed problem with SNMP v2 
        due incorrect call to snmpget.

	* pandora_server/DEBIAN/make_deb_package.sh: Version update.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4991 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-23 11:21:45 +00:00
darode 3f20e95ee8 2011-09-23 Dario Rodriguez <dario.rodriguez@artica.es>
* lib/PandoraFMS/NmapParser.pm: Added an error handler to avoid 
	error during NmapParser lib execution.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4990 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-23 11:18:26 +00:00
jsatoh 06da3c7500 2011-09-22 Junichi Satoh <junichi@rworks.jp>
* pandora_server_installer: Fixed invalid group settings.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4979 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-22 06:08:19 +00:00
vgilc 8155e01263 2011-09-15 Vanessa Gil <vanessa.gil@artica.es>
* pandora_server/util/pandora_manage.pl: Fixed bad behaviour of several
	Pandora CLI options.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4957 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-15 15:41:50 +00:00
slerena cc854589b9 2011-09-14 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/DataServer.pm: Fixed a weird problem resolving GPS
        coordinates with OpenStreet.        




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4950 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-14 10:59:53 +00:00
slerena 17bef2a9dd 2011-09-14 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/NmapParser.pm: Avoid warning messages.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4949 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-14 10:55:16 +00:00
slerena 5ee5af6c8a 2011-09-12 Sancho Lerena <slerena@artica.es>
* util/pandora_remote_agent.sh: New remote agent script to do customized
        deployments creating XML files from external scriptfiles. See docs.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4941 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-12 15:29:48 +00:00
vgilc 1dcc5481eb 2011-09-12 Vanessa Gil <vanessa.gil@artica.es>
* pandora_server/util/pandora_manage.pl: Applied Kosaka's patch to store
	data in DB with encoding in HTML entities.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4939 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-12 13:25:19 +00:00
darode bd250bfc78 2011-09-12 Dario Rodriguez <dario.rodriguez@artica.es>
* util/recon_scripts/snmpdevices.pl: Fixed some problems with the script.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4938 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-12 11:44:09 +00:00
slerena 85189591d2 2011-09-12 Sancho Lerena <slerena@artica.es>
* DEBIAN/control: Updated version to 4.0 (final).

        * pandora_server.spec: Updated version. Added mibs package 
        for dependency (Snmp mibs needed to be installed!), without
        that, network server and some scripts won't run properly.

        * pandora_server.redhat.spec,
        lib/PandoraFMS/Config.pm: Updated version to 4.0 final.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4936 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-12 10:55:00 +00:00
darode ca46614a7e 2011-09-12 Dario Rodriguez <dario.rodriguez@artica.es>
* DEBIAN/control: Added dependence of snmp-mibs-downloader
	* pandora_server_installer: Added dependence of snmp-mibs-downloader



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4935 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-12 10:07:22 +00:00
slerena 67c40dfeba 2011-09-08 Sancho Lerena <slerena@artica.es>
*  lib/PandoraFMS/Network.pm: Missing include for function 
        SNMP::translateObj. Added SNMP include: I don't understand why
        that was missing ¿?.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4928 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-08 11:37:22 +00:00
ramonn 1ac848c483 2011-09-06 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Fixed action search for event alerts.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4925 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-06 21:51:18 +00:00
ramonn c10ffbd7dd 2011-09-06 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/NmapParser.pm: Remove nmap warnings from
          output.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4915 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-06 12:26:02 +00:00
ramonn 54d14b3e59 2011-09-05 Ramon Novoa <rnovoa@artica.es>
* conf/pandora_server.conf: Disable ICMP and SNMP enterprise
          servers by default.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4905 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-05 14:56:50 +00:00
ramonn 53ce875a6b 2011-09-04 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DB.pm, lib/PandoraFMS/Core.pm: Fixed policy queue (was
	  not working properly).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4897 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-04 16:50:42 +00:00
vgilc 86790c2b2d 2011-09-02 Vanessa Gil <vanessa.gil@artica.es>
* pandora_server/conf/pandora_server.conf: Added update parent line to the configuration file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4892 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-02 10:25:48 +00:00
Aldrioth d1e0030d3f 2011-09-01 Tomas Palacios <tomas.palacios@artica.es>
* pandora_server/DEBIAN/control: Added missing comma.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4887 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-01 18:53:38 +00:00
mdtrooper 1a926db838 2011-09-01 Miguel de Dios <miguel.dedios@artica.es>
* util/agent_names.txt: erased wrong personal file for the tests.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4884 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-01 16:02:10 +00:00
ramonn ead00e8ce5 2011-09-01 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/SNMPServer.pm: Kill snmptrapd if it's already running
	  when the SNMP Console starts and launch it again. Fixes bug #3402392.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4876 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-01 13:50:56 +00:00
zarzuelo 0b0ab85285 2011-09-01 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Core.pm: Improve the delete modules
	function to do the same actions of the console



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4866 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-01 09:05:32 +00:00
zarzuelo d3014b1bc0 2011-09-01 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl
	util/recon_scripts/snmpdevices.pl: Fixed entities conversions



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4865 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-01 07:57:03 +00:00
mdtrooper c317e3413e 2011-08-31 Miguel de Dios <miguel.dedios@artica.es>
* godmode/massive/massive_edit_modules.php: fixed when is selected "any"
	agent, with white space run fine.
	
	Fixes: #3401591



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4864 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-31 17:20:20 +00:00
Aldrioth 1bfb313fdf 2011-08-30 Tomas Palacios <tomas.palacios@artica.es>
* pandora_server/pandora_server_installer: Added missing Perl Socket6 references.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4854 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-30 15:32:39 +00:00
jsatoh 4482da9cf2 2011-08-29 Junichi Satoh <junichi@rworks.jp>
* pandora_server_installer: Fixed a typo in comments for FreeBSD.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4832 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-29 05:43:20 +00:00
juanmanuelr 2d708f1827 2011-08-26 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* lib/PandoraFMS/DataServer.pm: Added status to supported tags.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4831 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-26 11:34:48 +00:00
ramonn 8227475beb 2011-08-25 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/NmapParser.pm: Updated package name to integrate
	  Nmap::Parser into Pandora FMS.

	* lib/PandoraFMS/ReconServer.pm: Removed recursive calls. Now parent
	  hosts are detected with a single call to nmap via Nmap::Parser.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4829 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-25 20:52:42 +00:00
mdtrooper 901c843cb7 2011-08-25 Miguel de Dios <miguel.dedios@artica.es>
* ggodmode/modules/manage_network_templates.php,
	godmode/modules/manage_network_components.php,
	godmode/modules/manage_nc_groups.php: added checkboxes in the elements in
	the list and main checkbox to select all checkboxes, for to multiple delete.
	
	Fixes: #3390017



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4826 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-25 18:27:47 +00:00
Aldrioth 1f052a1581 2011-08-25 Tomas Palacios <tomas.palacios@artica.es>
* pandora_server/pandora_server.spec
        pandora_server/pandora_server.redhat.spec
        pandora_server/pandora_server_installer
        pandora_server/Makefile.PL
        pandora_server/DEBIAN/control: Added perl-XML-Twig, perl-SNMP
        and a missing libio-socket-inet6-perl reference.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4825 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-25 18:24:08 +00:00
ramonn 354a778683 2011-08-24 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/NmapParser.pm: Added to repository. Patched
	  Nmap::Parser. See http://search.cpan.org/dist/Nmap-Parser/.

	* lib/PandoraFMS/ReconServer.pm: Use Nmap::Parser.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4819 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-24 18:07:59 +00:00
ramonn c665243b5c 2011-08-24 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DataServer.pm: Exclude the datalist tag from the
	  module's extended_info.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4814 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-24 11:41:27 +00:00
ramonn 3fae4ceb31 2011-08-22 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Config.pm: Read the configuration option snmp_threads.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4799 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-22 10:13:34 +00:00
slerena 2506a595b7 2011-08-22 Sancho Lerena <slerena@artica.es>
* pandora_server.spec: Update of spec to be used in Opensuse
        Build Service.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4794 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-22 00:41:14 +00:00
slerena c8e62adab1 2011-08-19 Sancho Lerena <slerena@artica.es>
* DEBIAN/control
        pandora_server/DEBIAN/make_deb_package.sh: Updated version.





git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4790 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-19 19:18:01 +00:00
koichirok 8aa61e7f9d 2011-08-19 Koichiro KIKUCHI <koichiro@rworks.jp>
* lib/PandoraFMS/Core.pm: Fixed typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4780 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-19 02:38:29 +00:00
ramonn 44fe88f09b 2011-08-18 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/NetworkServer.pm,
	  lib/PandoraFMS/Core.pm: Fixed some warnings on undefined values.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4770 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-18 15:40:51 +00:00
slerena df6d922a69 2011-08-17 Sancho Lerena <slerena@artica.es>
* SNMPServer.pm: Custom value and custom type are not used anymore.
        All extended info comes into custom_oid which stores now all the
        raw info.

        * Core.pm: pandora_evaluate_snmp_alerts() function now uses complex
        regular expression and new macros to allow complex SNMP trap alerts 
        which takes information from the trap info and puts on the alert.

        * DataServer.pm: Fixed notice about undefined GIS position desc.

        * pandora_db.pl: Version update.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4761 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-17 20:11:32 +00:00
ramonn ade85fe547 2011-08-17 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/NetworkServer.pm: Convert text obj tags to OIDs.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4758 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-17 15:58:42 +00:00
zarzuelo 1ac23479f5 2011-08-16 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Core.pm
	bin/pandora_server: Improved Enterprise check to the policy queue
	thread and fix a memory problem in the queue patrol loop



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4739 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-16 11:54:11 +00:00
ramonn 8faead1358 2011-08-16 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DataServer.pm: When reading module tags use
	  get_tag_value to avoid trouble with empty tags.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4737 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-16 11:37:17 +00:00
slerena 5067dae825 2011-08-13 Sancho Lerena <slerena@artica.es>
* lib/Core.pm: get_agent_from_addr() function is now in Core because
    is used in trap alert functions. Implemented in pandora_execute_action() 
    the internal command "Generate event" was missing. Also altered the
    way a complex trap is matched, now search for Value, Custom Value and
    Custom OID. If an action containing a "event" command is the target, skip the
    creation of a event to inform of SNMP alert firing.

    * lib/ReconServer.pm: get_agent_from_addr() moved to Core.pm



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4731 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-13 02:38:36 +00:00
ramonn 8261a95e60 2011-08-12 Ramon Novoa <rnovoa@artica.es>
* conf/pandora_server.conf: Fixed a couple of typos.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4730 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-12 15:44:01 +00:00
zarzuelo 631eac373d 2011-08-12 Sergio Martin <sergio.martin@artica.es>
* bin/pandora_server: Fixed policy queue when the server is launched
	in daemon mode for bug 3390085 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4728 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-12 09:48:31 +00:00
ramonn 617a992b9f 2011-08-12 Ramon Novoa <rnovoa@artica.es>
* conf/pandora_server.conf: Added enterprise configuration tokens to
	  the default conf.

	* lib/PandoraFMS/Config.pm: Changed the default location of the braa
	  binary.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4726 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-12 09:30:28 +00:00
ramonn 8d281138ef 2011-08-10 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DataServer.pm: Added support for custom module tags
	  (stored in column extended_info).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4712 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-10 16:58:26 +00:00
slerena e02b6d2767 2011-08-10 Sancho Lerena <slerena@artica.es>
* pandora_server.spec, pandora_server.redhat.spec: Added perl-Socket6
        package.

        * Config.pm: Updated version to 4.0RC1



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4709 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-10 16:46:25 +00:00
darode 8f71cc8af8 2011-08-10 Dario Rodriguez <dario.rodriguez@artica.es>
* DEBIAN/control: Fixed a bug with dependences.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4705 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-10 13:02:32 +00:00
darode f678a4ff72 2011-08-10 Dario Rodriguez <dario.rodriguez@artica.es>
* DEBIAN/control: Added libsocket6-perl libio-socket-inet6-perl
        packages to dependence  




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4703 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-10 11:45:34 +00:00
darode 75bbc999e1 2011-08-10 Dario Rodriguez <dario.rodriguez@artica.es>
* Makefile.PL: Added IO::Socket::INET6 and Socket to
        installer dependecies check.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4702 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-10 11:33:28 +00:00
darode 79a09cd34a 2011-08-10 Dario Rodriguez <dario.rodriguez@artica.es>
* pandora_server_installer: Fixed wrong permission flag for
        directory data_in/conf



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4699 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-10 10:45:24 +00:00
slerena d1f803f96c 2011-08-11 Sancho Lerena <slerena@artica.es>
* pandora_server.spec: Removed perl-XML-SAX and added
        perl-XML-Simple. Updated RPM descripcion and version for upcoming RC1 :-)

        * pandora_server.redhat.spec: Updated version for upcoming RC1




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4698 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-10 10:37:36 +00:00
jsatoh 6189eaac8a 2011-08-10 Junichi Satoh <junichi@rworks.jp>
* pandora_server.spec, pandora_server.redhat.spec: Added
	perl-IO-Socket-INET6 to Requires.

	* pandora_server_installer: Added IO::Socket::INET6 to dependency
	messages.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4696 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-10 04:36:03 +00:00
jsatoh e4061efe6c 2011-08-10 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/NetworkServer.pm: Added support for IPv6 tcp check.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4695 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-10 01:50:31 +00:00
mdtrooper b5bbc2dca4 2011-08-09 Miguel de Dios <miguel.dedios@artica.es>
*  */DEBIAN/control: fixed the name of package and update version number.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4692 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-09 15:57:10 +00:00
darode 646595ee62 2011-08-08 Dario Rodriguez <dario.rodriguez@artica.es>
* pandora_server.spec: Fixed permissions of data_in/conf/ folder



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4684 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-08 15:42:55 +00:00
ramonn aeb4e8edfc 2011-08-05 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Changed the return value of 
	  get_first_policy_queue.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4677 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-05 10:23:22 +00:00
koichirok b9fbb3eda0 2011-08-05 Koichiro KIKUCHI <koichiro@rworks.jp>
* pandora_server.redhat.spec: Updated dependecies. Removed perl-XML-SAX
	  and added net-snmp-utils (includes snmpget).

	* pandora_server_installer: Removed perl-XML-SAX from message.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4676 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-05 10:12:14 +00:00
jsatoh c97b78550c 2011-08-05 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/PredictionServer.pm: Fixed some network server
	modules are processed as prediction server modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4674 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-05 08:32:01 +00:00
koichirok 2c18dc6643 2011-07-29 Koichiro Kikuchi <koichiro@rworks.jp>
* lib/PandoraFMS/Tools.pm: Send utf8 email properly.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4648 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-29 05:12:28 +00:00
ramonn 243975ea2a 2011-07-27 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Config.pm: Read configuration for the new enterprise
	  SNMP server.
	
	* lib/PandoraFMS/Core.pm: Added server type for the new enterprise SNMP
	  server.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4637 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-27 16:07:12 +00:00
zarzuelo 231f49adb0 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
ramonn 43f6877b56 2011-07-14 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/PredictionServer.pm: Use prediction_module to tell
	  prediction modules apart instead of prediction_module/custom_integer_1
	  combinations.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4562 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-14 09:52:48 +00:00
ramonn 5d55801043 2011-07-13 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/PredictionServer.pm: Added support for synthetic
	  modules (enterprise).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4552 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-13 12:16:05 +00:00
ramonn 7737347018 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
koichirok c9325c83ce 2011-07-08 Koichiro Kikuchi <koichiro@rworks.jp>
* lib/PandoraFMS/Core.pm: Fixed alert macro substitution. Now
	  alert_macro_substitute() does not substitute already substituted
	  part of string. Also fixed alert macro substitution for user
	  defined alerts to avoid alert macros other than _field[1-3]_
	  substituted twice.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4535 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-08 10:16:55 +00:00
ramonn 1c27ebd6eb 2011-07-08 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Fixed alert-only planned downtimes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4532 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-08 08:58:32 +00:00
zarzuelo f04550513e 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
ramonn 0daa70e4b7 2011-07-07 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Added support for warning/critical status
	  regexp (works with both numeric and string data types). Added
	  support for alert-only planned downtimes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4523 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-07 11:09:23 +00:00
zarzuelo e066ecf2d8 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
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