Commit Graph

1145 Commits

Author SHA1 Message Date
Ramon Novoa 281ca5ab92 2014-06-17 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Removed an unused module.

	* util/recon_scripts/snmp-recon.pl: Always perform a brute-force network scan.
	  Connect hosts via traceroute if no L2 information is available.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10218 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-17 11:21:51 +00:00
vgilc 5449f418d4 2014-06-17 Vanessa Gil <vanessa.gil@artica.es>
* lib/PandoraFMS/Core.pm: Fixed bug
	scheduling downtime.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10215 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-17 10:17:05 +00:00
hkosaka e8f76f8e9d 2014-06-17 Hirofumi Kosaka <kosaka@rworks.jp>
* lib/PandoraFMS/PluginServer.pm: Fixed to handle plugin's
	output that includes multibyte character string.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10207 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-17 02:18:49 +00:00
jsatoh 52dadf4a8c 2014-05-15 Junichi Satoh <junichi@rworks.jp>
* util/pandora_manage.pl: Fixed typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10197 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-15 03:47:27 +00:00
jsatoh 82df128455 2014-05-15 Junichi Satoh <junichi@rworks.jp>
* util/pandora_manage.pl: Added support for 'each_ff' and 'ff_timeout'
	to module creation and modifying options.
	Fixed bug that 'enable_unkown_events' cannot be set by module creation
	options.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10196 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-15 02:53:41 +00:00
uchida 7ad2b57efa 2014-06-14 Akihiro Uchida <auchida@rworks.jp>
* pandora_server/pandora_server.redhat.spec: allow
	  tty-less sudo for pandora to fix failure on start
	  tentacle_serverd service in recent RHEL derivatives.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10192 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-14 14:09:49 +00:00
Ramon Novoa b4fd879fbd 2014-06-12 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Removed the keepalive semaphore, since down_force
	  is not supported in earlier versions of Thread::Semaphore. Made keep alive
	  modules work with an FF threshold.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10175 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-12 14:00:09 +00:00
Ramon Novoa e61de378ac 2014-06-11 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Prevent race conditions between keep_alive and
	  keep_alive_nd.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10166 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-11 15:20:23 +00:00
jsatoh e015b84ba1 2014-06-08 Junichi Satoh <junichi@rworks.jp>
* FreeBSD/pandora_server.conf, 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@10140 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-08 00:55:21 +00:00
zarzuelo 845c06216c 2014-06-05 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/PluginServer.pm
	lib/PandoraFMS/Core.pm: Add tags name macro to alerts and plugins.
	Add tags phones to plugins. Ticket #568



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10119 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-05 11:44:31 +00:00
mariopulido 6a1cc19554 2014-06-04 Mario Pulido <mario.pulido@artica.es>
* conf/pandora_server.conf.new: Fixed bug




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10107 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-04 15:42:38 +00:00
Ramon Novoa 7185640c79 2014-06-03 Ramon Novoa <rnovoa@artica.es>
* util/recon_scripts/snmp-recon.pl: Create a ping module for agents that do
	  not respond to SNMP.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10093 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-03 13:46:38 +00:00
jsatoh 545a30e58b 2014-06-03 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/Core.pm: Changed to ignore 'FF timeout' except async
	modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10085 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-03 04:44:31 +00:00
jsatoh 55c25d883f 2014-05-31 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/Core.pm: Improved 'FF threshold' to be able to define
	timeout.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10062 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-31 13:39:45 +00:00
slerena ced5e8c979 2014-05-30 Sancho Lerena <slerena@artica.es>
* conf/pandora_server.conf.new: Review of default configuration file.

        * pandora_server.redhat.spec,
          pandora_server.spec,
          DEBIAN/control: Added perl telnet module as dependency.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10053 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-30 13:56:44 +00:00
