-
Notifications
You must be signed in to change notification settings - Fork 95
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
Windows Server HTTP error: '500 INTERNAL SERVER ERROR' running python plugins #1179
Comments
What is your plugin config settings in your ncpa.cfg file? |
I'm using the command I've changed recently the defaults extension for .py and now the scripts works but in nagios i've got a problem with the "Status information" as you can see in the attachments
|
Hello @FrancescodeRosa-Reg, do you have python 2 installed on that machine? Try running I recommend backing up your configs/plugins and trying to reinstall with the latest version of NCPA. |
Hi,
I’ve resolved the issue by declaring “py” in the custom commands.
Thanks for the help.
Regards.
Il giorno mar 1 ott 2024 alle 18:02 ne-bbahn ***@***.***> ha
scritto:
Hello @FrancescodeRosa-Reg <https://github.com/FrancescodeRosa-Reg>, do
you have python 2 installed on that machine? Try running python --version
(on your NCPA machine) and see if it links to Python 2 or 3.
You may have a python build issue. Are you building NCPA yourself? There
was a period where cx_Freeze had updated, but I hadn't yet fixed NCPA,
which was causing the init_fs_encoding error.
I recommend backing up your configs/plugins and trying to reinstall with
the latest version of NCPA.
—
Reply to this email directly, view it on GitHub
<#1179 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BCU7IQZLROF4255POZWJQ2LZZLBTBAVCNFSM6AAAAABKAKGBG2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBWGQYDQMJZGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
Francesco de Rosa
IT Specialist
M. +39 3457094817
E. ***@***.***
Regesta S.p.A.
T. +39 0302426053
Via A. Panigada, 15 – 25126 Brescia (Italy)
regestaitalia.eu
[disclaimer]
|
Issue reported by Forums user at https://support.nagios.com/forum/viewtopic.php?p=357509#p357509
Error running custom python plugins.
The "Status information" error is: UNKNOWN: An error occured connecting to API. (HTTP error: '500 INTERNAL SERVER ERROR')
ncpa_listener.log
The text was updated successfully, but these errors were encountered: