Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

host_alert_store.lua error #8164

Closed
rreiner opened this issue Jan 10, 2024 · 4 comments
Closed

host_alert_store.lua error #8164

rreiner opened this issue Jan 10, 2024 · 4 comments
Assignees
Labels
Bug Ready to Test a feedback is needed on a proposal or implementation

Comments

@rreiner
Copy link

rreiner commented Jan 10, 2024

Environment:

  • OS name: [e.g. Ubuntu]
    Raspbian

  • OS version: [e.g. 18.04]
    10 (Buster)

  • Architecture: [e.g. amd64]
    armv7l (running on Pi4B but with 32 bit environment)

  • ntopng version/revision: [e.g. 5.1.211223]
    v.6.1.240108

What happened:
Seeing these log entries continually:

10/Jan/2024 15:37:26 [LuaEngine.cpp:661] WARNING ...png/scripts/lua/modules/alert_store/host_alert_store.lua:70: bad argument #7 to 'format' (number expected, got nil)
10/Jan/2024 15:37:26 [notifications.lua:25] [host_alert_store.lua:67] alert_category is not set for host alert_id %u
10/Jan/2024 15:10:50 [LuaEngine.cpp:661] WARNING ...png/scripts/lua/modules/alert_store/host_alert_store.lua:70: bad argument #7 to 'format' (number expected, got nil)
10/Jan/2024 15:10:50 [notifications.lua:25] [host_alert_store.lua:67] alert_category is not set for host alert_id %u
10/Jan/2024 14:37:39 [LuaEngine.cpp:661] WARNING ...png/scripts/lua/modules/alert_store/host_alert_store.lua:70: bad argument #7 to 'format' (number expected, got nil)
10/Jan/2024 14:37:39 [notifications.lua:25] [host_alert_store.lua:67] alert_category is not set for host alert_id %u
10/Jan/2024 13:45:59 [LuaEngine.cpp:661] WARNING ...png/scripts/lua/modules/alert_store/host_alert_store.lua:70: bad argument #7 to 'format' (number expected, got nil)

Also receiving similar messages as alerts:

NtopngNotifications
APP  [1:46 PM](https://reiner.slack.com/archives/C06D9QV7342/p1704912365126639)
[10/01/2024 13:46:01]  [System] [System Error] [system]  System error detected in ntopng, please report it. Error message: ...png/scripts/lua/modules/alert_store/host_alert_store.lua:70: bad argument #7 to 'format' (number expected, got nil)
NtopngNotifications
APP  [2:38 PM](https://reiner.slack.com/archives/C06D9QV7342/p1704915482631209)
[10/01/2024 14:38:01]  [System] [System Error] [system]  System error detected in ntopng, please report it. Error message: ...png/scripts/lua/modules/alert_store/host_alert_store.lua:70: bad argument #7 to 'format' (number expected, got nil)
NtopngNotifications
APP  [3:11 PM](https://reiner.slack.com/archives/C06D9QV7342/p1704917463748019)
[10/01/2024 15:11:02]  [System] [System Error] [system]  System error detected in ntopng, please report it. Error message: ...png/scripts/lua/modules/alert_store/host_alert_store.lua:70: bad argument #7 to 'format' (number expected, got nil)
NtopngNotifications
APP  [3:38 PM](https://reiner.slack.com/archives/C06D9QV7342/p1704919085989159)
[10/01/2024 15:38:01]  [System] [System Error] [system]  System error detected in ntopng, please report it. Error message: ...png/scripts/lua/modules/alert_store/host_alert_store.lua:70: bad argument #7 to 'format' (number expected, got nil)

How did you reproduce it?
Running the system normally, seeing these all the time

@cardigliano
Copy link
Member

I added some info to the trace, a new update will be available later today. Please provide the new trace after the update. Thank you

@paulgiordano
Copy link

We are also experiencing the issue. what is the update you'd like pulled to get more info?
OS Ubuntu 22.04.3
ntopng v.6.1.240109
architecture x86_64

@NicoMaio
Copy link
Contributor

NicoMaio commented Feb 7, 2024

Fixed a similar issue on #8204. Please update and test again.

@NicoMaio NicoMaio added the Ready to Test a feedback is needed on a proposal or implementation label Feb 7, 2024
@NicoMaio NicoMaio self-assigned this Feb 7, 2024
@MatteoBiscosi
Copy link
Member

Verified as fixed, please reopen if needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Ready to Test a feedback is needed on a proposal or implementation
Projects
None yet
Development

No branches or pull requests

5 participants