ssax wrote:Let's see what port it's using, run this from the XI server and post the results (once a trap is sent):
- Change X.X.X.X to the device that is sending the traps.
Code: Select all
yum install tcpdump
tcpdump -nni eth0 src X.X.X.X
it seems that the server receives the traps. somehow nagios doesn't.
# nano /var/log/snmptt/snmpttsystem.log
Thu Feb 25 13:19:14 2016 SNMPTT v1.4 shutdown
Thu Feb 25 13:19:14 2016 Total traps received=0,Total traps translated=0,Total traps ignored=0,Total unknown traps=0
Thu Feb 25 13:19:17 2016 SNMPTT v1.4 started
Thu Feb 25 13:19:17 2016 Loading /etc/snmp/snmptt.conf
Thu Feb 25 13:19:17 2016 Finished loading 104 lines from /etc/snmp/snmptt.conf
Thu Feb 25 13:19:17 2016 Could not convert user id 'snmptt' to a numeric UID
output: everytime i trigger a trap i receive the following message. seems ok.
10.10.10.74 is the remote device
10.10.10.50 is the nagios server
[root@NagiosServer ~]# tcpdump -nni eth0 src 10.10.10.74
12:51:08.112299 IP 10.10.10.74.10020 > 10.10.10.50.162: F=ap U=name [!scoped PDU]6d_26_4d_ae_2b_26_16_4e_1f_56_8e_ec_82_38_8b_a8_62_5a_48_38_26_54_15_ed_24_49_84_b2_cc_80_65_5a_9e_ad_c2_c8_3f_9b_55_4f_a0_22_03_20_ca_e0_bd_61_9d_7e_b0_8a_d7_38_d1_3e_e1_56_7c_ab_70_e3_10_10_47_37_a1_0a_fc_cf_f1_4d_d7_37_17_0d_58_5a_2b_dc_e2_e2_65_0d_d7_74_12_38_b6_26_c8_9f_4e_e1_43_70_10_44_ec_ce_64_51_fe_c4_f9_e5_b9_14_3e_c3_89_3a_00_02_6d_cd_4e_0c_af_3f_26_f0_ed_74_ed_98_b4_8a_20_83_8a_5e_ef_1b_17_d7_bf_d7_54_63_98_4a_5c_b2_8f_c2_36_86_9b_51_3e_43_bf_9e_08_f0_ae_5d_9c_09_1d_6b_a1_d8_3f_a5_78_15_87_e7_5f_f6_fd_bd_2e_0b_59_78_c7_9f_d8_55_ff_e7_61_d8_dc_3d_36_cd_a0_50_7d_50_b9_2b_18_22_de_c9_cf_54_3a_04_9d_71_91_4b_a7_6d_69_e2_a7_73_ac_fd_f5_e0_b1_f3_e6_e3_c0_85_b1_7e_46_d9_0e_46_b2_4a_80_56_07_6c_b1_8b_f1_98_b7_a7_1a_d0_04_76_eb_8c_7f
in the snmptrapd.conf i added the line: TCP:10020.
but this has no effect. the above output (also port of nagios server 162) stays the same.
i always reboot or start services after changes. no effect.
best regards
