Skip to content

disk-io: don't monitor user disks on windows #718

Closed
@SnejPro

Description

@SnejPro

This issue respects the following points:

Which variant of the Monitoring Plugins do you use?

  • .rpm/.deb package from repo.linuxfabrik.ch
  • Compiled for Linux (.tar/.zip from download.linuxfabrik.ch)
  • Compiled for Windows (from download.linuxfabrik.ch)
  • Source Code from GitHub

Bug description

I use disk-io-windows to monitor several Windows servers. Two of these servers are Windows Terminal Servers with user profile disks. Users therefore "take their data" with them when they log on to one of the terminal servers.

grafik

Unfortunately, disk-io-windows also logs these virtual disks and thus stores a lot of unnecessary performance data.

It would therefore be good if disk-io-windows did not monitor these disks or if this could at least be set.

Steps to reproduce - Plugin call

'C:\ProgramData\icinga2\usr\lib64\nagios\plugins\disk-io.exe' '--count' '5' '--critical' '90' '--ignore' 'sr0' '--ignore' 'loop0' '--ignore' 'loop1' '--ignore' 'loop2' '--ignore' 'loop3' '--ignore' 'loop4' '--ignore' 'loop5' '--ignore' 'loop6' '--ignore' 'loop7' '--ignore' 'loop8' '--ignore' 'loop9' '--ignore' 'zram0' '--warning' '80'

Steps to reproduce - Data


PhysicalDrive0: 1.1KiB/s read, 33.5KiB/s write (current)
Disk           ! RWmax/s ! R1/s   ! W1/s    ! R5/s   ! W5/s    ! RW5/s   

---------------+---------+--------+---------+--------+---------+---------

PhysicalDrive0 ! 12.5MiB ! 1.1KiB ! 33.5KiB ! 685.5B ! 29.4KiB ! 30.0KiB 

PhysicalDrive1 ! 10.0MiB ! 0.0B   ! 3.3KiB  ! 0.0B   ! 2.2KiB  ! 2.2KiB  

PhysicalDrive2 ! 10.0MiB ! 0.0B   ! 2.2KiB  ! 17.1B  ! 49.5KiB ! 49.5KiB 



Top3 processes that generated the most I/O traffic:

1. WmiPrvSE.exe: 20.4GiB/69.6KiB (r/w)

2. svchost.exe: 1.8GiB/219.6MiB (r/w)

3. mcshield.exe: 1.5GiB/29.7MiB (r/w)

Environment

Windows Server 2022

Plugin Version

2023051201

Python version

No response

List of Python modules

No response

Additional Information

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions