Commit Graph

1074 Commits

Author SHA1 Message Date
Ramon Novoa cdd7f18501 2013-11-08 Ramon Novoa <rnovoa@artica.es>
* pandora_server.spec: Copy the new pandora_server.conf.new to /etc/pandora/.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9039 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-11-08 11:20:27 +00:00
hax0l cf74f8dc80 2013-11-07 Axel Amigo <axel.amigo@artica.es>
* ChangeLog: Added description of the last commit

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9035 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-11-07 16:48:28 +00:00
zarzuelo 7cdb532844 2013-11-06 Sergio Martin <sergio.martin@artica.es>
* util/pandora_revent_create.pl: Adapt the script
	of event creation to new API version. Fix by Tomas
	in Incident #347



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9014 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-11-06 12:15:42 +00:00
zarzuelo 3aa5403921 2013-10-28 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/DataServer.pm: Add check to update
	adopted unlinked data modules



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8971 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-10-28 15:03:00 +00:00
zarzuelo db5211d118 2013-10-28 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Tools.pm: Added exeptions in safe_input
	and safe_output to avoid differences with the console condification
	with single and double quotes. Incident #309
	Merged from 4.1



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8967 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-10-28 13:10:48 +00:00
hkosaka 9909adf5e4 2013-10-28 Hirofumi Kosaka <kosaka@rworks.jp>
* lib/PandoraFMS/Core.pm: Added _timezone_ alert macro.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8964 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-10-28 09:07:23 +00:00
hkosaka b589732730 2013-10-22 Hirofumi Kosaka <kosaka@rworks.jp>
* util/pandora_migrate_plugins.pl: Added optional command-line	
	argument 'dbport' for people who use non-standard DB port.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8946 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-10-22 11:05:06 +00:00
hkosaka 9022c0df61 2013-10-22 Hirofumi Kosaka <kosaka@rworks.jp>
* lib/PandoraFMS/Core.pm: Fixed missing macro replacing in
	async modules' event description.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8945 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-10-22 10:16:47 +00:00
jsatoh 90a7346453 2013-10-14 Junichi Satoh <junichi@rworks.jp>
* NetBSD/pandora_server.conf: Updated default settings as the same
	as Linux ones.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8904 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-10-14 04:06:47 +00:00
jsatoh 28a3bb7afa 2013-10-09 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/Tools.pm: Fixed ping monitoring failure on NetBSD.
	Contributed by Hiroki SHIMIZU. Thanks!



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8875 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-10-09 00:55:20 +00:00
jsatoh 57c8d4bff1 2013-10-08 Junichi Satoh <junichi@rworks.jp>
* pandora_server_installer: Added p5-JSON to description for FreeBSD.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8867 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-10-08 02:46:05 +00:00
zarzuelo f0f7d10e00 2013-10-07 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Fixed data_module feature adding the data
	to be inserted into parameter list. The retro-compatibility has been 
	broken, but this feature was useless, so it shouldnt be a problem.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8861 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-10-07 10:08:23 +00:00
jsatoh 9639821051 2013-09-29 Junichi Satoh <junichi@rworks.jp>
* FreeBSD/pandora_server.conf: Updated default settings as the same
	as Linux ones.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8825 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-09-29 14:58:02 +00:00
Ramon Novoa c3b0c19136 2013-09-24 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/WMIServer.pm: Some HTML entities were not being
	  decoded.

	* lib/PandoraFMS/Core.pm: Set the severity or alert recovery events to
	  NORMAL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8802 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-09-24 10:02:32 +00:00
jsatoh b32278225c 2013-09-22 Junichi Satoh <junichi@rworks.jp>
* bin/tentacle_server: Upgraded to 0.4.0. (Imported from trunk of
	tentacled repository.)
	Added support for IPv6 and improved to be able to bind multiple
	interfaces and/or IP addresses.
	Added support for 'TCP Wrappers'. When the 'Authen::Libwrap' is
	installed and -T option is specified, this feature can be used.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8796 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-09-22 14:44:57 +00:00
Ramon Novoa d7f4ce1ead 2013-09-13 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Validate existing events with the same 'ID extra' instead
	  of treating them as a single event.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8765 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-09-13 13:33:11 +00:00
Ramon Novoa 72883e40f4 2013-09-12 Ramon Novoa <rnovoa@artica.es>
* NetBSD/pandora_server.conf,
	  FreeBSD/pandora_server.conf,
	  conf/pandora_server.conf.new: Removed an unused token.

	* lib/PandoraFMS/DB.pm,
	  lib/PandoraFMS/Core.pm: Changed the module status macro to return a
	  string instead of the numeric value.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8760 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-09-12 08:16:35 +00:00
