Commit Graph

125 Commits

Author SHA1 Message Date
fbsanchez cc27e63773 Exception control added to safe_input and safe_output 2018-02-13 10:59:00 +01:00
fermin831 13170e698e Fixed overflow problems in cron 2018-01-10 18:20:03 +01:00
fermin831 b51c239f3e Fixed disk_free on Windows automonitorization 2017-12-07 14:11:38 +01:00
Ramon Novoa c72f583f0a Merge remote-tracking branch 'origin/develop' into 1526-grep_syslog_module 2017-11-30 13:20:51 +01:00
vgilc 227eb2b9cb Merge branch '1465-optimizacion-en-el-procesado-de-xml' into 'develop'
Performance improvements. Rewrote safe_input and safe_output.

See merge request artica/pandorafms!925
2017-11-29 17:08:03 +01:00
vgilc dad457b4d6 Merge branch 'ent-621-automonitorizacion-del-servidor-usa-comandos-de-otro-sistema-operativo' into 'develop'
Fixed automonitoring on Windows

See merge request artica/pandorafms!971
2017-11-29 16:56:10 +01:00
fermin831 98a343a3b3 Fixed non-cron current interval on cronned modules on srever 2017-11-22 18:46:04 +01:00
vgilc 480ebd4c9b Merge branch 'feature/safe_mode_module' into 'develop'
Add safe-module mode support.

See merge request artica/pandorafms!1103
2017-11-21 12:16:05 +01:00
Ramon Novoa 0f37cccab5 Add safe-module mode support.
Ref pandora_enterprise#1276.
2017-11-21 12:03:16 +01:00
fermin831 50569f187f Fixed server cron problems when there is set only time from 2017-11-20 14:06:40 +01:00
Ramon Novoa 18fdba9dd6 Add a new enterprise server to parse syslog's output.
Ref pandora_enterprise#1526.
2017-11-15 11:29:50 +01:00
fermin831 38d216b108 Fixed automonitoring on Windows 2017-10-25 15:42:54 +02:00
Ramon Novoa 90366e7e58 Performance improvements. Rewrote safe_input and safe_output.
Ref pandora_enterprise#1465.
2017-10-13 15:50:26 +02:00
fermin831 5171f7a747 Fixed cron on server modules 2017-10-10 16:32:02 +02:00
fbsanchez 60424e5be2 Added missed use in Tools.pm 2017-09-06 18:50:03 +02:00
fbsanchez 40dcf343d6 Added to_number to Tools.pm 2017-09-06 12:28:13 +02:00
Ramon Novoa 2f069c37dc Add an alpha version of the WUXServer. 2017-08-11 11:08:40 +02:00
daniel d3a0c4b52b fixed errors in pandora revent 2017-06-21 14:34:06 +02:00
Ramon Novoa 7f1030abd6 Add support for the new metaconsole licensing mode. 2017-03-30 09:47:00 +02:00
Ramon Novoa 3cada51373 Add a basic implementation of the Sync Server. 2017-02-22 12:59:29 +01:00
Ramon Novoa 3256259a39 Added the Mainframe Server to the list of servers. 2016-11-10 15:05:50 +01:00
fbsanchez e559937697 Updated set_file_permissions
Allow custom permissions over target file
2016-10-31 12:32:45 +01:00
fbsanchez 04c27a9fd3 Updated config and tools
New configuration tokens and functions

added: set_file_permissions
added: configuration tokens:
user
group
umask
updates on transactional_threshold valid inputs
2016-10-28 19:22:07 +02:00
Junichi Satoh 2b5368e8b5 Added default value (unknown) to $OS_VERSION to avoid undefined value when
OS type is not detected. And added $OS_VERSION support for FreeBSD.
2016-09-25 13:03:02 +09:00
Ramon Novoa 42454cd3e2 Set the right OS and version for self-monitoring. 2016-07-21 11:48:51 +02:00
fbsanchez 32345e07d5 Introducing to Pandora FMS Transactional Server 2016-06-13 13:51:55 +02:00
Ramon Novoa 9663ddbe64 Changed the umask of the Pandora FMS daemon. 2016-06-13 11:04:42 +02:00
fermin831 55140d06dd Fixed cron updating problem TICKETS #3329
In addition, linux agent send crontab token and in data modules, cron
information is displayed grayed
2016-02-05 09:56:37 +01:00
fermin831 6ebba6377c Added several alert_templates support TICKET: #3310
and agent reads module_alert_template in conf file
2016-02-01 17:24:31 +01:00
Ramon Novoa 0985c1f9df Fixed a couple of variables that were renamed in Config.pm (caused
trouble with other scripts that read pandora_server.conf).
2015-11-10 13:39:21 +01:00
Ramon Novoa 86c900b196 Added support for server XML files. 2015-10-14 14:58:34 +02:00
fermin831 15a1c1f27f Fixed lower and higher case problems with tildes and written accents. 2015-09-28 11:18:44 +02:00
mdtrooper fc04efc82f Re-added the errors logs when load enterprise file in server. 2015-07-07 16:28:48 +02:00
Ramon Novoa 1c719b3bde Fixes for the metaconsole's plug-in server. 2015-06-30 16:34:07 +02:00
Ramon Novoa a487fa011e Execute all previously run actions when an alert recovers. 2015-04-30 13:47:02 +02:00
Ramon Novoa 79afef8cf8 Added support for metaconsole servers. 2015-04-16 11:35:20 +02:00
Ramon Novoa cb845a0a9b Merged Junichi's patch and added support for setting the number of ICMP
packets.

(cherry picked from commit d4f8af2a56)
2015-03-18 16:28:54 +01:00
Ramon Novoa 3a6f885b15 Added support for password encryption to the Pandora FMS Server. 2015-03-02 17:30:19 +01:00
Junichi Satoh 49cdb38f90 Revivied codes to improve ping performance that was degraded in
Pandora FMS 4.0.
2015-02-22 23:29:56 +09:00
Alejandro Gallardo Escobar 0bbe56c788 Modified the function "pandora_sendmail" to make it more flexible 2015-02-09 17:49:30 +01:00
Hirofumi Kosaka 844b5b93a2 Moved log rotation from inside of logger() to pandora_server's periodic tasks,
preventing warnings below at pandora_server.error;

> Use of uninitialized value in numeric gt (>) at /usr/lib/perl5/PandoraFMS/Tools.pm line 415.

MERGED FROM pandora_5.0.
2014-09-29 19:53:15 +09:00
Akihiro Uchida b20c81143d Added max_log_generation config 2014-09-17 13:38:58 +09:00
Ramon Novoa 5282d9ef9a Added constants for server types. 2014-09-10 18:05:33 +02:00
Ramon Novoa aa52dfdadc 2014-09-03 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Tools.pm: Added basic support to log to syslog.
2014-09-04 13:02:23 +02:00
pandora-release c9d5e8d794 Fixes to the Windows service.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10230 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-18 09:57:17 +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
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
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
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