1100 Commits

Author SHA1 Message Date
ramonn
069eec8e35 2014-04-03 Ramon Novoa <rnovoa@artica.es>
* util/recon_scripts/snmp-recon.pl: Added to the repository. Recon SNMP L2
	  network scan script.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9709 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-04-03 10:40:35 +00:00
vgilc
08da06fd1e 2014-03-31 Vanessa Gil <vanessa.gil@artica.es>
* lib/PandoraFMS/Core.pm: Execute more
	actions to snmp alerts.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9686 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-03-31 15:02:26 +00:00
vgilc
64306ce66d 2014-03-27 Vanessa Gil <vanessa.gil@artica.es>
* lib/PandoraFMS/Core.pm: Can change
	order in varbinds.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9652 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-03-27 10:52:18 +00:00
slerena
cb9540aefd 2014-03-20 Sancho Lerena <slerena@artica.es>
* conf/pandora_server.conf.new,
        conf/pandora_server.conf.windows: Restart on mysql connection
        failure enabled by default.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9622 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-03-20 17:54:51 +00:00
zarzuelo
f902bde134 2014-03-20 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/WMIServer.pm: Move WMI query safe_output 
	function to before the quotes ssubstitution to fix
	any WMI component with double quotes and WMI Wizard



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9620 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-03-20 16:04:00 +00:00
mdtrooper
17b87fb182 2014-03-18 Miguel de Dios <miguel.dedios@artica.es>
* util/pandora_db.pl: fixed the notinit_count in the agents after
	the delete not init modules.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9608 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-03-18 10:59:53 +00:00
ramonn
efbb9e9d39 2014-03-13 Ramon Novoa <rnovoa@artica.es>
* util/pandora_db.pl: Do not compact proc modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9585 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-03-13 15:29:20 +00:00
mariopulido87
602e0f56c7 2014-03-13 Mario Pulido <mario.pulido@artica.es>
* pandora_server.redhat.spec: Added netflow directory




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9580 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-03-13 13:42:47 +00:00
vgilc
d5a7befa29 2014-03-13 Vanessa Gil <vanessa.gil@artica.es>
* lib/PandoraFMS/Core.pm
	  util/pandora_dbstress.pl: Fixed bug executing
	pandora_dbstress.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9573 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-03-13 07:28:56 +00:00
zarzuelo
d5a72a3ebf 2014-03-05 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Core.pm: Add action recovery fields to the
	recovery logic in alerts.
	Ticket #501



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9506 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-03-05 11:39:27 +00:00
ramonn
c184649da7 2014-01-24 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Config.pm: Updated copyright information.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9367 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-24 12:28:12 +00:00
hkosaka
d261c685c3 2013-01-22 Hirofumi Kosaka <kosaka@rworks.jp>
* util/pandora_manage.pl: Fixed that pandora_manage.pl had failed to write
	logs using with pandora_log().


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9352 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-22 05:58:51 +00:00
mdtrooper
17fc83f22b 2014-01-16 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/make_deb_package.sh: added the patch made by
	Carlos Cesario, thanks.
	
	Fixes: #2410




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9331 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-16 17:44:41 +00:00
ramonn
4d3adfccb1 2014-01-16 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Allow intervals to infinity when configuring
	  alert actions.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9328 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-16 16:09:09 +00:00
ramonn
2c477e6947 2014-01-15 Ramon Novoa <rnovoa@artica.es>
* bin/pandora_server: Prevent the thread that executes periodic tasks
	  from dying on database errors.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9324 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-15 11:10:53 +00:00
zarzuelo
37eb4ca968 2014-01-14 Sergio Martin <sergio.martin@artica.es>
* util/recon_scripts/snmpdevices.pl: Added address check
	to avoid create empty agents when exist agents with a secondary
	IP into the range for incident #459



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9318 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-14 15:31:16 +00:00
jsatoh
9bd1c8947b 2014-01-09 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/PluginServer.pm: Fixed that 'plugin_timeout' in
	pandora_server.conf is not used when max_timeout is 0.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9301 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-09 09:25:45 +00:00
ramonn
9d729baf2a 2014-01-08 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DataServer.pm: Fixed a typo that prevented timestamps in
	  datalists from being read. Fixes bug #2404.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9297 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-08 15:46:44 +00:00
jsatoh
2ea172ab77 2014-01-06 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/Core.pm: Fixed that planned downtime is disabled
	between continuous time settings.
	eg) If there are two settings like xx:xx:xx-23:59:59 and
	00:00:00-yy:yy:yy, planned downtime was disabled around 00:00:00.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9288 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-06 05:08:53 +00:00
slerena
00180b8391 2013-12-27 Sancho Lerena <slerena@artica.es>
*  util/pandora_backup.sh: Added parameter to ensure max_allowed_packet
        is limited to 32M on SQL Dump.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9267 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-12-27 17:26:36 +00:00
jsatoh
aefd0694e5 2013-12-26 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/Core.pm: Fixed wrong time comparison in planned
	downtime.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9261 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-12-26 01:10:16 +00:00
koichirok
afc74d06b9 2013-11-26 KIKUCHI koichiro <koichiro@rworks.jp>
* util/pandora_remote_agent.sh: Added "-e" option to be able to
	 specify character encoding of the output XML. Also added PID
	 number to the output file name to avoid race conditions.
 


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9128 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-11-26 10:56:49 +00:00
koichirok
13df28711f 2013-11-26 KIKUCHI koichiro <koichiro@rworks.jp>
* lib/PandoraFMS/DB.pm: Fixed get_agent_status to return warning status
	 correctly.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9125 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-11-25 22:03:07 +00:00
ramonn
d71a39c470 2013-11-13 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DataServer.pm: Fixed a bug when a parent was defined but
	  empty in the XML and an agent with an empty address existed in the
	  database.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9071 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-11-13 12:09:28 +00:00
ramonn
704aee6a67 2013-11-11 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Config.pm,
	  conf/pandora_server.conf.new: Added support for CURL web checks.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9050 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-11-11 15:17:26 +00:00
zarzuelo
48b1ee3561 2013-11-11 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Core.pm: Change the format of the comments when
	create event from server to adapt it to new json format



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9049 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-11-11 14:46:21 +00:00
ramonn
75c68db4b8 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
2bbc2e6a04 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
b3375a79a1 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
12ee3eafe1 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
0198ec1320 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
253300aaf9 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
5cba9ab702 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
e6c69beb6d 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
a6d5f44718 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
d0504ce750 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
719915003c 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
4b9c4b3743 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
e32a7e64aa 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
ramonn
d3052bb0c7 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
ec6d39c1b0 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
ramonn
c4f125e6e7 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
ramonn
db26cb849b 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
ramonn
d9d5678ecc 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
ramonn
622631b0f2 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
172fc500ec 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
ramonn
d52fdc485f 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
ramonn
42eafaf784 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
2e5bdf9149 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
ramonn
ce877b6e30 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