<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1141" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=046284011-24032003><FONT face=Arial size=2>Ok.. I've been
beating my head here. I can't figure out why I can't see any report or
record of this check anywhere. Hopefully this is enough to
help.</FONT></SPAN></DIV>
<DIV><SPAN class=046284011-24032003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=046284011-24032003><FONT face=Arial
size=2>TIA,</FONT></SPAN></DIV>
<DIV><SPAN class=046284011-24032003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=046284011-24032003><FONT face=Arial
size=2>Kreig</FONT></SPAN></DIV>
<DIV><SPAN class=046284011-24032003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=046284011-24032003><FONT face=Arial
size=2>******************************************************************************</FONT></SPAN></DIV>
<DIV><SPAN class=046284011-24032003><FONT face=Arial size=2>Client:
</FONT></SPAN></DIV>
<DIV><SPAN class=046284011-24032003><FONT face=Arial size=2>RH Linux
2.4.7-10smp</FONT></SPAN></DIV>
<DIV><SPAN class=046284011-24032003><FONT face=Arial size=2>NSCA Client
2.3</FONT></SPAN></DIV>
<DIV><SPAN class=046284011-24032003><FONT face=Arial
size=2>192.168.164.221</FONT></SPAN></DIV>
<DIV><SPAN class=046284011-24032003><FONT face=Arial
size=2>goclnx1</FONT></SPAN></DIV>
<DIV><SPAN class=046284011-24032003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=046284011-24032003><FONT face=Arial size=2>[nagios@goclnx1
libexec]$ pwd<BR>/usr/local/nagios/libexec<BR>[nagios@goclnx1 libexec]$
./check_smtp -H localhost -w 2 -c 5<BR>SMTP OK - 0 second response
time<BR>[nagios@goclnx1 libexec]$ ./check_smtp -H localhost -w 2 -c 5 |
./send_nsca -H nagios -p 5667 -c /etc/send_nsca.cfg<BR>0 data packet(s) sent to
host successfully.<BR>[nagios@goclnx1 libexec]$</FONT></SPAN></DIV>
<DIV><SPAN class=046284011-24032003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=046284011-24032003><FONT face=Arial size=2>[nagios@goclnx1
libexec]$ cat
/etc/send_nsca.cfg<BR>####################################################<BR>#
Sample NSCA Client Config File<BR># Written by: Ethan Galstad (<A
href="mailto:nagios@nagios.org">nagios@nagios.org</A>)<BR>#<BR># Last Modified:
02-21-2002<BR>####################################################</FONT></SPAN></DIV><SPAN
class=046284011-24032003>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>#password=</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>encryption_method=1</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[nagios@goclnx1 libexec]$</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=046284011-24032003></SPAN><FONT face=Arial size=2>N<SPAN
class=046284011-24032003>agios Server:</SPAN></FONT></DIV>
<DIV><FONT size=+0><SPAN class=046284011-24032003></SPAN><SPAN
class=046284011-24032003></SPAN><FONT face=Arial size=2>R<SPAN
class=046284011-24032003>H Linux 2.4.18-14</SPAN></FONT></FONT></DIV>
<DIV><FONT size=+0><FONT face=Arial size=2><SPAN class=046284011-24032003>NSCA -
Nagios Service Check Acceptor<BR>Copyright (c) 2000-2003 Ethan Galstad (<A
href="mailto:nagios@nagios.org">nagios@nagios.org</A>)<BR>Version:
2.3</SPAN></FONT></FONT></DIV>
<DIV><FONT size=+0><FONT face=Arial size=2><SPAN
class=046284011-24032003>192.168.164.226</SPAN></FONT></FONT></DIV>
<DIV><FONT size=+0><FONT face=Arial size=2><SPAN
class=046284011-24032003>nagios<BR></DIV></SPAN></FONT></FONT>
<DIV><FONT size=+0><FONT face=Arial size=2><SPAN
class=046284011-24032003></SPAN></FONT></FONT> </DIV>
<DIV><FONT size=+0><FONT face=Arial size=2><SPAN
class=046284011-24032003>[kreigd@nagios nagios]$ cat
/etc/nsca.cfg<BR>####################################################<BR>#
Sample NSCA Daemon Config File<BR># Written by: Ethan Galstad (<A
href="mailto:nagios@nagios.org">nagios@nagios.org</A>)<BR>#<BR># Last Modified:
01-07-2002<BR>####################################################</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT size=+0><FONT face=Arial size=2><SPAN
class=046284011-24032003>server_port=5667</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT size=+0><FONT face=Arial size=2><SPAN
class=046284011-24032003>allowed_hosts=127.0.0.1,192.168.164.221,192.168.164.222</SPAN></FONT></FONT></DIV>
<DIV><FONT size=+0><FONT face=Arial size=2><SPAN
class=046284011-24032003>nsca_user=nagios</SPAN></FONT></FONT></DIV>
<DIV><FONT size=+0><FONT face=Arial size=2><SPAN
class=046284011-24032003>nsca_group=nagios</SPAN></FONT></FONT></DIV>
<DIV><FONT size=+0><FONT face=Arial size=2><SPAN
class=046284011-24032003>debug=0</SPAN></FONT></FONT></DIV>
<DIV><FONT size=+0><FONT face=Arial size=2><SPAN
class=046284011-24032003>command_file=/usr/local/nagios/var/rw/nagios.cmd</SPAN></FONT></FONT></DIV>
<DIV><FONT size=+0><FONT face=Arial size=2><SPAN
class=046284011-24032003>alternate_dump_file=/usr/local/nagios/var/rw/nsca.dump</SPAN></FONT></FONT></DIV>
<DIV><FONT size=+0><FONT face=Arial size=2><SPAN
class=046284011-24032003>aggregate_writes=0</SPAN></FONT></FONT></DIV>
<DIV><FONT size=+0><FONT face=Arial size=2><SPAN
class=046284011-24032003>append_to_file=0</SPAN></FONT></FONT></DIV>
<DIV><FONT size=+0><FONT face=Arial size=2><SPAN
class=046284011-24032003>max_packet_age=30</SPAN></FONT></FONT></DIV>
<DIV><FONT size=+0><FONT face=Arial size=2><SPAN
class=046284011-24032003>#password=</SPAN></FONT></FONT></DIV>
<DIV><FONT size=+0><FONT face=Arial size=2><SPAN
class=046284011-24032003>decryption_method=1<BR></DIV></SPAN></FONT></FONT>
<DIV><FONT size=+0><FONT face=Arial size=2><SPAN
class=046284011-24032003></SPAN>[kreigd@nagios nagios]$ ps -ef | grep
nsca<BR>nagios 30705 1 0 01:12
? 00:00:00 ./nsca -c /etc/nsca.cfg
--daemon</FONT></FONT></DIV>
<DIV><FONT size=+0><FONT face=Arial size=2></FONT></FONT> </DIV>
<DIV><FONT size=+0> </DIV>
<DIV><BR><SPAN class=046284011-24032003></SPAN><FONT face=Arial size=2>f<SPAN
class=046284011-24032003>rom checkcommands.cfg</SPAN></FONT></DIV><FONT
face=Arial size=2><SPAN class=046284011-24032003></SPAN>
<DIV><BR># 'check_smtp' command definition<BR>define
command{<BR>
command_name
check_smtp<BR>
command_line $USER1$/check_smtp -H
$HOSTADDRESS$<BR> }<BR></DIV>
<DIV> </DIV>
<DIV>prw-rw---- 1 nagios
nagiocmd 0 Mar 24 04:32
nagios.cmd<BR>drwxrws--- 2 nagios
nagiocmd 4096 Mar 24 04:32
rw<BR></DIV></FONT></FONT></SPAN>
<DIV><SPAN class=046284011-24032003><FONT face=Arial
size=2> </DIV></FONT></SPAN></BODY></HTML>