Commit Graph
71 Commits
Author SHA1 Message Date
Pavel Czerný 8e7ff2ed36 F #6103: Last set of CppCheck issues (#2481)
(cherry picked from commit 4a9662a551)
(cherry picked from commit d7b7303f8f)
2023-02-07 08:56:52 +01:00
Pavel Czerný 6ee3a5ef5b F #6103: More CppCheck issues solved (#2477)
(cherry picked from commit 3fd059c543)
2023-02-02 12:54:45 +01:00
Tino Vázquez 3376afdaf0 M #-: Bump year 2023 2023-01-09 12:23:19 +01:00
Pavel Czerný 3de39f9340 F #6039: Reset monitoring timers (#2430) 2023-01-04 16:14:36 +01:00
Jan Orel 8689d5d49b B #6034 Fix log rotation (#2415)
* Revert "F #5328: Update logrotate behavior to avoid long restarts (#2275)". This reverts commit 6b1127f180.

* B #5328: Don't wait for log compressing
* B #6034: Don't overwrite logs

While having already `copytruncate` in logroate we don't need to implement signaling and re-openning files.

* L #-: Linting
2022-12-12 11:50:54 +01:00
Pavel Czerný 08e0e6c305 B #5728: Fix argument parsing for onemonitord (#2411)
* Fix argument parsing for onemonitord
* Update NebulaTemplate.h
2022-12-08 10:33:45 +01:00
Tino Vazquez f7d53e75ff M #-: Bump version 6.3.85 2022-04-07 19:49:58 +02:00
Ruben S. Montero 6493dd6957 M #-: Fix typos in monitord.conf 2022-04-02 13:14:00 +02:00
Christian González 014447a3d6 F #5564: Manage Libvirtd failure at VM monitoring (#1628) 2021-11-29 20:02:51 +01:00
Pavel Czerný e3a89e964e M #-: Test monitor_expiration time as <= (#1605)
* Synchronize monitor_expiration semantics: <= 0 means monitoring
disabled
* VMRPCPool::get_monitoring minor optimization, no need to call SQL
querry if monitoring disabled
2021-11-23 16:19:14 +01:00
Pavel Czerný 7545bbada6 M #-: Fix minor mem leak (#1161) 2021-04-29 18:10:38 +02:00
6cadde8eef F #5228: LXC driver set
co-authored-by: Christian González <cgonzalez@opennebula.io>
co-authored-by: Daniel Clavijo Coca <dclavijo@opennebula.systems>
2021-03-04 21:07:50 +01:00
Ruben S. Montero 4d56ca7cd7 M #-: Removed deprecated driver conf 2021-03-03 15:23:00 +00:00
Ruben S. Montero 007ce2dd9a F #5076: Fix virtual provision 2021-03-03 15:03:49 +00:00
Vlastimil Holer 096754b63f M #-: Bump year to 2021 (#778) 2021-02-09 16:07:56 +01:00
Pavel Czerný 12d87e7a42 F #4936: Fix compilation (#217) 2020-09-16 11:07:50 +02:00
Pavel Czerný 3ea67d3645 F #4936: Reduce number of new/delete, use unique_ptr (#212)
* On exit stop RequestManager first

* Use unique_ptr for pointers to Template

* Reduce number of new/delete
2020-09-15 11:16:00 +02:00
Tino Vazquez 74665bc235 M #-: Fix typo 2020-09-10 15:57:41 +02:00
Ruben S. Montero b98baba6c5 M #-: Remove scons reference 2020-08-17 13:24:47 +02:00
Ruben S. MonteroandPavel Czerný 565094961a F #4936: oned refactor
* Remove duplicit methods from NebulaUtil

    * Const correctness

    * Fix minor code quality issues

    * Remove ObjectCollection::clone()

    * Minor SSLUtil interface change

