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

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

Open
5 of 8 tasks
SnejPro opened this issue Sep 24, 2023 · 1 comment
Open
5 of 8 tasks

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

SnejPro opened this issue Sep 24, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@SnejPro
Copy link
Contributor

SnejPro commented Sep 24, 2023

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

@SnejPro SnejPro added the bug Something isn't working label Sep 24, 2023
@SnejPro
Copy link
Contributor Author

SnejPro commented Sep 24, 2023

I think changes need to be made to psutil first: giampaolo/psutil#2306

@markuslf markuslf self-assigned this Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants