Skip to content

Invoke-IcingaCheckUNCPath - Add parameter to check as an individual user and wrong check state if share cant be acessed #332

@K0nne

Description

@K0nne

Hello,

I need to monitor some network shares. Those shares are only accessable for a specific subset of users.
It whould be helpful if the check could execute with individual user credentials.

Right now - even if the check cant read the target share - the check state is OK with zeroed plugin output. Whoudn't UNKNOWN be more appropriate in this case?

[OK] \\target\share\without\access
\_ [OK] Free Space: 0B
\_ [OK] Size: 0B
\_ [OK] Total Free: 0B

I tested this with the latest releases.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions