<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word"><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR>
<STYLE>@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose
}
DIV.Section1 {
page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV dir=ltr align=left><SPAN class=726072720-25012006><FONT face=Arial
color=#0000ff size=2>As other people have pointed out, use event
handlers.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=726072720-25012006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=726072720-25012006><FONT face=Arial
color=#0000ff size=2>We use them here for a couple of specific things.
Primarily, to restart stopped services, using an NRPE plugin (either under
windows or UNIX).</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=726072720-25012006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=726072720-25012006><FONT face=Arial
color=#0000ff size=2>However, under windows, restarting services is more
efficiently done by using the windows internal handler (set the service restart
parameters) and then monitoring the eventlog for service restarts to let you
know if this happens.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=726072720-25012006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=726072720-25012006><FONT face=Arial
color=#0000ff size=2>Steve</FONT></SPAN></DIV></BODY></HTML>