Ramon Novoa 68c13d3310 2014-05-30 Ramon Novoa <rnovoa@artica.es>
* conf/pandora_server.conf.new,
	  lib/PandoraFMS/Config.pm,
	  util/pandora_db.pl: Added a new option to move SNMP modules back to the
	  SNMP Enterprise Server.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10051 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-30 12:26:40 +00:00
Ramon Novoa 73494d9f82 2014-05-30 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Config.pm
	  lib/PandoraFMS/DataServer.pm: Ignore the agent group coming from the XML
	  if autocreate_group is set.

	* util/recon_scripts/snmp-recon.pl: Changed the default value for a
	  router-less scan.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10045 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-30 10:01:23 +00:00
zarzuelo f68815faf6 2014-05-28 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/ReconServer.pm: Fixed wrong order in 
	recon script parameters in the conversion from json format



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10029 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-28 14:54:02 +00:00
Ramon Novoa 7a17f11379 2014-05-28 Ramon Novoa <rnovoa@artica.es>
* bin/pandora_server,
	  lib/PandoraFMS/Config.pm: Removed getopts. Fixes a problem found by Junichi.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10027 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-28 09:37:01 +00:00
Ramon Novoa fd703580d1 2014-05-27 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Tools.pm: If no logfile is defined print the message to
	  stdout.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10022 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-27 15:01:16 +00:00
Ramon Novoa 3c1a2b7846 2014-05-27 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Make sure critical_str and warning_str are valid
	  regular expressions.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10020 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-27 14:07:09 +00:00
Ramon Novoa 84277a1333 2014-05-27 Ramon Novoa <rnovoa@artica.es>
* bin/tentacle_server: Updated to the latest version.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10017 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-27 12:32:38 +00:00
jsatoh a261e0df6f 2014-05-25 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/Tools.pm: Fixed STD* file open error.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10002 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-25 06:53:00 +00:00
Ramon Novoa 012634abca 2014-05-22 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/NetworkServer.pm,
	  lib/PandoraFMS/NmapParser.pm,
	  lib/PandoraFMS/ReconServer.pm,
	  lib/PandoraFMS/SNMPServer.pm,
	  lib/PandoraFMS/Tools.pm,
	  lib/PandoraFMS/Traceroute.pm,
	  lib/PandoraFMS/WMIServer.pm: Fixes for win32.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9984 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-22 10:49:49 +00:00
jsatoh 15870d4550 2014-05-21 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/Core.pm: Improved 'FF threshold' to be able to define
	each state changing.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9974 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-21 08:28:50 +00:00
Ramon Novoa 323711f447 2014-05-20 Ramon Novoa <rnovoa@artica.es>
* bin/pandora_server: Stop the service when the server crashes (win32).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9963 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-20 14:33:27 +00:00
Ramon Novoa 828a23432b 2014-05-13 Ramon Novoa <rnovoa@artica.es>
* bin/pandora_server: Added support to run as a native win32 service.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9924 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-13 13:34:57 +00:00
jsatoh 72a2e2e1cf 2014-05-10 Junichi Satoh <junichi@rworks.jp>
* util/recon_script/ipmi-recon.pl, util/recon_script/snmpdevices.pl,
	util/recon_script/wmi-recon.pl: Added support for FreeBSD.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9907 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-10 02:09:44 +00:00
Ramon Novoa f889ebee0f 2014-05-09 Ramon Novoa <rnovoa@artica.es>
* bin/tentacle_server.exe: Added to repository. Tentacle server win32
	  binary.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9902 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-09 15:10:56 +00:00
jsatoh ee1b1f022d 2014-05-08 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/ReconServer.pm: Fixed crash when macros help of
	recon script contains \r, \n or multibyte characters.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9886 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-08 05:12:08 +00:00
