plugin_thold icon indicating copy to clipboard operation
plugin_thold copied to clipboard

thold not triggering

Open ManofSteal1 opened this issue 1 year ago • 16 comments

Describe the bug Undefined array key error this is related to the threshold plugin, I have attached a screenshot of the error

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior Threshold plugin not displaying the current value of the system hence the threshold not triggering

Screenshots If applicable, add screenshots to help explain your problem.

Plugin (please complete the following information): Threshold plugin version 1.8.1

  • Version: [e.g. 1.2]
  • Source: github
  • Identifier: [e.g. apt/yum package name or github commit ref]

Desktop (please complete the following information):

  • OS: windows server 2022
  • Browser: chrome
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context Add any other context about the problem here.

ManofSteal1 avatar Sep 03 '24 15:09 ManofSteal1

Screenshot is missing

xmacan avatar Sep 03 '24 18:09 xmacan

Hi,

Please find attached

[image: thold.PNG]

Thanks & Kind regards,

[image: Drivalia franchise – Have you got what it takes? – Car Dealer Magazine]

Oluwapelumi Ayanlola

Drivalia

Desktop and Server Support Administrator

15/16 Holly Avenue, Stillorgan Industrial Park, Dublin A94 XA72, Ireland

T: +353 (0)1 213 9768

Email: @.***

This communication is for informational purposes only. It may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. Drivalia is a trading name for Merrion Fleet Management Limited, Registered in Ireland - Number 317799. Registered Office - 15/16 Holly Avenue, Stillorgan Industrial Park, Stillorgan, Dublin, A94 XA72, Ireland. Merrion Fleet Management Limited trading as Drivalia is regulated by the Central Bank of Ireland

On Tue, Sep 3, 2024 at 7:10 PM Petr Macek @.***> wrote:

Screenshot is missing

— Reply to this email directly, view it on GitHub https://github.com/Cacti/plugin_thold/issues/693#issuecomment-2327132146, or unsubscribe https://github.com/notifications/unsubscribe-auth/BK7WJKR3BULNIWVCLQBPO33ZUX3RDAVCNFSM6AAAAABNSOJP4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRXGEZTEMJUGY . You are receiving this because you authored the thread.Message ID: @.***>

ManofSteal1 avatar Sep 04 '24 07:09 ManofSteal1

still without screenshot. You can post here full error "Undefined array key" too

xmacan avatar Sep 04 '24 08:09 xmacan

Hi, Please see below

2024-09-04 00:42:46 - CMDPHP PHP ERROR WARNING Backtrace: (C:\inetpub\wwwroot\cacti\plugins\thold\thold.php[144]:thold_edit(), C:\inetpub\wwwroot\cacti\plugins\thold\thold.php[2269]:draw_edit_form(), C:\inetpub\wwwroot\cacti\lib\html_form.php[55]:CactiErrorHandler()) 2024-09-04 00:42:46 - ERROR PHP WARNING: Undefined array key "value" in file: C:\inetpub\wwwroot\cacti\lib\html_form.php on line: 55

Thanks & Kind regards,

[image: Drivalia franchise – Have you got what it takes? – Car Dealer Magazine]

Oluwapelumi Ayanlola

Drivalia

Desktop and Server Support Administrator

15/16 Holly Avenue, Stillorgan Industrial Park, Dublin A94 XA72, Ireland

T: +353 (0)1 213 9768

Email: @.***

This communication is for informational purposes only. It may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. Drivalia is a trading name for Merrion Fleet Management Limited, Registered in Ireland - Number 317799. Registered Office - 15/16 Holly Avenue, Stillorgan Industrial Park, Stillorgan, Dublin, A94 XA72, Ireland. Merrion Fleet Management Limited trading as Drivalia is regulated by the Central Bank of Ireland

On Wed, Sep 4, 2024 at 9:31 AM Petr Macek @.***> wrote:

