<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o = "urn:schemas-microsoft-com:office:office" xmlns:st1 = "urn:schemas-microsoft-com:office:smarttags" xmlns:v = "urn:schemas-microsoft-com:vml" xmlns:w = "urn:schemas-microsoft-com:office:word"><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<STYLE><!--         /* Style Definitions */         p.c78e95d5-b340-401e-9fb0-5b1a9402012d, li.c78e95d5-b340-401e-9fb0-5b1a9402012d, div.c78e95d5-b340-401e-9fb0-5b1a9402012d, table.c78e95d5-b340-401e-9fb0-5b1a9402012dTable         {margin:0cm;    margin-bottom:.0001pt;}        div.Section1        {page:Section1;}        --> <!--          #c78e95d5-b340-401e-9fb0-5b1a9402012dexcontact a{color:white;text-decoration:none;}          #c78e95d5-b340-401e-9fb0-5b1a9402012dexcontact a:hover{text-decoration:underline;}          --></STYLE>

<META name=GENERATOR content="MSHTML 8.00.6001.19154">
<STYLE>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</STYLE>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place">
<STYLE>
st1\:*{behavior:url(#default#ieooui) }
</STYLE>

<STYLE>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-believe-normal-left:yes;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</STYLE>
</HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>I apologize -- I probably should have been clearer on this.</DIV>
<DIV> </DIV>
<DIV>We use Novell's (read Attachmate's) SLES. In SLES 11 SP1 ntpdate doesn't work (running /usr/sbin/ntpdate gives a whole warning page of stuff -- ntpdate is deprecated (see ntp.org for more info), use ntpd -q, use rcntp ntptimeset and on on...). But ntpdate doesn't do anything, so I think that the built-in ntp of xymon won't work in this case.</DIV>
<DIV> </DIV>
<DIV>So, for me to get this to work, it looks like I would have to mangle xymonnet.c (not great for future xymon updates) or try to figure out how to do UDP tests (which, for me, is probably easier said than done). Or I just let it go. I need to cipher on that.</DIV>
<DIV> </DIV>
<DIV>But I do thank you again Bruce and Tim for your help and pointers.<BR></DIV>
<DIV>Regards,<BR>Barrie.<BR>>>> "White, Bruce" <bewhite@fellowes.com> 11/21/2011 11:06 AM >>><BR></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT color=navy size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">There is a built in network test for ntp.  Check the help for the old -  bb-hosts new – host.cfg.  It is listed in the OTHER NETWORK TESTS section.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT color=navy size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT color=navy size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">     …….Bruce<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT color=navy size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></P>
<DIV>
<DIV style="TEXT-ALIGN: center; MARGIN: 0in 0in 0pt" class=MsoNormal align=center><FONT size=3 face="Times New Roman"><SPAN style="FONT-SIZE: 12pt"></SPAN></FONT></DIV></DIV></DIV>
<P class=c78e95d5-b340-401e-9fb0-5b1a9402012d><FONT size=+0></FONT> </P>
<P class=c78e95d5-b340-401e-9fb0-5b1a9402012d> <FONT face=Arial><FONT size=2><FONT color=#999999><FONT color=#000000><STRONG>Bruce<FONT color=#808080><FONT color=#000000> White</FONT></FONT></STRONG></FONT></FONT></FONT></FONT></P>
<P class=c78e95d5-b340-401e-9fb0-5b1a9402012d><FONT face=Arial><FONT size=2><FONT color=#808080> Senior Enterprise Systems Engineer | Phone: 1-630-671-5169 | Fax: 630-893-1648 | bewhite@fellowes.com | <A href="http://www.fellowes.com/">www.fellowes.com</A></FONT></FONT></FONT></P>
<P class=c78e95d5-b340-401e-9fb0-5b1a9402012d><FONT size=2 face=Arial></FONT> </P>
<P class=c78e95d5-b340-401e-9fb0-5b1a9402012d><IMG border=0 hspace=0 alt="" align=baseline src="cid:VMAIYVNDJJIV.IMAGE_1.jpeg"> </P>
<P class=c78e95d5-b340-401e-9fb0-5b1a9402012d><FONT size=2 face=Arial></FONT> </P>
<P class=c78e95d5-b340-401e-9fb0-5b1a9402012d><FONT size=+0></FONT><STRONG></STRONG><FONT size=+0></FONT><FONT size=+0></FONT><FONT size=+0></FONT><FONT color=#808080 size=1 face=Arial>Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Fellowes, Inc.</FONT></P>
<P class=c78e95d5-b340-401e-9fb0-5b1a9402012d><FONT size=2 face=Arial></FONT> </P>
<P class=c78e95d5-b340-401e-9fb0-5b1a9402012d><FONT size=2 face=Arial>
<DIV class=Section1>
<DIV>
<DIV style="TEXT-ALIGN: center; MARGIN: 0in 0in 0pt" class=MsoNormal align=center><FONT size=3 face="Times New Roman"><SPAN style="FONT-SIZE: 12pt">
<HR tabIndex=-1 align=center SIZE=2 width="100%">
</SPAN></FONT></DIV></DIV></DIV>
<DIV class=Section1>
<DIV>
<DIV style="TEXT-ALIGN: center; MARGIN: 0in 0in 0pt" class=MsoNormal align=center><FONT size=3 face="Times New Roman"><SPAN style="FONT-SIZE: 12pt"></SPAN></FONT></DIV>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><B><FONT size=2 face=Tahoma><SPAN style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt; FONT-WEIGHT: bold">From:</SPAN></FONT></B><FONT size=2 face=Tahoma><SPAN style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt"> Barrie Parker [mailto:Barrie.Parker@uregina.ca] <BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Monday, November 21, 2011 10:53 AM<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> White, Bruce; Tim McCloskey; xymon@xymon.com<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> RE: [Xymon] Trouble shooting alerts</SPAN></FONT><o:p></o:p></P></DIV>
<P class=MsoNormal><FONT size=3 face="Times New Roman"><SPAN style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<DIV>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=2 face=Tahoma><SPAN style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt">Thanks guys.<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=2 face=Tahoma><SPAN style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=2 face=Tahoma><SPAN style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt">Alerting using procs does send an alert as expected for all monitored processes/daemons/services/etc. So that was my misunderstanding. And, yes, drilling down on info shows an alert when I use procs and no alert when I use ntpd by itself. I hadn't understood to look at "info" previously; thank you for the pointer.<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=2 face=Tahoma><SPAN style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt">I had looked at the protocols doc late on Friday and I'm starting to understand xymon's behavior better.<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=2 face=Tahoma><SPAN style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=2 face=Tahoma><SPAN style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt">Since the doc for protocols says that the testing is for TCP-based services, I gather that I would need to get at UDP-based services in some other way. I'm assuming that for something like ntpd, I'd need to build a shell script to run ntpq and parse that output, but I'm not sure.<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=2 face=Tahoma><SPAN style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=2 face=Tahoma><SPAN style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt">Can someone point me at the appropriate document or at a code sample to look at?<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=2 face=Tahoma><SPAN style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=2 face=Tahoma><SPAN style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt">Thank you all again.<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=2 face=Tahoma><SPAN style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt"><BR>>>> "White, Bruce" <bewhite@fellowes.com> 11/21/2011 8:00 AM >>><BR>I think Tim found the issue.  Click on the info page for the server and<BR>see if the alert shows up in the alerts box.  If the server has no ntpd<BR>test, then no alert will appear in the alerts box.<BR><BR><BR><BR>Bruce White<BR>Senior Enterprise Systems Engineer | Phone: 1-630-671-5169 | Fax: 630-893-1648 | bewhite@fellowes.com | <A href="http://www.fellowes.com/">http://www.fellowes.com/</A><BR><BR><BR><BR>Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Fellowes, Inc.<BR><BR>-----Original Message-----<BR>From: xymon-bounces@xymon.com [mailto:xymon-bounces@xymon.com] On Behalf<BR>Of Tim McCloskey<BR>Sent: Friday, November 18, 2011 11:46 AM<BR>To: Barrie Parker; xymon@xymon.com<BR>Subject: Re: [Xymon] Trouble shooting alerts<BR><BR><BR>________________________________________<BR>From: xymon-bounces@xymon.com [xymon-bounces@xymon.com] On Behalf Of<BR><st1:City w:st="on"><st1:place w:st="on">Barrie</st1:place></st1:City> Parker [Barrie.Parker@uregina.ca]<BR>Sent: Friday, November 18, 2011 9:22 AM<BR>To: xymon@xymon.com<BR>Subject: [Xymon] Trouble shooting alerts<BR><BR>...snip...<BR>The status page shows the red "critical" icon for procs. When I drill<BR>down into procs ...snip...<BR><BR><BR><BR>Should the alert be for 'procs', not ntpd?<BR><BR>Tim<BR>_______________________________________________<BR>Xymon mailing list<BR>Xymon@xymon.com<BR><A href="http://lists.xymon.com/mailman/listinfo/xymon">http://lists.xymon.com/mailman/listinfo/xymon</A><o:p></o:p></SPAN></FONT></P></DIV></DIV></FONT>
<P></P></BODY></o:SmartTagType></o:SmartTagType></HTML>