Check if a Specific User is logged in.

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
User avatar
JohnFLi
Posts: 559
Joined: Mon Jun 17, 2013 3:11 pm

Check if a Specific User is logged in.

Post by JohnFLi »

Is it possible to have Nagios to check to see if a certain user is logged onto a Windows machine?

The purpose is, is that we have some applications that cannot run as a service so a user account needs to be logged onto the machine and run the application.
Everybody is somebody else’s weirdo
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Check if a Specific User is logged in.

Post by Box293 »

There seems to be a detailed tutorial of this here:
http://www.ppartyka.com/2013/01/tutoria ... ndows.html
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
JohnFLi
Posts: 559
Joined: Mon Jun 17, 2013 3:11 pm

Re: Check if a Specific User is logged in.

Post by JohnFLi »

Great, thank you..
I will check that out
Everybody is somebody else’s weirdo
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Check if a Specific User is logged in.

Post by slansing »

Awesome, let us know how this progresses and if you need assistance!
User avatar
JohnFLi
Posts: 559
Joined: Mon Jun 17, 2013 3:11 pm

Re: Check if a Specific User is logged in.

Post by JohnFLi »

got it working.....
Had to smack it around a little bit, but its working.

Thank you
Everybody is somebody else’s weirdo
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Check if a Specific User is logged in.

Post by slansing »

Great, we will lock this up.
Locked