co-authored-by: Pavel Czerný <pczerny@opennebula.systems>
2020-07-05 22:01:32 +02:00
Pavel Czerný daaf132a43 F #4936: Remove 'using namespace std' from headers (#60) 2020-07-02 22:42:10 +02:00
Pavel Czerný cf72a29b9a F #4936: Move Driver files to better folders (#59) 2020-06-29 15:14:04 +02:00
Ruben S. MonteroandPavel Czerny a3d8d4a65e F #4936: Refactor Driver and Message classes in OpenNebula daemon
co-authored-by: Pavel Czerny <pczerny@opennebula.systems>
2020-06-29 12:14:00 +02:00
Alejandro Huertas Herrero 890a849be9 M #-: remove extra white space in version (#43) 2020-06-24 17:46:41 +02:00
Alejandro Huertas Herrero fad09e9c21 M #-: change license message width (#4908) 2020-06-10 12:31:08 +02:00
Alejandro Huertas Herrero 99978380c2 M #-: minor license message changes (#4906) 2020-06-09 16:57:07 +02:00
Ruben S. MonteroandAlejandro Huertas 9076c5bdfe M #-: add enterprise label to version option
co-authored-by: Alejandro Huertas <ahuertas@opennebula.io>
2020-06-05 13:59:16 +02:00
Ruben S. MonteroandPavel Czerny e1086b9838 F #3859: Message timestamp
* Discard out-of-order messages
  * New message format for monitor messages (include timestamp)
  * Consistent logging for debug

co-authored-by: Pavel Czerny <pczerny@opennebula.systems>
2020-06-05 12:03:15 +02:00
Pavel Czerný 3fa04ee2d5 M #-: Configurable timeout for SQLite DB (#4882) 2020-06-04 18:05:58 +02:00
Pavel Czernýandan Orel 0e7de61282 B #4115: MySQL BINARY name searches configurable (#4873)
Co-authored-by: an Orel <jorel@opennebula.systems>
2020-06-03 18:11:04 +02:00
Tino Vazquez a78f105056 F #4302: Set vCenter minimum monitor granularity
- Set to 30 seconds. vCenter monitoring runs in the front-end
- Raise VM State default to 5 seconds for other hypervisors
2020-06-02 12:07:50 +02:00
Pavel Czerny 9baef5c8d6 B #4793: Rewrite VM disks monitoring 2020-05-28 15:36:16 +02:00
Pavel Czerny 560dbc3c8c B #4793: Fix timestamp 2020-05-27 09:16:18 +02:00
Ruben S. MonteroandPavel Czerný 4702edee46 B #4793: Fix DS VM monitoring
* Merge VM DB monitor information with previous record.
    * DS sends monitor data to monitord socket
    * Fix VM monitor template merging for "local" disks

co-authored-by: Pavel Czerný <pczerny@opennebula.systems>
2020-05-26 19:41:45 +02:00
Pavel Czerný f89b5da5e7 F #3859: Host to MONITORED only on system_host (#4811) 2020-05-26 14:52:46 +02:00
Ruben S. Montero a9f1d3395f M #-: Prevent monitor ERROR looping for vcenter 2020-05-25 21:58:28 +02:00
Ruben S. Montero 707f48980c M #-: Refresh counter when host is on error 2020-05-25 20:07:35 +02:00
Tino Vazquez ace08b4d59 F #4302: vCenter monitoring service
co-authored by <rsmontero@opennebula.io> and <amoya@opennebula.io>
2020-05-25 18:49:51 +02:00
Ruben S. Montero fe0513e985 M #-: Detect MONITOR_ADDRESS if set to "auto" 2020-05-25 15:08:45 +02:00
Ruben S. Montero 7db3994f0e More leader check 2020-05-25 15:02:47 +02:00
Pavel Czerny 7705d669a7 F #3859: Monitord HA 2020-05-25 10:49:50 +02:00
Jan Orel 781ad55da8 M #-: Detect MONITOR_ADDRESS if set to "auto" 2020-05-22 14:54:32 +02:00
Pavel Czerny 2f614c64f3 F #3859: Fix default DATASTORE_LOCATION 2020-05-22 11:20:19 +02:00
Pavel Czerny fb20d5b18b F #3859: Improve monitoring error msgs 2020-05-22 11:19:56 +02:00
Pavel Czerny a6ce32a29a F #3859: Allow empty string in monitor success 2020-05-22 09:22:30 +02:00
Pavel Czerny 86399bd336 F #3859: Fix double start of monitor probe 2020-05-19 19:43:38 +02:00
Pavel Czerný 394a8e1eab F #3859: Fix deploy_id for VM monitoring (#4751) 2020-05-18 16:39:47 +02:00
Tino Vazquez 29db1c2c5c M #-: Adjust state VM default monitor interval 2020-05-14 19:05:25 +02:00
Ruben S. Montero 152d82647d Revert "F #3859: Use DEPLOY_ID for wilds (#4726)"
This reverts commit fb96648fec.
2020-05-14 14:57:21 +02:00
Pavel Czerný fb96648fec F #3859: Use DEPLOY_ID for wilds (#4726) 2020-05-14 11:34:16 +02:00