login vsi company logo login vsi company logo 250x40

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

Windows Virtual Desktop - Update - December 2019

Windows Virtual Desktop Enhanced in the Latest Update

A lot has already been written about WVD in the last months. And while I had my initial concerns on this service many people are suggesting that they are willing to move to a platform like WVD in the next two years. Continue Reading
Login VSI - Press Release - Login VSI Releases Login Enterprise 4.0

[Press Release] Login VSI Releases Login Enterprise 4.0

Login VSI Releases Login Enterprise 4.0 New Application Load Testing Functionality Maximizes End-User Experience Continue Reading
Login VSI and Ymor Form Partnership to Deliver Performance Improvement to Business-Critical Applications

[Press Release] Login VSI and Ymor Form Partnership to Deliver Performance Improvement to Business-Critical Applications

The partnership offers a total solution for enterprise organizations to monitor and test business-critical applications from end-to-end via VDI or in the Cloud. Ymor offers various monitoring solutions, used to test and monitor the performance of critical business chains from end-to-end. In VDI environments, Ymor can now offer the monitoring solutions of Login VSI. Continue Reading
[Press Release] IGEL Expands Alliance with Login VSI; Integrates Login Enterprise into IGEL OS 11.03

[Press Release] IGEL Expands Alliance with Login VSI

Integrating Login Enterprise into IGEL OS 11.03 The combined solution enables IT organizations to leverage their IGEL infrastructure to continuously test the performance and availability of virtual and cloud workspaces. Continue Reading
Login VSI - Validating Your Remote Infrastructure at Scale - Man at Desk

Enabling Your Remote Workforce

Given recent global events, a majority of my users may need to work remotely. Many of our customers have been asking us if we can help them test the user-experience for their remote workforce, as well as the infrastructure that delivers it. We have seen requests range from the quality of the remote user-experience to the ability of their VPN to handle the throughput of a large volume of concurrent connections. Continue Reading
Login VSI Releases Login Enterprise 4.1

[Press Release] Login VSI Releases Login Enterprise 4.1

Login VSI Releases Login Enterprise 4.1 Comprehensive Testing Platform Ensures Business Continuity Continue Reading