I was just wondering how that was done....in about 2001 we managed to set up a batch file to execute on a certain event on some NT4 servers, and I had just about given up racking my brains about how to do it again should the need arise. Saved me some Googling :-)
2009/7/30 Charlie Kaiser <[email protected]> > Is it 2008? If so, you can attach a task to the event via the eventvwr > interface; if it's 2003, you can use eventtriggers to do it. It's > self-explanatory in 08; here's a good article about 03... > > http://www.computerperformance.co.uk/Logon/VBScript/eventtriggers.htm > > *********************** > Charlie Kaiser > [email protected] > Kingman, AZ > *********************** > > > -----Original Message----- > > From: Okan Bostan [mailto:[email protected]] > > Sent: Thursday, July 30, 2009 5:37 AM > > To: NT System Admin Issues > > Subject: DHCP scope usage alert vbs, without MOM > > > > Hi List, > > > > > > > > I want to write a script that will e-mail me if there is no > > free IP addresses on one of the scopes. I googled it but I > > can't find good solutions. > > > > One way is to use netsh "show mibinfo. This command gives all > > the usage about the scopes,but I need to parse it from a file. > > > > > > > > We all know DHCP server already checks the usage of scope > > and creates an event log if the scope is full, I want to > > modify this trigger so I can edit and mail the situation. > > > > > > > > Any suggestions? > > > > > > > > Thanks. > > > > > > > > > > > > > > > ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ > ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ > -- "On two occasions...I have been asked, 'Pray, Mr Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question." http://raythestray.blogspot.com ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~
