Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Really dumb question... performance monitor...

Status
Not open for further replies.

jmm7772

Technical User
Nov 7, 2003
47
GB
Help - I am having a nightmare on what should be a 2 minute job !
I have set up an alert on Performance Monitor and it will quite happily trip the alert threshold and send a "network message" and log an entry in the application log - but I can not, for love nor money, get the "Run this program" to work - all I've created is a simple batch file of multiple net sends. It just doesn't want to play the game.

Please someone show me where I'm going wrong !
 
You probably need to change the context to be something like:

CMD.EXE NET SEND /DOMAIN:domainname "Did it work?"



I hope you find this post helpful. Please let me know if it was.

Regards,

Mark
 
Thanks Mark - I just tried that and it didn't work for me...
the batch file I'm running is...

cmd.exe net send sys01330 "Check Work Queue"

again the entry was wriiten to application log so I know it's tripping?

Any more ideas?
 
oh - I've even tried setting the "Run This Program" to calc.exe and that doesn't work either.... so doesn't that rule out errors in my batch file?
 
Yes that does sound like you have other problems then. Not sure where lese ot have you look if the app or sys logs are not indicating a problem.

I hope you find this post helpful. Please let me know if it was.

Regards,

Mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top