I have found that, in traps its coming as following
and therefore enabled, net_snmp_perl_enable as 1 and added following lines in following manner in /etc/snmp/snmptt.conf
Code: Select all
EVENT SendActualDataFailed enterprises.193.110.2.15.2.0.1 "Status Events" Normal
FORMAT An instance of the alarm indicated by $*
EXEC /usr/local/bin/snmptraphandling.py "$r" "SNMP Traps" "$s" "$@" "$-*" "An instance of the alarm indicated by $*"
#
#
#
EVENT SendActualDataFailed enterprises.193.110.2.10.2.0.2 "Status Events" Normal
FORMAT An instance of the alarm indicated by $*
EXEC /usr/local/bin/snmptraphandling.py "$r" "SNMP Traps" "$s" "$@" "$-*" "An instance of the alarm indicated by $*"
This was showing traps in Nagios XI. But this not able to define multiple severity levels
But my question is, can we add traps definition in manually in such manner in the same file with proper severity.
The traps which was unknown earlier are following,
Code: Select all
EVENT SendActualDataFailed enterprises.193.110.2.10.2.0.2 "Status Events" Normal
FORMAT An instance of the alarm indicated by $*
EXEC /usr/local/bin/snmptraphandling.py "$r" "SNMP Traps" "$s" "$@" "$-*" "An instance of the alarm indicated by $*"
[root@nagios snmptt]#
[root@nagios snmptt]#
[root@nagios snmptt]#
[root@nagios snmptt]#
[root@nagios snmptt]#
[root@nagios snmptt]# tail -100f snmpttunknown.log
Value 3: SNMPv2-SMI::enterprises.193.110.2.15.2.0.1
Value 4: 10.3.29.33
Value 5:
Value 6:
Value 7:
Value 8:
Value 9:
Value 10:
Ent Value 0: SNMPv2-SMI::enterprises.193.110.2.666.1.1.2.1.6.25.70.83.67.45.65.99.99.111.117.110.116.70.105.110.100.101.114.67.108.105.101.110.116.73.102.2.4=The domain name does not exist.
Ent Value 1: SNMPv2-SMI::enterprises.193.110.2.666.1.2.2.1.10.25.70.83.67.45.65.99.99.111.117.110.116.70.105.110.100.101.114.67.108.105.101.110.116.73.102.11.7.224.10.14.10.10.50.4.43.2.0.111=iso.1.1.1.19.2
Ent Value 2: SNMPv2-SMI::enterprises.193.110.2.666.1.2.2.1.11.25.70.83.67.45.65.99.99.111.117.110.116.70.105.110.100.101.114.67.108.105.101.110.116.73.102.11.7.224.10.14.10.10.50.4.43.2.0.111=Domain name does not exist. Domain = 25072852974.0.msisdn.sub.cs.
Ent Value 3: SNMPv2-SMI::enterprises.193.110.2.667.1.1.1.1.2.25.70.83.67.45.65.99.99.111.117.110.116.70.105.110.100.101.114.67.108.105.101.110.116.73.102.2.5=4
Ent Value 4: SNMPv2-SMI::enterprises.193.110.2.667.1.1.1.1.3.25.70.83.67.45.65.99.99.111.117.110.116.70.105.110.100.101.114.67.108.105.101.110.116.73.102.2.5=159
Ent Value 5: SNMPv2-SMI::enterprises.193.110.2.15.1.10.1.8.25.70.83.67.45.65.99.99.111.117.110.116.70.105.110.100.101.114.67.108.105.101.110.116.73.102.11.7.224.10.14.10.10.50.4.43.2.0.111=FSC-AccountFinderClientIf
Ent Value 6: SNMPv2-SMI::enterprises.193.110.2.15.1.10.1.9.25.70.83.67.45.65.99.99.111.117.110.116.70.105.110.100.101.114.67.108.105.101.110.116.73.102.11.7.224.10.14.10.10.50.4.43.2.0.111=2
Ent Value 7: SNMPv2-SMI::enterprises.193.110.2.15.1.10.1.10.25.70.83.67.45.65.99.99.111.117.110.116.70.105.110.100.101.114.67.108.105.101.110.116.73.102.11.7.224.10.14.10.10.50.4.43.2.0.111=5
Ent Value 8: SNMPv2-SMI::enterprises.193.110.2.15.1.10.1.11.25.70.83.67.45.65.99.99.111.117.110.116.70.105.110.100.101.114.67.108.105.101.110.116.73.102.11.7.224.10.14.10.10.50.4.43.2.0.111=07 E0 0A 0E 0A 0A 32 04 2B 02 00
Ent Value 9: SNMPv2-SMI::enterprises.193.110.2.15.1.10.1.12.25.70.83.67.45.65.99.99.111.117.110.116.70.105.110.100.101.114.67.108.105.101.110.116.73.102.11.7.224.10.14.10.10.50.4.43.2.0.111=1
Ent Value 10: SNMPv2-SMI::enterprises.193.110.2.15.1.10.1.13.25.70.83.67.45.65.99.99.111.117.110.116.70.105.110.100.101.114.67.108.105.101.110.116.73.102.11.7.224.10.14.10.10.50.4.43.2.0.111=10.3.29.33
Ent Value 11: SNMPv2-SMI::enterprises.193.110.2.15.1.10.1.14.25.70.83.67.45.65.99.99.111.117.110.116.70.105.110.100.101.114.67.108.105.101.110.116.73.102.11.7.224.10.14.10.10.50.4.43.2.0.111=111
Fri Oct 14 12:11:35 2016: Unknown trap (SNMPv2-SMI::enterprises.193.110.2.15.2.0.1) received from 10.3.29.32 at:
Value 0: 10.3.29.32
Value 1: 10.3.29.32
Value 2: 31:21:38:14.08
Value 3: SNMPv2-SMI::enterprises.193.110.2.15.2.0.1
Value 4: 10.3.29.32
Value 5:
Value 6:
Value 7:
Value 8:
Value 9:
Value 10:
Ent Value 0: SNMPv2-SMI::enterprises.193.110.2.666.1.1.2.1.6.25.70.83.67.45.65.99.99.111.117.110.116.70.105.110.100.101.114.67.108.105.101.110.116.73.102.2.4=The domain name does not exist.
Ent Value 1: SNMPv2-SMI::enterprises.193.110.2.666.1.2.2.1.10.25.70.83.67.45.65.99.99.111.117.110.116.70.105.110.100.101.114.67.108.105.101.110.116.73.102.11.7.224.10.14.10.11.3.6.43.2.0.37991=iso.1.1.1.19.2
Ent Value 2: SNMPv2-SMI::enterprises.193.110.2.666.1.2.2.1.11.25.70.83.67.45.65.99.99.111.117.110.116.70.105.110.100.101.114.67.108.105.101.110.116.73.102.11.7.224.10.14.10.11.3.6.43.2.0.37991=Domain name does not exist. Domain = 25072249725.1.msisdn.sub.cs.
Ent Value 3: SNMPv2-SMI::enterprises.193.110.2.667.1.1.1.1.2.25.70.83.67.45.65.99.99.111.117.110.116.70.105.110.100.101.114.67.108.105.101.110.116.73.102.2.5=4
Ent Value 4: SNMPv2-SMI::enterprises.193.110.2.667.1.1.1.1.3.25.70.83.67.45.65.99.99.111.117.110.116.70.105.110.100.101.114.67.108.105.101.110.116.73.102.2.5=159
Ent Value 5: SNMPv2-SMI::enterprises.193.110.2.15.1.10.1.8.25.70.83.67.45.65.99.99.111.117.110.116.70.105.110.100.101.114.67.108.105.101.110.116.73.102.11.7.224.10.14.10.11.3.6.43.2.0.37991=FSC-AccountFinderClientIf
Ent Value 6: SNMPv2-SMI::enterprises.193.110.2.15.1.10.1.9.25.70.83.67.45.65.99.99.111.117.110.116.70.105.110.100.101.114.67.108.105.101.110.116.73.102.11.7.224.10.14.10.11.3.6.43.2.0.37991=2
Ent Value 7: SNMPv2-SMI::enterprises.193.110.2.15.1.10.1.10.25.70.83.67.45.65.99.99.111.117.110.116.70.105.110.100.101.114.67.108.105.101.110.116.73.102.11.7.224.10.14.10.11.3.6.43.2.0.37991=5
Ent Value 8: SNMPv2-SMI::enterprises.193.110.2.15.1.10.1.11.25.70.83.67.45.65.99.99.111.117.110.116.70.105.110.100.101.114.67.108.105.101.110.116.73.102.11.7.224.10.14.10.11.3.6.43.2.0.37991=07 E0 0A 0E 0A 0B 03 06 2B 02 00
Ent Value 9: SNMPv2-SMI::enterprises.193.110.2.15.1.10.1.12.25.70.83.67.45.65.99.99.111.117.110.116.70.105.110.100.101.114.67.108.105.101.110.116.73.102.11.7.224.10.14.10.11.3.6.43.2.0.37991=1
Ent Value 10: SNMPv2-SMI::enterprises.193.110.2.15.1.10.1.13.25.70.83.67.45.65.99.99.111.117.110.116.70.105.110.100.101.114.67.108.105.101.110.116.73.102.11.7.224.10.14.10.11.3.6.43.2.0.37991=10.3.29.32
Ent Value 11: SNMPv2-SMI::enterprises.193.110.2.15.1.10.1.14.25.70.83.67.45.65.99.99.111.117.110.116.70.105.110.100.101.114.67.108.105.101.110.116.73.102.11.7.224.10.14.10.11.3.6.43.2.0.37991=37991
Fri Oct 14 12:13:52 2016: Unknown trap (SNMPv2-SMI::enterprises.193.110.2.15.2.0.1) received from 10.3.29.9 at:
Value 0: 10.3.29.9
Value 1: 10.3.29.9
Value 2: 31:21:38:46.93
Value 3: SNMPv2-SMI::enterprises.193.110.2.15.2.0.1
Value 4: 10.3.29.9
Value 5:
Value 6:
Value 7:
Value 8:
Value 9:
Value 10:
Ent Value 0: SNMPv2-SMI::enterprises.193.110.2.666.1.1.2.1.6.18.80.83.67.45.84.114.97.102.102.105.99.72.97.110.100.108.101.114.451.3=Tree not found
Ent Value 1: SNMPv2-SMI::enterprises.193.110.2.666.1.2.2.1.10.18.80.83.67.45.84.114.97.102.102.105.99.72.97.110.100.108.101.114.11.7.224.10.14.10.13.21.0.43.2.0.2025=iso.1.1.1.29.451
Ent Value 2: SNMPv2-SMI::enterprises.193.110.2.666.1.2.2.1.11.18.80.83.67.45.84.114.97.102.102.105.99.72.97.110.100.108.101.114.11.7.224.10.14.10.13.21.0.43.2.0.2025=Affected Object: Selection, Info: Didn't find the service provider, Selection. Provider: Selection, Rating plan: 10, Start time: 2016-10-14 10:13:20
Ent Value 3: SNMPv2-SMI::enterprises.193.110.2.667.1.1.1.1.2.18.80.83.67.45.84.114.97.102.102.105.99.72.97.110.100.108.101.114.451.6=4
Ent Value 4: SNMPv2-SMI::enterprises.193.110.2.667.1.1.1.1.3.18.80.83.67.45.84.114.97.102.102.105.99.72.97.110.100.108.101.114.451.6=159
Ent Value 5: SNMPv2-SMI::enterprises.193.110.2.15.1.10.1.8.18.80.83.67.45.84.114.97.102.102.105.99.72.97.110.100.108.101.114.11.7.224.10.14.10.13.21.0.43.2.0.2025=PSC-TrafficHandler
Ent Value 6: SNMPv2-SMI::enterprises.193.110.2.15.1.10.1.9.18.80.83.67.45.84.114.97.102.102.105.99.72.97.110.100.108.101.114.11.7.224.10.14.10.13.21.0.43.2.0.2025=451
Ent Value 7: SNMPv2-SMI::enterprises.193.110.2.15.1.10.1.10.18.80.83.67.45.84.114.97.102.102.105.99.72.97.110.100.108.101.114.11.7.224.10.14.10.13.21.0.43.2.0.2025=6
Ent Value 8: SNMPv2-SMI::enterprises.193.110.2.15.1.10.1.11.18.80.83.67.45.84.114.97.102.102.105.99.72.97.110.100.108.101.114.11.7.224.10.14.10.13.21.0.43.2.0.2025=07 E0 0A 0E 0A 0D 15 00 2B 02 00
Ent Value 9: SNMPv2-SMI::enterprises.193.110.2.15.1.10.1.12.18.80.83.67.45.84.114.97.102.102.105.99.72.97.110.100.108.101.114.11.7.224.10.14.10.13.21.0.43.2.0.2025=1
Ent Value 10: SNMPv2-SMI::enterprises.193.110.2.15.1.10.1.13.18.80.83.67.45.84.114.97.102.102.105.99.72.97.110.100.108.101.114.11.7.224.10.14.10.13.21.0.43.2.0.2025=10.3.29.9
Ent Value 11: SNMPv2-SMI::enterprises.193.110.2.15.1.10.1.14.18.80.83.67.45.84.114.97.102.102.105.99.72.97.110.100.108.101.114.11.7.224.10.14.10.13.21.0.43.2.0.2025=2025
Fri Oct 14 15:03:40 2016: Unknown trap (.1.3.6.1.4.1.193.110.2.10.2.0.1) received from 10.3.28.46 at:
Value 0: 10.3.28.46
Value 1: 10.3.28.46
Value 2: 7:21:12:07.34
Value 3: .1.3.6.1.4.1.193.110.2.10.2.0.1
Value 4: 10.3.28.46
Value 5:
Value 6:
Value 7:
Value 8:
Value 9:
Value 10:
Ent Value 0: .1.3.6.1.4.1.193.110.2.666.1.1.2.1.6.13.67.79.78.70.73.71.85.82.65.84.73.79.78.14100.2=Configuration updated
Ent Value 1: .1.3.6.1.4.1.193.110.2.666.1.2.2.1.10.13.67.79.78.70.73.71.85.82.65.84.73.79.78.11.7.224.10.14.13.3.15.7.43.2.0.123=SNMPv2-SMI::org.720
Ent Value 2: .1.3.6.1.4.1.193.110.2.666.1.2.2.1.11.13.67.79.78.70.73.71.85.82.65.84.73.79.78.11.7.224.10.14.13.3.15.7.43.2.0.123=Configuration state changed#: LoadTesting DWH FTP.
Ent Value 3: .1.3.6.1.4.1.193.110.2.667.1.1.1.1.2.13.67.79.78.70.73.71.85.82.65.84.73.79.78.14100.2=4
Ent Value 4: .1.3.6.1.4.1.193.110.2.667.1.1.1.1.3.13.67.79.78.70.73.71.85.82.65.84.73.79.78.14100.2=1024
Ent Value 5: .1.3.6.1.4.1.193.110.2.10.1.10.1.10.13.67.79.78.70.73.71.85.82.65.84.73.79.78.11.7.224.10.14.13.3.15.7.43.2.0.123=CONFIGURATION
Ent Value 6: .1.3.6.1.4.1.193.110.2.10.1.10.1.11.13.67.79.78.70.73.71.85.82.65.84.73.79.78.11.7.224.10.14.13.3.15.7.43.2.0.123=14100
Ent Value 7: .1.3.6.1.4.1.193.110.2.10.1.10.1.12.13.67.79.78.70.73.71.85.82.65.84.73.79.78.11.7.224.10.14.13.3.15.7.43.2.0.123=2
Ent Value 8: .1.3.6.1.4.1.193.110.2.10.1.10.1.2.13.67.79.78.70.73.71.85.82.65.84.73.79.78.11.7.224.10.14.13.3.15.7.43.2.0.123=07 E0 0A 0E 0D 03 0F 07 2B 02 00
Ent Value 9: .1.3.6.1.4.1.193.110.2.10.1.10.1.16.13.67.79.78.70.73.71.85.82.65.84.73.79.78.11.7.224.10.14.13.3.15.7.43.2.0.123=1
Ent Value 10: .1.3.6.1.4.1.193.110.2.10.1.10.1.17.13.67.79.78.70.73.71.85.82.65.84.73.79.78.11.7.224.10.14.13.3.15.7.43.2.0.123=10.3.28.44
Ent Value 11: .1.3.6.1.4.1.193.110.2.10.1.10.1.18.13.67.79.78.70.73.71.85.82.65.84.73.79.78.11.7.224.10.14.13.3.15.7.43.2.0.123=123
You do not have the required permissions to view the files attached to this post.