Ramon Novoa f7abc3096e 2014-05-07 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Tools.pm: Added code to initialize the enterprise module.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9877 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-07 12:28:08 +00:00
jsatoh 1f71c9ac23 2014-05-06 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/Core.pm: Improved weekly planned downtime to allow
	accross date. If the stopping time is smaller than the starting time,
	it ends at the stopping time of the next day.
	e.g.) When Saturday 23:00:00-01:00:00 is set, the weekly planned
	downtime ends at Sunday 01:00:00.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9870 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-06 00:23:16 +00:00
Ramon Novoa a46b0ad2ad 2014-05-05 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/ReconServer.pm: Added debug messages.

	* util/recon_scripts/wmi-recon.pl: Added to repository. WMI Recon script.

	* lib/PandoraFMS/WMIServer.pm,
	  util/recon_scripts/snmp-recon.pl: Small fixes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9865 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-05 14:57:10 +00:00
alexhigh d3338ea1bf 2014-05-05 Alejandro Gallardo <alejandro.gallardo@artica.es>
* bin/pandora_server: Added checks and warnings for
	too many threads and verbosity 10.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9860 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-05 11:25:27 +00:00
jsatoh 639be297cc 2014-05-03 Junichi Satoh <junichi@rworks.jp>
* util/pandora_manage.pl: Added new CLI functions to manage special
	days.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9845 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-03 00:57:53 +00:00
jsatoh 277f76c0ac 2014-04-27 Junichi Satoh <junichi@rworks.jp>
* util/recon_scripts/snmp-recon.pl: Added support for FreeBSD.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9823 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-04-27 04:16:31 +00:00
jsatoh a92308a539 2014-04-27 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/PluginServer.pm: Fixed plugin execution failure
	when multibyte characters are used in plugins macros.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9821 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-04-27 03:42:38 +00:00
vgilc f67d629095 2014-04-24 Vanessa Gil <vanessa.gil@artica.es>
* lib/PandoraFMS/Core.pm: Removed entities
	to events log.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9810 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-04-24 14:25:41 +00:00
vgilc 05b2283069 2014-04-23 Vanessa Gil <vanessa.gil@artica.es>
* lib/PandoraFMS/Core.pm
	  util/pandora_manage.pl: Added functions
	to CLI.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9802 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-04-23 09:55:05 +00:00
zarzuelo 56e4f5a6ce 2014-04-22 Sergio Martin <sergio.martin@artica.es>
* util/pandora_migrate_recon_scripts.pl
	lib/PandoraFMS/ReconServer.pm: Add compatibility for the new
	fields system (macros) of the recon scripts to the recon server.
	Add migrate script from old format to new one



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9795 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-04-22 09:22:08 +00:00
Ramon Novoa 37d98118a9 2014-04-04 Ramon Novoa <rnovoa@artica.es>
* util/recon_scripts/snmp-recon.pl: Do not load MIB files (DISPLAY-HINTS may
	  cause MAC addresses to be displayed in a different format).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9722 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-04-04 09:31:44 +00:00
Ramon Novoa 5e6e04ee1b 2014-04-04 Ramon Novoa <rnovoa@artica.es>
* util/recon_scripts/snmp-recon.pl: Lowered the number of retries.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9721 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-04-04 08:30:53 +00:00
Ramon Novoa 6038891ac5 2014-04-03 Ramon Novoa <rnovoa@artica.es>
* util/recon_scripts/snmp-recon.pl: Remove the symbolic labels from
	  enumeration values.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9716 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-04-03 15:40:44 +00:00
Ramon Novoa 42f65e8678 2014-04-03 Ramon Novoa <rnovoa@artica.es>
* util/recon_scripts/snmp-recon.pl: Fixed a typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9715 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-04-03 15:11:03 +00:00
koichirok e7c86b7d9b 2014-04-03 Koichiro KIKUCHI <koichiro@rworks.jp>
* bin/tentacle_server: Updated to the logfile supported version.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9712 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-04-03 11:26:15 +00:00
Ramon Novoa fe0190316c 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 2c6586a4b7 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 8655db4b1d 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 6eb803c43d 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 53cf86faf7 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