Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Invoke-IcingaCheckEventlog Unable to Monitor Multiple Event IDs

Đang mở
#423 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
powershell
Lĩnh vực
observability-sre

Hướng nghiên cứu

Bắt đầu tại entry point Invoke-IcingaCheckEventlog và tái hiện các lệnh của log Application bằng IncludeSource AdmPwd, IncludeEntryType Information và các event ID 11 và 15. So sánh việc lọc theo một ID với việc lọc theo nhiều ID, sau đó xác minh rằng kết quả chỉ bao gồm các ID 11 và 15 và loại trừ ID 14.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

I am attempting to monitor Event IDs 11 and 15 in a single command using Invoke-IcingaCheckEventlog for the Application event log (-LogName Application) with the parameters -IncludeSource AdmPwd and -IncludeEntryType Information. However, despite trying multiple combinations with the -IncludeEventId parameter, the desired results are not achieved.

Details:
I want to configure a single service template to capture only these two specific Event IDs (11 and 15). However, with the commands I’ve tried so far, I am experiencing inconsistent results:

  1. Using -IncludeEventId '15','11' or @('15','11') does not return any events, even though log entries for IDs 11 and 15 are present.
  2. Running the command without -IncludeEventId captures additional, unwanted events like ID 14, which I do not need.

Here are some of the commands tested and their outcomes:

Invoke-IcingaCheckEventlog -Warning 0 -Critical 0 -LogName Application -IncludeSource AdmPwd -IncludeEntryType Information -Verbosity 3 -DisableTimeCache -IncludeEventId '15'
Result: Event 15 is successfully captured.

Invoke-IcingaCheckEventlog -Warning 0 -Critical 0 -LogName Application -IncludeSource AdmPwd -IncludeEntryType Information -Verbosity 3 -DisableTimeCache -IncludeEventId '11'
Result: Event 11 is successfully captured.

Invoke-IcingaCheckEventlog -Warning 0 -Critical 0 -LogName Application -IncludeSource AdmPwd -IncludeEntryType Information -Verbosity 3 -DisableTimeCache -IncludeEventId '15','11'
Result: No events are returned, even though log entries for IDs 11 and 15 are present.

I would appreciate support in configuring the command so that it only includes Event IDs 11 and 15, without capturing additional events like ID 14. Please see the attached images for reference.

image

other commands tested

image

Ngôn ngữ chính
PowerShell
Star
55
Fork
31
Merge trung bình
4 ngày 5 giờ
Pull request đã merge (30 ngày)
6

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Icinga/icinga-powershell-plugins

Tất cả issue của Icinga/icinga-powershell-plugins

Issue tương tự

Thêm issue về Observability & SRE

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.