still without screenshot. You can post here full error "Undefined array key" too

— Reply to this email directly, view it on GitHub https://github.com/Cacti/plugin_thold/issues/693#issuecomment-2328243493, or unsubscribe https://github.com/notifications/unsubscribe-auth/BK7WJKXYG4XA7564TQRHM6TZU3APZAVCNFSM6AAAAABNSOJP4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRYGI2DGNBZGM . You are receiving this because you authored the thread.Message ID: @.***>

ManofSteal1 avatar Sep 04 '24 08:09 ManofSteal1

which cacti version?

xmacan avatar Sep 04 '24 08:09 xmacan

1.2.24

Thanks & Kind regards,

[image: Drivalia franchise – Have you got what it takes? – Car Dealer Magazine]

Oluwapelumi Ayanlola

Drivalia

Desktop and Server Support Administrator

15/16 Holly Avenue, Stillorgan Industrial Park, Dublin A94 XA72, Ireland

T: +353 (0)1 213 9768

Email: @.***

This communication is for informational purposes only. It may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. Drivalia is a trading name for Merrion Fleet Management Limited, Registered in Ireland - Number 317799. Registered Office - 15/16 Holly Avenue, Stillorgan Industrial Park, Stillorgan, Dublin, A94 XA72, Ireland. Merrion Fleet Management Limited trading as Drivalia is regulated by the Central Bank of Ireland

On Wed, Sep 4, 2024 at 9:43 AM Petr Macek @.***> wrote:

which cacti version?

— Reply to this email directly, view it on GitHub https://github.com/Cacti/plugin_thold/issues/693#issuecomment-2328267926, or unsubscribe https://github.com/notifications/unsubscribe-auth/BK7WJKWPNCBFFP7LC735OFLZU3B33AVCNFSM6AAAAABNSOJP4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRYGI3DOOJSGY . You are receiving this because you authored the thread.Message ID: @.***>

ManofSteal1 avatar Sep 04 '24 08:09 ManofSteal1

thold 1.8.x needs cacti 1.2.25. You have to upgrade cacti. I recommend update to 1.2.27 release or actual 1.2.x branch from cacti github

xmacan avatar Sep 04 '24 09:09 xmacan

Hi,

So I updated it, and it's still not logging the current value please see below, and the error is still present

Thanks & Kind regards,

[image: Drivalia franchise – Have you got what it takes? – Car Dealer Magazine]

Oluwapelumi Ayanlola

Drivalia

Desktop and Server Support Administrator

15/16 Holly Avenue, Stillorgan Industrial Park, Dublin A94 XA72, Ireland

T: +353 (0)1 213 9768

Email: @.***

This communication is for informational purposes only. It may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. Drivalia is a trading name for Merrion Fleet Management Limited, Registered in Ireland - Number 317799. Registered Office - 15/16 Holly Avenue, Stillorgan Industrial Park, Stillorgan, Dublin, A94 XA72, Ireland. Merrion Fleet Management Limited trading as Drivalia is regulated by the Central Bank of Ireland

On Wed, Sep 4, 2024 at 10:25 AM Petr Macek @.***> wrote:

thold 1.8.x needs cacti 1.2.25. You have to upgrade cacti. I recommend update to 1.2.27 release or actual 1.2.x branch from cacti github

— Reply to this email directly, view it on GitHub https://github.com/Cacti/plugin_thold/issues/693#issuecomment-2328359121, or unsubscribe https://github.com/notifications/unsubscribe-auth/BK7WJKQ5RYMVU6BEUYMQ6N3ZU3GYLAVCNFSM6AAAAABNSOJP4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRYGM2TSMJSGE . You are receiving this because you authored the thread.Message ID: @.***>

ManofSteal1 avatar Sep 04 '24 10:09 ManofSteal1

cannot see screenshot

xmacan avatar Sep 04 '24 10:09 xmacan

please see below

[image: image.png]

Thanks & Kind regards,

