Skip to content

Endpoint user/list returning unformatted result and wrong perfdata after upgrade from NCPA 3.1.1 to 3.1.3 #1249

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

Open
kevinfilipe opened this issue Feb 6, 2025 · 1 comment
Labels

Comments

@kevinfilipe
Copy link

kevinfilipe commented Feb 6, 2025

Hi...

We noticed this behavior after upgrading three Linux (Ubuntu Server 24.04) hosts. To replicate, just go to the NCPA GUI, click on API menu and change API Endpoint to user/count. Select Run as a Nagios check, change count endpoint to list and click Reload.

Old behavior:

{
    "returncode": 0,
    "stdout": "OK: List was ['zaul', 'administrator']"
}

New behavior:

{
    "returncode": 0,
    "stdout": "OK: List was zaul users, administrator users | 'list_0'=zaul;;; 'list_1'=administrator;;;"
}

Is there something wrong or am I missing it?
Thanks.

@ne-bbahn ne-bbahn added Bug 3.X.X and removed Bug labels Feb 6, 2025
@ne-bbahn
Copy link
Contributor

ne-bbahn commented Feb 6, 2025

This seems to be related to a fix with regards to values that seems to be causing perfdata to output here. I'm investigating what exactly caused this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants