login vsi company logo login vsi company logo 250x40


JUser: :_load: Unable to load user with ID: 21742

Advanced Scheduling of Monitoring Jobs in Login PI

Advanced Scheduling of Monitoring Jobs in Login PI

Hi, Adam Carter here, the Login PI product manager. The other day I was reading some feedback from a customer about Login PI (I love getting product feedback. I read it all, and consider all of it for future releases). The customer had a list of feature requests, one of which was support in Login PI for maintenance windows when scheduled Login PI jobs are suspended.

“Login PI supports maintenance windows!” I thought to myself, “it totally does. The dev team even asked me to write a blog post about it.”

It’s actually really easy to build exclusion periods for a Login PI job, once you understand how the time settings work. I wrote this post to help out anyone else who wants more control over when Login PI jobs execute in their virtualized desktop environment. Hope it helps.


Why Advanced Scheduling?

Most IT shops now have some period of scheduled maintenance where systems are offline for patching, rebooting, config changes, etc. A standard Login PI job will still attempt to login the virtual user during that window though, which results in a lot of false alerts about not being able to login. We want to configure Login PI to not run tests during that period, eliminating those outage notifications.

For purposes of this post, let’s configure a 2-hour period every night where Login PI shouldn’t run. It’s our maintenance window when servers are rebooted, backed up, etc. Let’s build our window from 1:00 am to 3:00 am.

Jobs in Login PI

The Job configuration is the last step in configuring Login PI to monitor an install. In the previous configuration steps, you set the Connections for what type of environment you’re connecting to, the Workload to run. When you get to the Job configuration page, you’re just setting the date range and time range for the job to run:

advanced scheduling of monitoring jobs in login pi create update job

This is the minimum settings that need to be configured for a job. This job started at midnight on Jan 29, and with no expiration, this job will run constantly. With the interval set to 1, that means as soon as a Login PI job finishes, it will launch another one, so with this setting, the Login PI user is logging on constantly, 24 hours a day, forever.

Let’s take a closer look at the timings section:

advanced scheduling of monitoring jobs in login pi timings

Here’s the key thing to know about these settings:

The Times entries is a daily schedule. The job will start and stop every day at the times specified.

If you don’t specify an Expires on entry for the Times, then the job automatically expires at midnight. The job above will run from Midnight-Midnight, every day.

We want to change that to allow for our maintenance window, so we’re going to do that by configuring 2 jobs for this profile: One job that starts at midnight and expires at 1:00am, and then another job that runs from 3:00am-midnight. Let’s make the changes to this job first:

advanced scheduling of monitoring jobs in login pi first job

And now I’ll create a second job that runs from 3:00am to midnight:

advanced scheduling of monitoring jobs in login pi second job

(I could have left the Times “Expires on” setting blank, since it defaults to midnight)

After making these changes, my job list now looks like this:

advanced scheduling of monitoring jobs in login pi jobs overview

The first job will become active at Midnight every night, and run for just one hour (till 1:00am) before stopping.

The second job starts up at 3:00am, and runs till midnight.

Once midnight hits, the first job starts again, and the cycle continues every day.

That’s it – now my Login PI install will stop running from 1-3 every night, filling the event log with warnings during my maintenance window. I guess I should go schedule some maintenance now :-)

p.s. I’m serious about what I said at the beginning about product feedback. You can drop me a line any time, either by email (a.carter@loginvsi.com) or on Twitter (@adambomb00)


About the author

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

Popular Blogs


The VDI Performance Summit - Virtual Conference and Expo

Visit the VDI Performance Summit to gain knowledge and experience about performance and tuning VDI, improving End-User Experience and IT service. Join us at the ONLY virtual event 100% dedicated to VDI performance and tuning | May 2, 2019 This 1-day event offers key-notes presented by the best VDI performance experts in the world, technical and business oriented breakout sessions, the possibility to chat with experts directly to discuss your own situation, and a virtual exhibit hall featuring… Continue Reading

Scalability testing Parallels Remote Application Server with Login VSI

Recently I went to VMworld in Barcelona where Login VSI had a booth on the expo... While I can’t remember exactly how many conversations I had - there had been so many that I lost my voice on day one. What was new this year is that quite a few people asked if our software is compatible with the solutions from Parallels specifically their Remote Application Server (RAS) (Datasheet). Continue Reading
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. The default and industry standard workloads in Login VSI include launching and using Adobe Reader as part of the virtual user simulation. Because Login VSI doesn’t always know which version of Adobe Reader is installed, or where it’s installed, the workload relies on the file type association (FTA) for .pdf documents to be… 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 San Francisco, USA, Feb. 6, 2019: IGEL, a world leader in software-defined endpoint optimization and control solutions for the secure enterprise, today announced that it is partnering with Login VSI, provider of software solutions to test and actively monitor the performance and availability of virtual desktop environments, including VDI and… 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
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. As expected, everything was fast. 15 minutes later, the same user reported slowness again. How could I investigate this without bothering the users? Continue Reading
Cookie Settings