Alerting HW Event target to Intergration Error


Hello everyone.

I am a long time Stor2rrd user.

Happy with the new Xormon NG. The best tool as I know.

Performance alerting and anomaly detection are useful features.

But the HW Event target of the Integration is broken. As the image shows, the Integration does not work with HW events. Cannot save configuration when Alert metric is turned on and off.

This issue needs to be fixed soon.

Thanks in advance.

Comments

  • we do not really get it, is that about disappearing assigned integrations when you disable the item?

  • Its disappearing when disabled, and HW events Alert not working with Integration. I think its cannot save setting.

  • Hello,

    upgrade to this version, it should solve this disappearing when disabling.

    https://download.xormon.com/ng/xormon-ng-2.0.23.tar.gz

    upgrade docu XorMon: https://xormon.com/xormon-upgrade.php


    If you continue to experience issues with hardware events not working in custom integrations, send us logs please.


    UI --> (Help -->) Logs --> Support Log --> Export All Logs: follow the form

    Send us generated file via https://upload.xormon.com

  • Log after upgrade to xormon-ng-2.0.23.tar.gz

    root@LHL-Stormon:~# tail -n 15 /home/xormon/xormon-ng/server-nest/logs/backend-error-*.log

    ==> /home/xormon/xormon-ng/server-nest/logs/backend-error-0.log <==

    Body: -

    2025-11-14 13:09:08: === GlobalExceptionFilter ===

    2025-11-14 13:09:08: Cannot read properties of null (reading 'storage_group_folder_id') TypeError: Cannot read properties of null (reading 'storage_group_folder_id')

      at MenuController.getPath (/home/xormon/xormon-ng/server-nest/src/service/menu/menu.controller.ts:499:94)

      at processTicksAndRejections (node:internal/process/task_queues:95:5)

    2025-11-14 13:09:08: Request: GET /api/menu/v1/getpath/sgroup/vmware

    Body: -

    2025-11-14 14:26:51: Shutdown signal: SIGINT

    2025-11-14 14:29:16: Failed to test integration GP_Storage: value.replaceAll is not a function

    2025-11-14 14:29:16: Failed to test integration GP_Storage: value.replaceAll is not a function

    2025-11-14 14:29:16: Failed to test integration GP_Storage: value.replaceAll is not a function

    2025-11-14 14:29:16: Failed to test integration GP_Storage: value.replaceAll is not a function

    2025-11-14 14:29:16: Failed to test integration GP_Storage: value.replaceAll is not a function

    2025-11-14 14:29:16: Failed to test integration GP_Storage: value.replaceAll is not a function

    2025-11-14 14:55:33: Shutdown signal: SIGTERM

     

    ==> /home/xormon/xormon-ng/server-nest/logs/backend-error-2.log <==

    2025-11-14 14:31:53: Failed to test integration GP_Storage: value.replaceAll is not a function

    2025-11-14 14:55:33: Shutdown signal: SIGHUP

    2025-11-14 14:56:38: [CheckPM2]: starting as slave backend process

    2025-11-14 14:58:45: Failed to test integration GP_Storage: value.replaceAll is not a function

    2025-11-14 14:58:45: Failed to test integration GP_Storage: value.replaceAll is not a function

    2025-11-14 14:58:45: Failed to test integration GP_Storage: value.replaceAll is not a function

    2025-11-14 14:58:45: Failed to test integration GP_Storage: value.replaceAll is not a function

    2025-11-14 14:58:45: Failed to test integration GP_Storage: value.replaceAll is not a function

    2025-11-14 14:58:45: Failed to test integration GP_Storage: value.replaceAll is not a function

    2025-11-14 14:59:38: Failed to test integration GP_Storage: value.replaceAll is not a function

    2025-11-14 14:59:38: Failed to test integration GP_Storage: value.replaceAll is not a function

    2025-11-14 14:59:38: Failed to test integration GP_Storage: value.replaceAll is not a function

    2025-11-14 14:59:38: Failed to test integration GP_Storage: value.replaceAll is not a function

    2025-11-14 14:59:38: Failed to test integration GP_Storage: value.replaceAll is not a function

    2025-11-14 14:59:38: Failed to test integration GP_Storage: value.replaceAll is not a function

     

    ==> /home/xormon/xormon-ng/server-nest/logs/backend-error-3.log <==

    2025-11-14 11:09:08: Request: GET /api/menu/v1/getpath/sgroup/vmware

    Body: -

    2025-11-14 12:09:08: === GlobalExceptionFilter ===

    2025-11-14 12:09:08: Cannot read properties of null (reading 'storage_group_folder_id') TypeError: Cannot read properties of null (reading 'storage_group_folder_id')

      at MenuController.getPath (/home/xormon/xormon-ng/server-nest/src/service/menu/menu.controller.ts:499:94)

      at processTicksAndRejections (node:internal/process/task_queues:95:5)

    2025-11-14 12:09:08: Request: GET /api/menu/v1/getpath/sgroup/vmware

    Body: -

    2025-11-14 14:09:08: === GlobalExceptionFilter ===

    2025-11-14 14:09:08: Cannot read properties of null (reading 'storage_group_folder_id') TypeError: Cannot read properties of null (reading 'storage_group_folder_id')

      at MenuController.getPath (/home/xormon/xormon-ng/server-nest/src/service/menu/menu.controller.ts:499:94)

      at processTicksAndRejections (node:internal/process/task_queues:95:5)

    2025-11-14 14:09:08: Request: GET /api/menu/v1/getpath/sgroup/vmware

    Body: -

    2025-11-14 14:26:51: Shutdown signal: SIGINT

  • Hardware events not working in custom integrations after upgrade to xormon-ng-2.0.23.tar.gz

    • Disable Alert then enabled : its OK now,
    • Save and testing OK but not send event to endpoint (to email working)

    Alert performance working good with same integrations endpoint, same setting.

  • Hello,

    can you send us screenshot of your settings of custom integration?


    There are different tabs for JSON bodies for performance and HW alerts.

  • Performance Alert working good with same integrations endpoint, same setting.

    My settings of custom integration:

    Alert tab

    {

     "body": {

       "text": "🔥Monitor alert🔥LHL.\n{SUBSYSTEM} [{LEVEL}][IMD][admin].\n{TIME}.\n{ALERT_NAME}, {METRIC}, Limit: >= {LIMIT}.\n{ITEMS_WITH_VALUES}.\nSite [{PARENTS}]",

       "type": "text",

       "is_markdown_text": true

     },

     "bot_id": "1234",

     "collab_id": "4321",

     "receiver_id": null

    }

     HW event tab

    {

     "body": {

       "text": "🔥HW alert🔥LHL.\n[{STATUS}][IMD][admin].\n{TIME}.\n{DEVICE}.\n{REASON}.\n{HW_TYPE}, {CLASS}",

       "type": "text",

       "is_markdown_text": true

     },

     "bot_id": "1234",

     "collab_id": "4321",

     "receiver_id": null

    }

Sign In or Register to comment.