[image: Drivalia franchise – Have you got what it takes? – Car Dealer Magazine]

Oluwapelumi Ayanlola

Drivalia

Desktop and Server Support Administrator

15/16 Holly Avenue, Stillorgan Industrial Park, Dublin A94 XA72, Ireland

T: +353 (0)1 213 9768

Email: @.***

This communication is for informational purposes only. It may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. Drivalia is a trading name for Merrion Fleet Management Limited, Registered in Ireland - Number 317799. Registered Office - 15/16 Holly Avenue, Stillorgan Industrial Park, Stillorgan, Dublin, A94 XA72, Ireland. Merrion Fleet Management Limited trading as Drivalia is regulated by the Central Bank of Ireland

On Wed, Sep 4, 2024 at 11:54 AM Petr Macek @.***> wrote:

cannot see screenshot

— Reply to this email directly, view it on GitHub https://github.com/Cacti/plugin_thold/issues/693#issuecomment-2328571507, or unsubscribe https://github.com/notifications/unsubscribe-auth/BK7WJKTLVA4TLUQIYGV7XFDZU3RHDAVCNFSM6AAAAABNSOJP4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRYGU3TCNJQG4 . You are receiving this because you authored the thread.Message ID: @.***>

ManofSteal1 avatar Sep 04 '24 11:09 ManofSteal1

you are answering via email. Images aren't visible

xmacan avatar Sep 04 '24 11:09 xmacan

please see attached

Thanks & Kind regards,

[image: Drivalia franchise – Have you got what it takes? – Car Dealer Magazine]

Oluwapelumi Ayanlola

Drivalia

Desktop and Server Support Administrator

15/16 Holly Avenue, Stillorgan Industrial Park, Dublin A94 XA72, Ireland

T: +353 (0)1 213 9768

Email: @.***

This communication is for informational purposes only. It may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. Drivalia is a trading name for Merrion Fleet Management Limited, Registered in Ireland - Number 317799. Registered Office - 15/16 Holly Avenue, Stillorgan Industrial Park, Stillorgan, Dublin, A94 XA72, Ireland. Merrion Fleet Management Limited trading as Drivalia is regulated by the Central Bank of Ireland

On Wed, Sep 4, 2024 at 12:23 PM Petr Macek @.***> wrote:

you are answering via email. Images aren't visible

— Reply to this email directly, view it on GitHub https://github.com/Cacti/plugin_thold/issues/693#issuecomment-2328657028, or unsubscribe https://github.com/notifications/unsubscribe-auth/BK7WJKVWWCMQHR52DCGWRGDZU3UR5AVCNFSM6AAAAABNSOJP4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRYGY2TOMBSHA . You are receiving this because you authored the thread.Message ID: @.***>

ManofSteal1 avatar Sep 04 '24 11:09 ManofSteal1

please see below

2024-09-04 03:28:32 - CMDPHP PHP ERROR WARNING Backtrace: (C:\inetpub\wwwroot\cacti\plugins\thold\thold.php[144]:thold_edit(), C:\inetpub\wwwroot\cacti\plugins\thold\thold.php[2269]:draw_edit_form(), C:\inetpub\wwwroot\cacti\lib\html_form.php[57]:CactiErrorHandler()) 2024-09-04 03:28:32 - ERROR PHP WARNING: Undefined array key "default" in file: C:\inetpub\wwwroot\cacti\lib\html_form.php on line: 57 2024-09-04 03:28:32 - CMDPHP form_edit Backtrace: (C:\inetpub\wwwroot\cacti\plugins\thold\thold.php[144]:thold_edit(), C:\inetpub\wwwroot\cacti\plugins\thold\thold.php[2269]:draw_edit_form(), C:\inetpub\wwwroot\cacti\lib\html_form.php[56]:cacti_debug_backtrace()) 2024-09-04 03:28:32 - CMDPHP WARNING: Cacti Form field 'syslog_settings' does not include a 'value' Column. Using default 2024-09-04 03:25:18 - SYSTEM THOLD NOTIFY STATS: Time:0.01 Notifications:0 2024-09-04 03:25:18 - SYSTEM THOLD POLLER STATS: Time:0.07 TotalDevices:22 DownDevices:3 NewDownDevices:0 Threads:2 Thresholds:91 2024-09-04 03:25:18 - THOLD: Launching Thold notification process. 2024-09-04 03:25:18 - THOLD: Pruning stale dead host notifications. 2024-09-04 03:25:18 - THOLD: Not upgrading Thold database.

