This script/web page combination is what we use to maintain the list of clients that are "pinged" by the MachineDown script. It is fairly generic and should work in most environments but may have a quirk or two based on how our NT Ops guys like to work. I haven't spent a lot of time documenting everything, but the stuff below should be enough to get you started. As you can imagine, this is sold as is. Also, you can't make fun of me if you find something silly in the code. Let me know if you have any questions.
Basic operation: Each time the script runs, it selects the list of all the machines in the QDB, then removes exceptions from the list based on MachineNames stored in the exceptions file. The exceptions file is maintained through the web page. The web page actually writes two files when the exceptions list is updated. One file lists the: • machinename • a comment • the person who added the machine to the list (based on their NT login.) The other file is the list of just machinenames that will be excluded from the list when the script runs. Note: This web page only works with IE because it retrieves the NT login of the person adding a machine to the exception list. Note: When a machine is added to the exception list, the user must include a comment.