Ramon Novoa 9173d085b7 2013-09-09 Ramon Novoa <rnovoa@artica.es>
* conf/pandora_server.conf.new,
	  lib/PandoraFMS/Config.pm,
	  lib/PandoraFMS/Core.pm,
	  bin/pandora_server: Added support for event auto-expiry and small
	  fixes.

	* util/pandora_manage.pl: Added support for event custom data.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8753 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-09-09 16:09:34 +00:00
Ramon Novoa 9726ed98d3 2013-09-05 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Added support for module macros.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8748 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-09-05 16:46:52 +00:00
mdtrooper 0f04a5693f 2013-09-05 Miguel de Dios <miguel.dedios@artica.es>
* lib/PandoraFMS/PluginServer.pm: fixed the lost decode html
	entities for the value in the macros.
	
	* util/plugin/dummy_plugin.pl: added tiny plugin server with only
	purpose to testing.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8744 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-09-05 09:57:40 +00:00
Ramon Novoa 8da72999b7 2013-09-04 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm,
	  lib/PandoraFMS/Config.pm,
	  conf/pandora_server.conf.new: Added support for custom event texts.

	* lib/PandoraFMS/Server.pm: Fixed a comparison.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8741 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-09-04 13:28:13 +00:00
Ramon Novoa 59054d4401 2013-09-04 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Added support for treating events with the
	  same id_extra as a single event.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8738 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-09-04 09:33:33 +00:00
mdtrooper dbaa27ce6c 2013-09-03 Miguel de Dios <miguel.dedios@artica.es>
* util/pandora_revent.pl: fixed the script, now runs fine the tags
	and set correclty the comment and owner user, and other fixes.
	
	Fixes: #2386




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8734 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-09-03 12:22:57 +00:00
Ramon Novoa 956ad866f2 2013-09-03 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Added support for tag phone information.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8730 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-09-03 08:48:26 +00:00
mdtrooper 041ab06cdc 2013-09-02 Miguel de Dios <miguel.dedios@artica.es>
* util/pandora_xml_stress.pl: fixed perl warning and set the default
	temp directory correctly.
	
	* util/pandora_xml_stress.conf: added lost parameters
	"directory_confs" and "directory_temp".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8725 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-09-02 07:20:10 +00:00
mdtrooper 1ebaeac2e5 2013-08-29 Miguel de Dios <miguel.dedios@artica.es>
* lib/PandoraFMS/Core.pm: into the function "pandora_module_unknown"
	now checks if the module have disable unknown events.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8714 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-29 13:01:12 +00:00
mdtrooper ad99e437b0 2013-08-29 Miguel de Dios <miguel.dedios@artica.es>
* util/pandora_manage.pl: added support to disable/enable unknown
	events for modules.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8712 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-29 11:39:05 +00:00
mdtrooper 8f818c1488 2013-08-27 Miguel de Dios <miguel.dedios@artica.es>
* conf/pandora_server.conf.new: set the policy queues as default
	running.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8700 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-27 09:31:15 +00:00
Ramon Novoa adfadf5e2d 2013-08-13 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/NetworkServer.pm: Use the agent's address if ip_target
	  is not set.

	* lib/PandoraFMS/Core.pm: Fixed a warning.

	* conf/pandora_server.conf.new,
	  lib/PandoraFMS/Config.pm,
	  lib/PandoraFMS/SNMPServer.pm: Added SNMP storm protection.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8658 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-13 17:04:56 +00:00
mdtrooper 94d663d381 2013-08-05 Miguel de Dios <miguel.dedios@artica.es>
* ChangeLog: lost line about "lib/PandoraFMS/PredictionServer.pm"
	uploaded changes for SLA value of service.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8628 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-05 07:28:00 +00:00
mdtrooper 2046c4eb4b 2013-08-05 Miguel de Dios <miguel.dedios@artica.es>
* util/pandora_snmp.sh: added first and weird version of tool to
	generate a lot of traps snmp for Pandora. Needs to improve.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8627 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-05 07:25:33 +00:00
Ramon Novoa 7de99aa603 2013-08-01 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Changed the name of the self-monitoring XML
	  files. Fixes bug #2365.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8613 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-01 11:03:50 +00:00
