Commit Graph

825 Commits

Author SHA1 Message Date
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