Receiving Snmp traps


My box is Redhat EL 4
I have a standalone Nagios 2.9. And SNMPTT installed on same system.
I wanna receive very simple snmp trap such as:
I have snmp trapshown below,taken from snmptt.log:
[blockquote]Sat Sep 22 18:58:44 2007 . Normal “Status Events” - No Motion Detected Normal
And I have a service:
define service {
host_name pinnetbotz
service_description TRAP
is_volatile 1
check_command check-host-alive
max_check_attempts 1
normal_check_interval 1
retry_check_interval 1
active_checks_enabled 0
passive_checks_enabled 1
check_period 24x7
notification_interval 31536000
notification_period 24x7
notification_options w,u,c
notifications_enabled 1
contact_groups env-admins
and I have /usr/local/nagios/libexec/eventhandlers/submit_check_result script copied from nagios 2.9 tarball

I wanna see that trap, shown above, in nagios.
I read nagios documentation but I’m confused.
Can anybody tell me step by step what should I do?
Thank for all


Hi again,
I solved the problem. There is a permission issue.