Ramon Novoa 87e009308a 2013-08-01 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DataServer.pm,
	  lib/PandoraFMS/SNMPServer.pm,
	  lib/PandoraFMS/Server.pm,
	  lib/PandoraFMS/PluginServer.pm,
	  lib/PandoraFMS/ProducerConsumerServer.pm,
	  lib/PandoraFMS/PredictionServer.pm,
	  lib/PandoraFMS/ReconServer.pm,
	  lib/PandoraFMS/NetworkServer.pm,
	  lib/PandoraFMS/WMIServer.pm: Added clean-up code to avoid resource
	  leaks when there is a crash and the server has to auto-restart.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8611 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-01 09:54:21 +00:00
Ramon Novoa 1690c0b758 2013-07-25 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/NetworkServer.pm: Fixed some parentheses that prevented
	  remote_snmp_string modules from working.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8574 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-25 11:07:59 +00:00
Ramon Novoa f58b112698 2013-07-24 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Search for sub-strings when matching an OID
	  within an SNMP alert. Regular expressions should not be necessary and
	  this avoids having to escape dots inside the OID. Added a couple of new
	  SNMP macros.

	* lib/PandoraFMS/Tools.pm: Added a function to check for valid regular expressions.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8568 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-24 14:09:19 +00:00
juanmanuelr cbfb82bc40 2013-07-23 Juan Manuel Ramón Vigo <juanmanuel.ramon@artica.es>
* util/pandora_revent_create.pl: Pandora revent only for create events.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8560 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-23 11:30:25 +00:00
Ramon Novoa 5d2088a4b4 2013-07-17 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Do not execute more than one alert per trap.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8541 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-17 17:40:08 +00:00
zarzuelo 1effb7f21f 2013-07-15 Sergio Martin <sergio.martin@artica.es>
* util/plugin/snmp_remote.pl: Add SNMP remote plugin to the
	default plugins on Pandora FMS server



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8524 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-15 12:07:10 +00:00
Ramon Novoa 2c02696620 2013-07-10 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Added support to filter 10 binding vars.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8510 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-10 16:43:25 +00:00
Ramon Novoa 51502c2276 2013-07-10 Ramon Novoa <rnovoa@artica.es>
* util/pandora_db.pl: Ignore reports if the metaconsole is enabled, since
	  agents are never local.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8504 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-10 09:27:21 +00:00
mdtrooper f90fe2042f 2013-07-09 Miguel de Dios <miguel.dedios@artica.es>
* lib/PandoraFMS/PredictionServer.pm, util/pandora_xml_stress.pl:
	improved the source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8499 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-09 09:28:10 +00:00
Ramon Novoa d18474f6f5 2013-07-05 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Added macros _snmp_oid_ and _snmp_value_ to
	  SNMP alerts. Changed the behaviour of _snmp_fx_ to act as filters
	  and not as user defined macros.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8485 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-05 14:20:34 +00:00
zarzuelo 4480476589 2013-07-05 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/PluginServer.pm: Fixed subst_alert_macros assignation
	to variable.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8482 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-05 10:15:41 +00:00
Ramon Novoa a2e554f5dd 2013-07-05 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Exported subst_alert_macros. Added support
	  for an arbitrarily large number of _snmp_fx_ macros.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8481 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-05 09:56:08 +00:00
Ramon Novoa cf2afde6fd 2013-07-05 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/PluginServer.pm: Added agent and module macros to
	  plugins.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8480 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-05 09:45:47 +00:00
Ramon Novoa 846b4a12c2 2013-07-03 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Assign default values to the _snmp_fx_ macros
	  from variable bindings.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8469 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-03 17:26:27 +00:00
Ramon Novoa 3851224d18 2013-07-01 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Resolve numeric ids to strings before writing
	  events to an external log file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8444 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-01 17:03:36 +00:00
Ramon Novoa 4d1adc96cc 2013-07-01 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Config.pm,
	  lib/PandoraFMS/Core.pm,
	  conf/pandora_server.conf.new: Added support for writing events to an
	  external log file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8442 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-01 14:05:44 +00:00
slerena ca47644a7f 2013-06-26 Sancho Lerena <slerena@artica.es>
* util/plugin/pandora_loadgen.pl,
        util/plugin/ssh_pandoraplugin.sh: Fixed small problems with
        plugins provided as sample.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8420 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-26 16:21:36 +00:00
Ramon Novoa 1d043d4acf 2013-06-26 Ramon Novoa <rnovoa@artica.es>
* pandora_server.redhat.spec,
	  pandora_server.spec: Fixed directory permissions.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8414 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-26 09:22:10 +00:00