Commit Graph

843 Commits

Author SHA1 Message Date
Ramon Novoa fa3b99fb6e 2012-02-07 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Added new SNMP alert fields and macros.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5504 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-07 15:50:19 +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
koichirok 2b173bedc5 2012-02-06 Koichiro Kikuchi <koichiro@rworks.jp>
* lib/PandoraFMS/SNMPServer.pm: Added SNMPv2 Trap support!



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5489 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-06 09:09:40 +00:00
Ramon Novoa 1faca416fd 2012-02-03 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Added support for ff interval. Small
	  improvements.
	
	* lib/PandoraFMS/DataServer.pm: Added "timestamp" to the list of
	  valid XML tags.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5484 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-03 12:31:08 +00:00
Ramon Novoa 1e0b008bf9 2012-02-01 Ramon Novoa <rnovoa@artica.es>
* conf/pandora_server.conf,
	  lib/PandoraFMS/Config.pm,
	  lib/PandoraFMS/PluginServer.pm: Use timeout by default instead of
	  pandora_exec.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5459 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-01 11:41:52 +00:00
Ramon Novoa bb9858b551 2012-01-30 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Config.pm: Updated version string.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5453 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-30 18:00:59 +00:00
jsatoh 3a9bac249a 2012-01-26 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/Core.pm: Added support for special days.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5433 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-26 03:58:30 +00:00
Ramon Novoa bf94c6b443 2012-01-24 Ramon Novoa <rnovoa@artica.es>
* DEBIAN/make_deb_package.sh,
	  pandora_server_installer,
	  pandora_server.spec: Auto-create the netflow storage dir.

	* bin/pandora_server: Aesthetic changes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5418 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-24 18:46:00 +00:00
Ramon Novoa 4ed9ea98c4 2012-01-24 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Config.pm,
	  lib/PandoraFMS/PredictionServer.pm,
	  lib/PandoraFMS/Core.pm,
	  bin/pandora_server: Added support for enterprise netflow modules.

	* lib/PandoraFMS/PluginServer.pm: Run plugins inside eval to avoid
	  server crashes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5417 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-24 17:16:56 +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
koichirok 7d185304b7 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 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
zarzuelo 7046167095 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
Ramon Novoa edd00a8f88 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
Ramon Novoa afdc15e750 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
Ramon Novoa 2fbb104851 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
Ramon Novoa 4743e2d7aa 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
Ramon Novoa cda5a230d4 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
Ramon Novoa b58d8925ea 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 92a299e056 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 278456393e 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 7b4e536199 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 3f0f18bd1b 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 7db9c42ad0 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 65d1c20d03 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 2892a5a4ad 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 39ded74644 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 ce436fe721 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 f8c8dd1072 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 f01c611520 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 3ba0d00794 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
Ramon Novoa dba6ef592f 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 f0cc0c4cc9 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 dfdc527e53 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 d7109d601d 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