Thanks & Kind regards,

[image: Drivalia franchise – Have you got what it takes? – Car Dealer Magazine]

Oluwapelumi Ayanlola

Drivalia

Desktop and Server Support Administrator

15/16 Holly Avenue, Stillorgan Industrial Park, Dublin A94 XA72, Ireland

T: +353 (0)1 213 9768

Email: @.***

This communication is for informational purposes only. It may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. Drivalia is a trading name for Merrion Fleet Management Limited, Registered in Ireland - Number 317799. Registered Office - 15/16 Holly Avenue, Stillorgan Industrial Park, Stillorgan, Dublin, A94 XA72, Ireland. Merrion Fleet Management Limited trading as Drivalia is regulated by the Central Bank of Ireland

On Wed, Sep 4, 2024 at 12:23 PM Petr Macek @.***> wrote:

you are answering via email. Images aren't visible

— Reply to this email directly, view it on GitHub https://github.com/Cacti/plugin_thold/issues/693#issuecomment-2328657028, or unsubscribe https://github.com/notifications/unsubscribe-auth/BK7WJKVWWCMQHR52DCGWRGDZU3UR5AVCNFSM6AAAAABNSOJP4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRYGY2TOMBSHA . You are receiving this because you authored the thread.Message ID: @.***>

ManofSteal1 avatar Sep 04 '24 11:09 ManofSteal1

I think the problem is this line below CMDPHP WARNING: Cacti Form field 'syslog_settings' does not include a 'value' Column. Using default 2024-09-04 06:37:39 - ERROR PHP WARNING: Undefined array key "default" in file: C:\inetpub\wwwroot\cacti\lib\html_form.php on line: 57

Thanks & Kind regards,

[image: Drivalia franchise – Have you got what it takes? – Car Dealer Magazine]

Oluwapelumi Ayanlola

Drivalia

Desktop and Server Support Administrator

15/16 Holly Avenue, Stillorgan Industrial Park, Dublin A94 XA72, Ireland

T: +353 (0)1 213 9768

Email: @.***

This communication is for informational purposes only. It may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. Drivalia is a trading name for Merrion Fleet Management Limited, Registered in Ireland - Number 317799. Registered Office - 15/16 Holly Avenue, Stillorgan Industrial Park, Stillorgan, Dublin, A94 XA72, Ireland. Merrion Fleet Management Limited trading as Drivalia is regulated by the Central Bank of Ireland

On Wed, Sep 4, 2024 at 12:38 PM Oluwapelumi Ayanlola < @.***> wrote:

please see below

