Commit Graph

877 Commits

Author SHA1 Message Date
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
Ramon Novoa cc0b52a12c 2012-04-12 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DB.pm,
	  lib/PandoraFMS/Core.pm,
	  lib/PandoraFMS/ReconServer.pm: Improved Recon Server to detect
	  hostnames that resolve to multiple IP addresses. Fixes bug #3052350.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5952 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-12 10:04:35 +00:00
Ramon Novoa e3878ec855 2012-04-10 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DataServer.pm: Check for single tag XMLs. Fixes bug #3514207.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5922 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-10 14:21:56 +00:00
Ramon Novoa e1160b15e4 2012-04-04 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/WMIServer.pm: Put a regexp that could crash the server
	  inside an eval. Fixes bug #3509354.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5900 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-04 13:28:21 +00:00
Ramon Novoa 355862b78a 2012-04-03 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/NetworkServer.pm: Fixed the return value of
	  pandora_query_snmp when an OID cannot be translated.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5880 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-03 12:06:25 +00:00
jsatoh bf71c942b7 2012-03-24 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/Core.pm: Fixed pandora_server process down with
	version 8.3 or later of PostgreSQL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5826 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-24 12:35:30 +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
vgilc ac17560e17 2012-02-29 Vanessa Gil <vanessa.gil@artica.es>
* bin/PandoraFMS/Core.pm: Fixed bug: HTML entities in alert name.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5676 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-29 15:04:15 +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 8a1382980d 2012-02-28 Vanessa Gil <vanessa.gil@artica.es>
* bin/PandoraFMS/Core.pm: Fixed bug: double safe_input in event name.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5663 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-28 14:17:53 +00:00
koichirok d710a5f302 2012-02-20 Koichiro Kikuchi <koichiro@rworks.jp>
* lib/PandoraFMS/SNMPServer.pm: Parse source field to obtain source
	 IP address not only when trap version is SNMPv2, but also when
	 snmp_pdu_address set to 1.

	* conf/pandora_server.conf: Fixed comment.

	* FreeBSD/pandora_server.conf: Added missing configuration tokens.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5626 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-21 06:49:39 +00:00
Ramon Novoa fab2cefad5 2012-02-20 Ramon Novoa <rnovoa@artica.es>
* conf/pandora_server.conf,
	  lib/PandoraFMS/SNMPServer.pm,
	  lib/PandoraFMS/Config.pm: Added two new configuration tokens
	  suggested by Koichiro: snmp_ignore_authfailure and snmp_pdu_address.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5623 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-20 17:47:08 +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 b751ee4870 2012-02-16 Hirofumi Kosaka <kosaka@rworks.jp>
* bin/tentacle_server: Upgraded to 0.3.0 (Merged from
	pandora_agent package).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5605 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-16 07:30:35 +00:00
koichirok ba2526baa7 2012-02-15 Koichiro Kikuchi <koichiro@rworks.jp>
* lib/PandoraFMS/PluginServer.pm: Now PluginServer treats exit
	 status code 124 as "Unknown" when plugin type of the module
	 is nagios and module type is boolean. timeout exits with 124
	 if command times out.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5603 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-15 06:24:14 +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
slerena ff8593837b 2012-02-14 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/Config.pm: Version update.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5589 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-14 11:23:24 +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
Ramon Novoa 7659e14ca5 2012-02-13 Ramon Novoa <rnovoa@artica.es>
* bin/pandora_exec: Quote command line arguments. Thanks to Junichi
	  Satoh.

	* lib/PandoraFMS/Core.pm: Small fixes to pandora_event.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5578 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-13 17:05:44 +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
jsatoh bbff8af0fa 2012-02-13 Junichi Satoh <junichi@rworks.jp>
* FreeBSD/pandora_server.conf: Changed the plugin_exec to 'gtimeout'.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5559 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-13 00:52:03 +00:00
Ramon Novoa 4df70f23d7 2012-02-10 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Added support for regular expressions to
	  the SNMP value filter. Small fixes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5553 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-10 11:13:05 +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
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