Jump to content

Monitor Windows XP services


Recommended Posts

Posted

I am wondering if anyone has any suggestions on monitoring services? I have 3 major applications, Antivirus, iCollect(asset management software), Radia(Software/Patch distribution) that I need to monitor across a LAN. There are approximately 4500 PC's and I am looking for a way or agentless application to monitor that these services are still running. Anyone have any helpful suggestions? I have no idea how to ensure these are running or even monitor them. I've tried Google but am not real good and googling for queries. I found this board awhile back and well....here I am. This board rocks and you guys/gals are great!! Any suggestions would be helpful, even if I could get steered in the right direction.

:thumbup


Posted

Do you program? I'm sure it's not too hard to do what you want in a language like VB or C. Other than that, I don't know offhand of any program. There might be one, though.

Posted

No, I wish I did but maybe someday I'll give it a try. I've looked at VB but still don't have a grasp on the syntax to accomplish what I'm after.

Posted

Services run until something stops them. Set them to automatically restart if they fail. Use the last option to reboot the client machine if the service fails. No need to monitor each client.

Posted

I would be monitoring the client but in our environment we have users who are Administrators of the local machine and they like to disable the Radia service. We are not in a domain environment yet but in the meantime I need to make sure these services stay running and if they are stopped/disabled then either notified or have them restart.

I hope that clears things up. These are all clients running WinXPsp2 in a non-domain environment. I wouldn't mind hiding these so the users couldn't see the services to disable but not sure if that is even possible.

Posted

It says WMIC requires Administrator rights, the majority of the PC users only have Power User rights. I would have to run this for all 4500+ workstations?

I will continue to read up on WMIC, I am far from a programmer. :whistle:

Posted

Wmic /node:name_of_pc1,name_of_pc2 /failfast:on service etc...

What I wanted to say is it will be not running on workstations, but on your administrators PC.

And use it with reporting to html form...

Posted

You can use the local policy editor to prevent users from even viewing the services by using:

start -> run -> gpedit.msc [enter]

then browse to:

Administrative Templates\Windows Components\Microsoft Management Console\Restricted/Permitted snap-ins

And then disable the 'services' snap-in.

Though I read your users are logged in as administrator, that's not really a good idea IMHO. They can disable the policy again, but it's worth to try.

Or make them power users or something.

[edit] ugh I only read just now there are 4500+ pc's, so going over each pc setting the policy isn't really an option lol. Guess it'd be easier if you had a domain with AD.

Posted
Wmic /node:name_of_pc1,name_of_pc2 /failfast:on service etc...

What I wanted to say is it will be not running on workstations, but on your administrators PC.

And use it with reporting to html form...

Can wmic read from text file for the PC names? All of our PC names are the asset tags that are applied to the physical machine, ex.) PC20456C I am wondering if wmic can read from a text file that would have all the PC names to turn these services on.

What about a login script to turn these certian services on?

Posted

Every command can read from text file :) First syntax is

for /f "usebackq" %%i IN (`type computers.txt`) DO wmic /node:%%i service where name="test" get state

second (wmic native) is

wmic /node:@computers.txt service where name="test" get state

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...