<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2658.24">
<TITLE>Check process</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2 FACE="Arial">Hi all !!!</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Just been looking at the plugins in my ../libexec-DIR. ( I have Nagios 2.4 runing )</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I found something to work with , but it looks like "the-long-way"</FONT>
<BR><FONT SIZE=2 FACE="Arial">Would like to put my problem together with a possible solution.</FONT>
<BR><FONT SIZE=2 FACE="Arial">Would like to know if there is a better way.</FONT>
</P>
<BR>

<P><FONT SIZE=2 FACE="Arial">Problem:</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I have a distributed Nagios system : One master; one slave.</FONT>
<BR><FONT SIZE=2 FACE="Arial">The master nagios is also my master time-server</FONT>
<BR><FONT SIZE=2 FACE="Arial">The slave-nagios is also my slave-time-server.</FONT>
<BR><FONT SIZE=2 FACE="Arial">I need to check the tnp-procs on both the servers.</FONT>
</P>
<BR>

<P><FONT SIZE=2 FACE="Arial">Possible solution:</FONT>
<BR><FONT SIZE=2 FACE="Arial">I see that there is a check_procs  plugin. This however, only checks</FONT>
<BR><FONT SIZE=2 FACE="Arial">processes on the local machine. I can check for the ntp proc:</FONT>
<BR><FONT SIZE=2 FACE="Arial">( On the master ) : check_procs -a ntpd</FONT>
<BR><FONT SIZE=2 FACE="Arial">With this command I cannot check if ntp is running on my slave-nagios.</FONT>
<BR><FONT SIZE=2 FACE="Arial">To do this, I'd have to define a new service-check on the main nagios, accepting</FONT>
<BR><FONT SIZE=2 FACE="Arial">info from the slave-nagios about the ntpd-service running there.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">This seems very cumbersome.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I also see that there is a check_ntp, but this checks clock accuracies etc which </FONT>
<BR><FONT SIZE=2 FACE="Arial">I don't want at this stage. I just need to know if the ntpd is running.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Is there a way I can check a proc on another machine ??</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Thanks !</FONT>
<BR><FONT SIZE=2 FACE="Arial">JOhn</FONT>
</P>
<BR>
<BR>
<BR>

</BODY>
</HTML>