Hello Monks! I'm trying to come up with a good way to monitor users that log into one of our nodes each day, we have 8 nodes a user may log into and our user list is about 250. I want to keep a tally on when and where a user logged in on a particular day regardless of which node they used. I.E even if they logged into 3 nodes for hours on 07/20/2001 the user is only charged for one day. Visa/versa if a user logged into one node per day for a minute for three days they are billed for three days.

The closest thing I can come up with is using the event viewer "security log" but as many may know this is not a flat text file, so parsing it may be impossible. I really only need the user, date, and node. Eventually the stats would be posted on our web showing the power users and nodes used most often. One quick note. The users use terminal services client to attach to a node via our domain controller. I hope you guys can point me in right direction THANKS!

In reply to monitor users on win32 by softworkz

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.