Thanx Soumya for ur reply.<br>
Yes what all u said was done.<br>
The case happening here is that the configured nagios is not executing
the entries in the nagios.cmd,though the respective conf in nagios.cfg
is---<br>
check_external_commands=1<br>
command_check_interval=1<br>
command_file=/usr/local/nagios/var/rw/nagios.cmd<br>
--- <br>
looking fwd for ur thoughts,<br>
nKaranUk<br><br><div><span class="gmail_quote">On 12/16/05, <b class="gmail_sendername">Soumya Nambiar</b> <<a href="mailto:soumya.nambiar@satconet.com">soumya.nambiar@satconet.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><font color="#0000ff" face="Arial" size="2"><span> Hello,</span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span>
</span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span> The
is_volatile should be set to 1.</span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span></span></font> </div>
<div><font color="#0000ff" face="Arial" size="2"><span>
By the way did u convert the mib file u require using snmpttconvertmib.If so
that line should be added to ur snmptt.ini file.</span></font></div><span class="sg">
<div><font color="#0000ff" face="Arial" size="2"><span></span></font> </div>
<div><font color="#0000ff" face="Arial" size="2"><span>
Soumya Nambiar</span></font></div></span><div><span class="e" id="q_1083285f64f9eae9_2">
<blockquote>
<div align="left" dir="ltr"><font face="Tahoma" size="2">-----Original Message-----<br><b>From:</b>
<a href="mailto:nagios-users-admin@lists.sourceforge.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">nagios-users-admin@lists.sourceforge.net</a>
[mailto:<a href="mailto:nagios-users-admin@lists.sourceforge.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">nagios-users-admin@lists.sourceforge.net</a>]<b>On Behalf Of </b>Karan
uk<br><b>Sent:</b> Friday, December 16, 2005 10:26 AM<br><b>To:</b>
<a href="mailto:nagios-users@lists.sourceforge.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">nagios-users@lists.sourceforge.net</a><br><b>Subject:</b> [Nagios-users] JMX
notifications->snmptrapd->snmptt->Nagios
Configuation<br><br></font></div>Hello, <br>I was looking to configure Nagios
so that it can accept SNMP traps(JMX notification thru snmptrapd->snmptt)
and send e-mail. <br>As per the doc's i've got snmptrapd writing the
nagios.cmd file.But configured Nagios seems to not react to the
PROCESS_SERVICE_CHECK_RESULT entries in the command file. <br>The
configuration files i'm using are as bellow.Do let me know if i'm missing
something in the conf. or the way to make nagios execute nagios.cmd entries.
<br>Nagios Version 1.3 <br>nagios.cmd-- <br>1 PROCESS_SERVICE_CHECK_RESULT
:winnt_host:TRAP:1:Trap received <br><br>Respective conf in nagios.cfg---
<br>check_external_commands=1 <br>command_check_interval=1
<br>command_file=/usr/local/nagios/var/rw/nagios.cmd <br>---
<br>services.cfg-- <br>define service{ <br>use generic-service <br>e template
to use <br><br>host_name winnt_host <br>service_description TRAP
<br>is_volatile 0 <br>check_period 24x7 <br>max_check_attempts 3
<br>normal_check_interval 5 <br>retry_check_interval 1
<br>active_checks_enabled 0 <br>passive_checks_enabled 1 <br>contact_groups
nt-admins <br>notification_interval 120 <br>notification_period 24x7
<br>notification_options w,u,c,r <br>check_command check-host-alive <br>}
<br>---------- <br>snmptt.ini--- <br>dns_enable = 0 <br>strip_domain = 0
<br>net_snmp_perl_enable = 0 <br>translate_value_oids = 0
<br>translate_enterprise_oid_format = 1 <br>----------
<br>snmptrapd.conf------- <br>traphandle default /usr/sbin/snmptt
<br>------------- <br><br>thanks in advance, <br>nkaranuk
</blockquote>
</span></div></blockquote></div><br>