Cacti / plugin_thold

Thold Plugin for Cacti
GNU General Public License v2.0
68 stars 63 forks source link

thold not triggering #693

Open ManofSteal1 opened 2 months ago

ManofSteal1 commented 2 months ago

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

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

xmacan commented 2 months ago

Screenshot is missing

ManofSteal1 commented 2 months ago

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: @.***>

xmacan commented 2 months ago

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

ManofSteal1 commented 2 months ago

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: @.***>

xmacan commented 2 months ago

which cacti version?

ManofSteal1 commented 2 months ago

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: @.***>

xmacan commented 2 months ago

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

ManofSteal1 commented 2 months ago

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: @.***>

xmacan commented 2 months ago

cannot see screenshot

ManofSteal1 commented 2 months ago

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: @.***>

xmacan commented 2 months ago

you are answering via email. Images aren't visible

ManofSteal1 commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

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: @.***>

xmacan commented 2 months ago

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

ManofSteal1 commented 2 months ago

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: @.***>