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

Error due to missing IIS dependency, but the plugin returns OK #6

Open
Tontonitch opened this issue Apr 10, 2018 · 2 comments
Open

Comments

@Tontonitch
Copy link
Contributor

Hello,

I discovered that the plugin was not working correctly on some servers because the "IIS Management Scripts and Tools" feature was not installed.
But the plugin returned an OK state and the plugin output included errors related to an invalid namespace.

image

It may be useful to return an UNKNOWN status in case this issue occurs, so administrators can react. Indeed, in case we deploy many servers, it is possible to miss the issue.

BR,
Yannick

@willemdh
Copy link
Collaborator

It is of course in my documentation that you need to install the IIS Management Scripts and Tools feature

Docs

But you are right that it should generate an unknown state when the feature is not installed. Not sure when and if I have time for this though.. Feel free to submit a pr.

@Tontonitch
Copy link
Contributor Author

Ok, thanks.
I could look at that if I find time, but powershell is new for me :-\

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

No branches or pull requests

2 participants