Commit Graph

154 Commits

Author SHA1 Message Date
Ramon Novoa 433d4b5001 Do not rely on the exit status of ping.exe for module_ping.
When an ICMP destination unreachable message is received, the exit
status of ping.exe is 0, which breaks module_ping modules. Pipe the
output of ping.exe to find.exe instead. Ref. pandora_enterprise#7942.
2021-09-28 15:13:04 +02:00
Ramon Novoa 9ac9b91ad4 Add support for module_wait_timeout.
module_wait_timeout lets the user specify the timeout passed to
WaitForSingleObject (in milliseconds). Lowering it can greatly improve
performance when the executed command generates a lot of output.
Ref. pandora_enterprise#7248.
2021-04-26 18:49:16 +02:00
Jose Gonzalez 649442f794 Updated copyrights 2020-11-27 13:52:35 +01:00
Ramon Novoa 337e3357db Non-intensive modules do not need to check a timestamp.
Ref pandora_enterprise#4660.
2019-11-22 13:59:22 +01:00
fbsanchez 3be05cf385 added module_interval feature to broker agents 2019-09-24 19:13:55 +02:00
Ramon Novoa b8a3d46f38 Add module_application to module_logchannel.
Ref. pandora_enterprise#3659
2019-09-03 12:57:12 +02:00
Ramon Novoa 36a12d16be Do not add disabled modules to the execution queue. 2019-05-27 11:55:42 +02:00
Daniel Barbero Martin be0f96b5f0 add ff_type Windows agent
Former-commit-id: d167449fe305d6a013eb2b2e22ec48a58af1e346
2019-04-01 12:52:09 +02:00
vgilc bbbbf400f8 Merge branch 'ent-2504-logchannel-no-funciona-con-eventos-critical-o-verbose' into 'develop'
Fixed type info in module logchannel

See merge request artica/pandorafms!1649
2018-09-28 10:26:27 +02:00
Ramon Novoa 51533ced5b Add local (as opposed to UTC) timestamps to data.
Ref pandora_enterprise#2775
2018-09-18 12:21:19 +02:00
fermin831 6efa86c4d5 Fixed type info in module logchannel 2018-07-31 11:25:08 +02:00
fermin831 39ce360520 [Logs] Scaped CDATAs on logs of windows agent 2018-03-16 11:12:19 +01:00
fermin831 8e6e5480d2 [Windows Agent] Fixed error on non cron configured modules 2018-02-22 13:51:10 +01:00
fermin831 5a3e4e1599 [Windows Agent] Avoid execute module at first time if is out cron 2018-02-22 09:55:59 +01:00
fermin831 d53e17e118 [Windows Agent] Added cron_interval to XML 2018-02-22 09:26:23 +01:00
fermin831 f8f322e328 [Windows Agent] Removed all references to module_cron_interval 2018-02-21 15:57:46 +01:00
fermin831 0446cdd820 [Windows Agent] Remove old cron management 2018-02-21 15:49:06 +01:00
fermin831 cb7de8a8f2 Fixed description on module_freedisk_percent 2017-10-26 16:29:02 +02:00
vgilc 8a39b25ee0 Merge branch 'ent-1404-no-estan-funcionando-correctamente-los-watchdog-de-procesos-windows' into 'develop'
Added module_user_session token to module_proc on windows agent

See merge request artica/pandorafms!916
2017-10-26 11:15:29 +02:00
fermin831 854adac713 Added module_logchannel implementation to agent on module_factory 2017-10-24 13:05:31 +02:00
fermin831 7e4363b87a Added module_pattern to module_logchannel 2017-10-24 12:56:12 +02:00
fermin831 e748fb025c Added filter by code and event type to module_logchannel 2017-10-24 12:41:47 +02:00
fermin831 da06d78b1c Get the log time to put the properly timestamp on XML on module_logchannel 2017-10-24 11:32:43 +02:00
fermin831 a235abb903 Removed unwanted trace (pandora_module_service.cc) 2017-10-23 15:51:58 +02:00
fermin831 68ac55e33c Added first version of new windows module type module_logchannel 2017-10-23 10:43:12 +02:00
fermin831 60b428ac24 Added module_user_session token to module_proc on windows agent 2017-10-10 18:41:53 +02:00
vgilc 6471144cfb Merge branch 'ent-1371-no-estan-funcionando-los-watchdog-de-servicios-windows' into 'develop'
Ent 1371 no estan funcionando los watchdog de servicios windows

See merge request !867
2017-10-04 13:10:09 +02:00
fermin831 2bb62110cd Added async polling trace 2017-09-28 17:31:54 +02:00
fermin831 fcd54a7853 Substitute async services by polling when Windows is Home edition 2017-09-27 18:12:07 +02:00
fermin831 d5ffd2cb82 Improve performance module_logevent Windows 2017-09-25 19:42:58 +02:00
Ramon Novoa e90fb3d8f7 Catch Pandora_Wmi::Pandora_Wmi_Exception exceptions. Fixes #89. 2017-09-01 15:00:21 +02:00
fermin831 4b05351df0 Fixed async issues in windows brokers 2017-05-18 11:55:44 +02:00
enriquecd f0ef304c38 The min, max limits for agent modules were exclusives, now are inclusives - #770 2017-05-09 13:32:18 +02:00
fermin831 92af61ce83 Added disk free (in MB) in percent disk free native windows module 2017-03-15 16:26:59 +01:00
Ramon Novoa 68ddaeb31d Revert "Show free space in windows agent - #31"
This reverts commit 1ecf471ab8.
2017-02-02 12:50:24 +01:00
enriquecd 1ecf471ab8 Show free space in windows agent - #31 2017-01-26 12:37:50 +01:00
Ramon Novoa e707f65a6f Set the type for async_abs modules. 2017-01-26 11:22:17 +01:00
Ramon Novoa a27f72168d Change the input encoding once,not on every run. 2017-01-16 13:59:02 +01:00
Ramon Novoa b331867e94 Properly parse absolute incremental modules. 2017-01-09 14:45:23 +01:00
fermin831 5dcb313522 Cron bug and crontab and alert template is sended in win32 TICKETS #3355 2016-03-01 19:13:40 +01:00
fermin831 e3d9e6b973 remove config_file_encoding and assume UTF-8 2015-09-16 15:39:50 +02:00
fermin831 39cae36c3e Added config_file_encoding token to change input module_exec
Change name to module_native_encoding to change output module_exec
2015-09-15 18:26:11 +02:00
fermin831 6722f61c65 fixed written accent problems in windows agent 2015-09-11 14:35:11 +02:00
Ramon Novoa b717b1d56c Allow POSIX extended regexps for module preconditions. 2015-09-08 10:45:30 +02:00
fermin831 110b15e528 Solved timeout problem in plugin modules 2015-09-03 12:31:53 +02:00
Ramon Novoa 8acb459029 Catch Value_Error exceptions too when parsing module data. 2015-08-14 12:10:30 +02:00
Ramon Novoa 878e65fa30 Fixed the XPATH query to retrieve log events. 2015-04-20 12:39:58 +02:00
Ramon Novoa 250ef13bca Remove \n and \r from event descriptions. 2015-04-17 12:43:43 +02:00
Ramon Novoa 159183e4bb Fixed a handle leak. 2014-10-10 13:20:58 +02:00
Ramon Novoa 04ce8296c2 Fixed a memory leak! 2014-10-09 16:32:18 +02:00