login vsi company logo login vsi company logo 250x40


Get the best possible VDI performance, density and availability with Login VSI
Our Solutions

Monitoring your network share with Login PI

Monitoring your network share with Login PI

A network share is a critical component in the IT infrastructure of any organization to store and open files. But what would happen if your colleagues can’t reach their corporate data for some time? What if it takes minutes to open or write a file to the network share? This would probably mean a serious loss of time. Many monitoring solutions give you the ability to monitor the I/O load on your SAN or fileserver. These tools often also have the ability to monitor the network. But what if the drive mapping fails? What if your fileserver is saturated? Wouldn’t it be great if there was a way to monitor the entire chain from the perspective of an end-user? Today is your lucky day because in this blogpost I will explain how you can monitor your network share with Login PI.

Customizing the workload

By default the Login PI workloads are stored in the following location:

C:\Program Files\Login PI\shared\workloads

Open the workload you want to adjust or create a new one. We will need to add read and write actions to this workload. In this case I have chosen to open a txt file (read action), add text to the file, save the file (write action), remove the added text, save the file again and eventually close the file.

In this example my J drive represents the corporate network drive. This contains a folder management with the file DailyReport.txt

monitoring your network share with login pi dailyreport txt

By adding the following code to the PI workload we can monitor the J drive

######## TEST YOUR NETWORK SHARE ########
# Open the text file
App_Start("J Drive", "J:\Management", "DailyReport.txt", "Title", "DailyReport")
# Type J Drive test into the text file
VSI_Type("J Drive", "J drive test")
# Save the text file
VSI_Save("J Drive", "{CTRLDOWN}s{CTRLUP}", "J:\Management\DailyReport.txt")
# Revert the typing in the text file
VSI_Type("J Drive", "{CTRLDOWN}z{CTRLUP}")
# Save the text file
VSI_Save("J Drive", "{CTRLDOWN}s{CTRLUP}", "J:\Management\DailyReport.txt")
# Close the text file
App_Close("J Drive", "Title", "DailyReport")

Don’t forget to save your workload and make sure that you choose the right workload in Login PI:

monitoring your network share with login pi workload settings

Get alerted

By default you will be alerted by the auto threshold. But if you want to set the threshold even tighter you can press the threshold button. In here you can specify a specific amount of time an action gets before you get alerted.

monitoring your network share with login pi thresholds

With this in mind you will get alerted when:

  • The drive map isn’t available
  • It takes too long to open the txt file which can be caused by:
    • The network
    • High latency on read actions
    • High latency write actions
    • Antivirus updates
    • A saturated fileserver
  • NTFS settings that are preventing the file or folder to be opened
  • Share permissions that are preventing the file or folder to be opened
  • And many other possible causes

Login PI will test your network drive the way your end-users are experiencing it. This will help you to take action before your end-users start complaining about slow read-write actions. Over time Login PI will even give you historical data on the performance of your network drive so you can locate performance trends.

About the author

Jasper Geelen (@jaspergeelen) has a background in ICT and joined Login VSI as a pre-sales engineer in 2015. He loves drinking a lot of coffee (some might call him an addict). In his spare time, Jasper enjoys a beer and he is part of a football / soccer team. He also coaches a team of younger football players.

Tags: How-to, Login PI, Monitoring, Workloads, Best Practices, Support

Popular Blogs

Login VSI Blog Article - Microsoft Windows 10 Default FTA Associations - Teaser Image

Windows 10 Default File Type Associations and Login VSI

When Login VSI 4.1 was released, the majority of desktops were running Windows 7 and life was easy. We’d set the default filetype for an application and it would simply work. Continue Reading
Login VSI - Press Release - IGEL - Login VSI Partner to Optimize End User Computing Experience Image

[Press Release] IGEL Partners with Login VSI to Optimize the End User Computing Experience

Login PI enables organizations to better protect the performance and availability of their IGEL OS-powered virtual desktop environments Continue Reading
Login VSI - Blog - Login PI Blog Teaser Image - Windows Virtual Desktop: How To Monitor User Experience With Login PI

Windows Virtual Desktop – How to Monitor User Experience?

Microsoft has just announced the public preview of their new Windows Virtual Desktop (WVD) offering at Microsoft Ignite on Tour in Amsterdam today. For those of you who’ve not followed the rumors or the private beta, here’s the outline... Continue Reading
Login VSI Blog - Teaser Image - A Practical Guide to VDI Change Management - Part 1

A Practical Guide to VDI Change Management

Part 1: IT Change Management in general The first in an 8-part series, this practical guide to VDI Change Management will guide you through the transformation of the IT department from a back-end function into a core competency for every modern organization. Continue Reading
Investigating Online Application Performance with Login PI

Investigating Online Application Performance with Login PI

As many companies do, we use a CRM system. Recently, I have been getting complaints about our cloud CRM system, Microsoft Dynamics, being slow. I tried to investigate this by shadowing one of our users to see what was wrong. Continue Reading
Login VSI -Blog Post - IGEL Partner with Login VSI

Login PI & IGEL: Delivering Deep Application Test & Availability Monitoring

Together Login VSI and IGEL deliver deep application test and availability monitoring for the digital workspace This week we announced a partnership with IGEL that enables Login PI integration in a radical new way. Continue Reading
Cookie Settings