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

Incorrect result for no-folder , Invoke-IcingaCheckDirectory plugin #407

Open
ispmonsupporto opened this issue Jun 25, 2024 · 6 comments
Open
Assignees
Labels
bug Something isn't working needs-feedback We'll only proceed once we hear from you again

Comments

@ispmonsupporto
Copy link

Hi,
we found an anomaly for the Invoke-IcingaCheckDirectory plugin
The need is to monitor access to a folder / verify folder presence.
As per screen in Icinga the result is OK but it should be different because the indicated folder does not exist on the machine.

On the same machine, running the same command the result is "unknown" (and not critical)

no_folder

@ispmonsupporto
Copy link
Author

Here , there are two screen for output on command line and version plugin Icinga :

output
plugin_icinga

@ispmonsupporto
Copy link
Author

Hi,

the problem is already present also with updated version agent, framework agent and plugins

@LordHepipud LordHepipud self-assigned this Aug 16, 2024
@LordHepipud LordHepipud added bug Something isn't working Investigation The team is looking into the cause of the issue labels Aug 16, 2024
@LordHepipud LordHepipud added this to the v1.13.0 milestone Aug 16, 2024
@LordHepipud
Copy link
Collaborator

Thank you for the issue. Are you running JEA on the machine and and/or have the REST-Api Feature enabled?

@LordHepipud
Copy link
Collaborator

I tried not all possible combination with icinga for Windows by using JEA/No-JEA and API/No-API.

image

For me the plugin always reports - with the settings mentioned above - that the Path does not exist.
Could you please try to update to the latest v1.12.x version and check if the issue still persists?

@LordHepipud LordHepipud added needs-feedback We'll only proceed once we hear from you again and removed Investigation The team is looking into the cause of the issue labels Aug 16, 2024
@ispmonsupporto
Copy link
Author

Screenshot 2024-08-27 150159
Screenshot 2024-08-27 150333
Hi,

as in screenshoots, we have executed the command on a server where the current plugin version is 1.12.0 but the problem persists

thank you

@LordHepipud
Copy link
Collaborator

Just for clarification, what exactly is the issue here? The message on the screenshot is correct, as the path stats with `'.

Shouldn't it be

F:\iis_share_ccm1xc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-feedback We'll only proceed once we hear from you again
Projects
None yet
Development

No branches or pull requests

2 participants