Hello,
          
          The is_volatile should be set to 1.
 
          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.
 
          Soumya Nambiar

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Karan uk
Sent: Friday, December 16, 2005 10:26 AM
To: [email protected]
Subject: [Nagios-users] JMX notifications->snmptrapd->snmptt->Nagios
Configuation


Hello, 
I was looking to configure Nagios so that it can accept SNMP traps(JMX
notification thru snmptrapd->snmptt) and send e-mail. 
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. 
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. 
Nagios Version 1.3 
nagios.cmd-- 
1 PROCESS_SERVICE_CHECK_RESULT :winnt_host:TRAP:1:Trap received 

Respective conf in nagios.cfg--- 
check_external_commands=1 
command_check_interval=1 
command_file=/usr/local/nagios/var/rw/nagios.cmd 
--- 
services.cfg-- 
define service{ 
use generic-service 
e template to use 

host_name winnt_host 
service_description TRAP 
is_volatile 0 
check_period 24x7 
max_check_attempts 3 
normal_check_interval 5 
retry_check_interval 1 
active_checks_enabled 0 
passive_checks_enabled 1 
contact_groups nt-admins 
notification_interval 120 
notification_period 24x7 
notification_options w,u,c,r 
check_command check-host-alive 
} 
---------- 
snmptt.ini--- 
dns_enable = 0 
strip_domain = 0 
net_snmp_perl_enable = 0 
translate_value_oids = 0 
translate_enterprise_oid_format = 1 
---------- 
snmptrapd.conf------- 
traphandle default /usr/sbin/snmptt 
------------- 

thanks in advance, 
nkaranuk 

<<attachment: winmail.dat>>

Reply via email to