2024-09-04 03:28:32 - CMDPHP PHP ERROR WARNING Backtrace: (C:\inetpub\wwwroot\cacti\plugins\thold\thold.php[144]:thold_edit(), C:\inetpub\wwwroot\cacti\plugins\thold\thold.php[2269]:draw_edit_form(), C:\inetpub\wwwroot\cacti\lib\html_form.php[57]:CactiErrorHandler()) 2024-09-04 03:28:32 - ERROR PHP WARNING: Undefined array key "default" in file: C:\inetpub\wwwroot\cacti\lib\html_form.php on line: 57 2024-09-04 03:28:32 - CMDPHP form_edit Backtrace: (C:\inetpub\wwwroot\cacti\plugins\thold\thold.php[144]:thold_edit(), C:\inetpub\wwwroot\cacti\plugins\thold\thold.php[2269]:draw_edit_form(), C:\inetpub\wwwroot\cacti\lib\html_form.php[56]:cacti_debug_backtrace()) 2024-09-04 03:28:32 - CMDPHP WARNING: Cacti Form field 'syslog_settings' does not include a 'value' Column. Using default 2024-09-04 03:25:18 - SYSTEM THOLD NOTIFY STATS: Time:0.01 Notifications:0 2024-09-04 03:25:18 - SYSTEM THOLD POLLER STATS: Time:0.07 TotalDevices:22 DownDevices:3 NewDownDevices:0 Threads:2 Thresholds:91 2024-09-04 03:25:18 - THOLD: Launching Thold notification process. 2024-09-04 03:25:18 - THOLD: Pruning stale dead host notifications. 2024-09-04 03:25:18 - THOLD: Not upgrading Thold database.

Thanks & Kind regards,

[image: Drivalia franchise – Have you got what it takes? – Car Dealer Magazine]

Oluwapelumi Ayanlola

Drivalia

Desktop and Server Support Administrator

15/16 Holly Avenue, Stillorgan Industrial Park, Dublin A94 XA72, Ireland

T: +353 (0)1 213 9768

Email: @.***

This communication is for informational purposes only. It may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. Drivalia is a trading name for Merrion Fleet Management Limited, Registered in Ireland - Number 317799. Registered Office - 15/16 Holly Avenue, Stillorgan Industrial Park, Stillorgan, Dublin, A94 XA72, Ireland. Merrion Fleet Management Limited trading as Drivalia is regulated by the Central Bank of Ireland

On Wed, Sep 4, 2024 at 12:23 PM Petr Macek @.***> wrote:

you are answering via email. Images aren't visible

— Reply to this email directly, view it on GitHub https://github.com/Cacti/plugin_thold/issues/693#issuecomment-2328657028, or unsubscribe https://github.com/notifications/unsubscribe-auth/BK7WJKVWWCMQHR52DCGWRGDZU3UR5AVCNFSM6AAAAABNSOJP4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRYGY2TOMBSHA . You are receiving this because you authored the thread.Message ID: @.***>

ManofSteal1 avatar Sep 04 '24 13:09 ManofSteal1

It seems that you didn't upgrade cacti. This think is resolved in 1.2.27

xmacan avatar Sep 06 '24 13:09 xmacan

Hi

disabling thold daemon solved this

Thanks & Kind regards,

[image: Drivalia franchise – Have you got what it takes? – Car Dealer Magazine]

Oluwapelumi Ayanlola

Drivalia

Desktop and Server Support Administrator

15/16 Holly Avenue, Stillorgan Industrial Park, Dublin A94 XA72, Ireland

T: +353 (0)1 213 9768

Email: @.***

This communication is for informational purposes only. It may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. Drivalia is a trading name for Merrion Fleet Management Limited, Registered in Ireland - Number 317799. Registered Office - 15/16 Holly Avenue, Stillorgan Industrial Park, Stillorgan, Dublin, A94 XA72, Ireland. Merrion Fleet Management Limited trading as Drivalia is regulated by the Central Bank of Ireland

On Fri, Sep 6, 2024 at 2:49 PM Petr Macek @.***> wrote:

It seems that you didn't upgrade cacti. This think is resolved in 1.2.27

— Reply to this email directly, view it on GitHub https://github.com/Cacti/plugin_thold/issues/693#issuecomment-2334102212, or unsubscribe https://github.com/notifications/unsubscribe-auth/BK7WJKQARCMOIO74S5SZHW3ZVGXHXAVCNFSM6AAAAABNSOJP4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZUGEYDEMRRGI . You are receiving this because you authored the thread.Message ID: @.***>

ManofSteal1 avatar Sep 06 '24 14:09 ManofSteal1