snmp traps
-
hanya.radwan
- Posts: 194
- Joined: Tue Feb 25, 2014 6:12 am
- Location: palestine
snmp traps
on nagios 2014 r 1.0, i face problem in snmp traps as the following:
TrapName smscSiwplmnWarningTrap / trapData (OCTETSTR):%SPL-I-INFO, Number of Rejected Duplicates in past (60 min) interval: 310, Log filename: DUPLOG_SIWPLMN_12_1401963983.LOG, smscSiwplmnName (OCTETSTR):SIWPLMN_12, trapTimeStamp (OCTETSTR): 5-JUN-2014 11
TrapName smscSiwplmnWarningTrap / trapData (OCTETSTR):%SPL-I-INFO, Number of Rejected Duplicates in past (60 min) interval: 310, Log filename: DUPLOG_SIWPLMN_12_1401963983.LOG, smscSiwplmnName (OCTETSTR):SIWPLMN_12, trapTimeStamp (OCTETSTR): 5-JUN-2014 11
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: snmp traps
Could you please detail what the issue is, it seems you just listed a trap here.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
-
hanya.radwan
- Posts: 194
- Joined: Tue Feb 25, 2014 6:12 am
- Location: palestine
Re: snmp traps
this the following behaviour of one snmp trap service:
Service Ok[06-06-2014 17:40:12] SERVICE ALERT: smsc;SNMP Traps;OK;SOFT;3;OK
Code: Select all
[06-06-2014 17:46:11] SERVICE ALERT: smsc;SNMP Traps;OK;SOFT;3;OK
Service Warning[06-06-2014 17:45:21] SERVICE ALERT: smsc;SNMP Traps;WARNING;SOFT;2;TrapName smscSiwplmnWarningTrap / trapData (OCTETSTR):%SPL-I-INFO, Number of Rejected Duplicates in past (60 min) interval: 722, Log filename: DUPLOG_SIWPLMN_12_1402003594.LOG, smscSiwplmnName (OCTETSTR):SIWPLMN_12, trapTimeStamp (OCTETSTR): 5-JUN-2014 22:26:35.08
Service Warning[06-06-2014 17:45:20] SERVICE ALERT: smsc;SNMP Traps;WARNING;SOFT;1;TrapName smscSiwplmnWarningTrap / trapData (OCTETSTR):%SPL-I-INFO, Number of Rejected Duplicates in past (60 min) interval: 271, Log filename: DUPLOG_SIWPLMN_11_1402003578.LOG, smscSiwplmnName (OCTETSTR):SIWPLMN_11, trapTimeStamp (OCTETSTR): 5-JUN-2014 22:26:19.00
Service Ok[06-06-2014 17:45:12] SERVICE ALERT: smsc;SNMP Traps;OK;SOFT;5;OK
Service Warning[06-06-2014 17:45:01] SERVICE ALERT: smsc;SNMP Traps;WARNING;SOFT;4;TrapName smscMdWarningTrap / trapData (OCTETSTR):%MD-I-PMREMOVED, Presentation Manager removed from session list, smscMdName (OCTETSTR):MD, trapTimeStamp (OCTETSTR): 5-JUN-2014 22:11:05.00
Service Warning[06-06-2014 17:44:53] SERVICE ALERT: smsc;SNMP Traps;WARNING;SOFT;3;TrapName smscMdWarningTrap / trapData (OCTETSTR):%MD-I-PMREMOVED, Presentation Manager removed from session list, smscMdName (OCTETSTR):MD, trapTimeStamp (OCTETSTR): 5-JUN-2014 22:04:57.00
Service Warning[06-06-2014 17:44:53] SERVICE ALERT: smsc;SNMP Traps;WARNING;SOFT;2;TrapName smscMdWarningTrap / trapData (OCTETSTR):%MD-I-PMREMOVED, Presentation Manager removed from session list, smscMdName (OCTETSTR):MD, trapTimeStamp (OCTETSTR): 5-JUN-2014 22:04:25.00
Service Warning[06-06-2014 17:44:47] SERVICE ALERT: smsc;SNMP Traps;WARNING;SOFT;1;TrapName notagOpcomWarningTrap / trapNotificationId (INTEGER):3 trapSeverity (INTEGER):warning trapData (OCTETSTR):Message from user INTERnet on SMJL41 INTERnet ACP SSH Accept Request from Host: 10.100.16.99 Port: 49851 trapEntityName (OCTETSTR):OPCOM trapTimeStamp (OCTETSTR):5-JUN-2014 22:00:16.85 trapNodeName (OCTETSTR):SMJL41
Service Ok[06-06-2014 17:44:12] SERVICE ALERT: smsc;SNMP Traps;OK;SOFT;3;OK
Service Warning[06-06-2014 17:44:07] SERVICE ALERT: smsc;SNMP Traps;WARNING;SOFT;2;TrapName smscSiwplmnWarningTrap / trapData (OCTETSTR):%SPL-I-INFO, Number of Rejected Duplicates in past (60 min) interval: 697, Log filename: DUPLOG_SIWPLMN_12_1401999993.LOG, smscSiwplmnName (OCTETSTR):SIWPLMN_12, trapTimeStamp (OCTETSTR): 5-JUN-2014 21:26:34.04
Service Warning[06-06-2014 17:44:07] SERVICE ALERT: smsc;SNMP Traps;WARNING;SOFT;1;TrapName smscSiwplmnWarningTrap / trapData (OCTETSTR):%SPL-I-INFO, Number of Rejected Duplicates in past (60 min) interval: 661, Log filename: DUPLOG_SIWPLMN_11_1401999977.LOG, smscSiwplmnName (OCTETSTR):SIWPLMN_11, trapTimeStamp (OCTETSTR): 5-JUN-2014 21:26:18.01
Service Ok[06-06-2014 17:43:11] SERVICE ALERT: smsc;SNMP Traps;OK;SOFT;3;OK
Service Warning[06-06-2014 17:42:57] SERVICE ALERT: smsc;SNMP Traps;WARNING;SOFT;2;TrapName smscSiwplmnWarningTrap / trapData (OCTETSTR):%SPL-I-INFO, Number of Rejected Duplicates in past (60 min) interval: 632, Log filename: DUPLOG_SIWPLMN_12_1401996392.LOG, smscSiwplmnName (OCTETSTR):SIWPLMN_12, trapTimeStamp (OCTETSTR): 5-JUN-2014 20:26:33.04
Service Warning[06-06-2014 17:42:56] SERVICE ALERT: smsc;SNMP Traps;WARNING;SOFT;1;TrapName smscSiwplmnWarningTrap / trapData (OCTETSTR):%SPL-I-INFO, Number of Rejected Duplicates in past (60 min) interval: 412, Log filename: DUPLOG_SIWPLMN_11_1401996376.LOG, smscSiwplmnName (OCTETSTR):SIWPLMN_11, trapTimeStamp (OCTETSTR): 5-JUN-2014 20:26:17.10
Service Ok[06-06-2014 17:42:11] SERVICE ALERT: smsc;SNMP Traps;OK;SOFT;4;OK
Service Warning[06-06-2014 17:41:48] SERVICE ALERT: smsc;SNMP Traps;WARNING;SOFT;3;TrapName smscMdWarningTrap / trapData (OCTETSTR):%MD-I-PMREMOVED, Presentation Manager removed from session list, smscMdName (OCTETSTR):MD, trapTimeStamp (OCTETSTR): 5-JUN-2014 19:27:19.00
Service Warning[06-06-2014 17:41:47] SERVICE ALERT: smsc;SNMP Traps;WARNING;SOFT;2;TrapName smscSiwplmnWarningTrap / trapData (OCTETSTR):%SPL-I-INFO, Number of Rejected Duplicates in past (60 min) interval: 593, Log filename: DUPLOG_SIWPLMN_12_1401992791.LOG, smscSiwplmnName (OCTETSTR):SIWPLMN_12, trapTimeStamp (OCTETSTR): 5-JUN-2014 19:26:32.02
Service Warning[06-06-2014 17:41:46] SERVICE ALERT: smsc;SNMP Traps;WARNING;SOFT;1;TrapName smscSiwplmnWarningTrap / trapData (OCTETSTR):%SPL-I-INFO, Number of Rejected Duplicates in past (60 min) interval: 394, Log filename: DUPLOG_SIWPLMN_11_1401992775.LOG, smscSiwplmnName (OCTETSTR):SIWPLMN_11, trapTimeStamp (OCTETSTR): 5-JUN-2014 19:26:16.03
Service Ok[06-06-2014 17:41:12] SERVICE ALERT: smsc;SNMP Traps;OK;HARD;10;OK
Service Warning[06-06-2014 17:40:37] SERVICE ALERT: smsc;SNMP Traps;WARNING;HARD;10;TrapName smscSiwplmnWarningTrap / trapData (OCTETSTR):%SPL-I-INFO, Number of Rejected Duplicates in past (60 min) interval: 640, Log filename: DUPLOG_SIWPLMN_12_1401989190.LOG, smscSiwplmnName (OCTETSTR):SIWPLMN_12, trapTimeStamp (OCTETSTR): 5-JUN-2014 18:26:31.04
Service Warning[06-06-2014 17:40:37] SERVICE ALERT: smsc;SNMP Traps;WARNING;HARD;10;TrapName smscSiwplmnWarningTrap / trapData (OCTETSTR):%SPL-I-INFO, Number of Rejected Duplicates in past (60 min) interval: 358, Log filename: DUPLOG_SIWPLMN_11_1401989174.LOG, smscSiwplmnName (OCTETSTR):SIWPLMN_11, trapTimeStamp (OCTETSTR): 5-JUN-2014 18:26:15.05
Service Warning[06-06-2014 17:40:33] SERVICE ALERT: smsc;SNMP Traps;WARNING;SOFT;9;TrapName smscSmhWarningTrap / trapData (OCTETSTR):25 53 4D 48 2D 49 2D 49 4E 46 4F 5F 53 2C 20 50 65 6E 64 69 6E 67 20 64 65 6C 65 74 65 20 63 6F 6D 6D 61 6E 64 20 66 6F 72 20 41 44 42 20 28 61 64 64 72 65 73 73 3A 20 39 37 32 35 39 39 30 30 30 38 37 34 29 20 66 69 6E 69 73 68 65 64 2E 20 01 08 , smscSmhName (OCTETSTR):SMH00, trapTimeStamp (OCTETSTR): 5-JUN-2014 18:22:24.25
Service Warning[06-06-2014 17:40:33] SERVICE ALERT: smsc;SNMP Traps;WARNING;SOFT;8;TrapName smscSmhWarningTrap / trapData (OCTETSTR):25 53 4D 48 2D 49 2D 49 4E 46 4F 5F 53 2C 20 50 65 6E 64 69 6E 67 20 64 65 6C 65 74 65 20 63 6F 6D 6D 61 6E 64 20 66 6F 72 20 41 44 42 20 28 61 64 64 72 65 73 73 3A 20 39 37 32 35 39 39 30 30 30 38 37 34 29 20 66 69 6E 69 73 68 65 64 2E 20 01 08 , smscSmhName (OCTETSTR):SMH00, trapTimeStamp (OCTETSTR): 5-JUN-2014 18:22:19.96
Service Warning[06-06-2014 17:40:32] SERVICE ALERT: smsc;SNMP Traps;WARNING;SOFT;7;TrapName smscSmhWarningTrap / trapData (OCTETSTR):25 53 4D 48 2D 49 2D 49 4E 46 4F 5F 53 2C 20 50 65 6E 64 69 6E 67 20 64 65 6C 65 74 65 20 63 6F 6D 6D 61 6E 64 20 66 6F 72 20 41 44 42 20 28 61 64 64 72 65 73 73 3A 20 39 37 32 35 39 39 30 30 30 38 37 34 29 20 66 69 6E 69 73 68 65 64 2E 20 01 08 , smscSmhName (OCTETSTR):SMH00, trapTimeStamp (OCTETSTR): 5-JUN-2014 18:22:14.33
Service Warning[06-06-2014 17:40:32] SERVICE ALERT: smsc;SNMP Traps;WARNING;SOFT;6;TrapName smscSmhWarningTrap / trapData (OCTETSTR):25 53 4D 48 2D 49 2D 49 4E 46 4F 5F 53 2C 20 50 65 6E 64 69 6E 67 20 64 65 6C 65 74 65 20 63 6F 6D 6D 61 6E 64 20 66 6F 72 20 41 44 42 20 28 61 64 64 72 65 73 73 3A 20 39 37 32 35 39 39 30 30 30 38 37 34 29 20 66 69 6E 69 73 68 65 64 2E 20 01 08 , smscSmhName (OCTETSTR):SMH00, trapTimeStamp (OCTETSTR): 5-JUN-2014 18:22:10.08
Service Warning[06-06-2014 17:40:32] SERVICE ALERT: smsc;SNMP Traps;WARNING;SOFT;5;TrapName smscSmhWarningTrap / trapData (OCTETSTR):25 53 4D 48 2D 49 2D 49 4E 46 4F 5F 53 2C 20 50 65 6E 64 69 6E 67 20 64 65 6C 65 74 65 20 63 6F 6D 6D 61 6E 64 20 66 6F 72 20 41 44 42 20 28 61 64 64 72 65 73 73 3A 20 39 37 32 35 39 39 30 30 30 38 37 34 29 20 66 69 6E 69 73 68 65 64 2E 20 01 08 , smscSmhName (OCTETSTR):SMH00, trapTimeStamp (OCTETSTR): 5-JUN-2014 18:22:05.66
Service Warning[06-06-2014 17:40:26] SERVICE ALERT: smsc;SNMP Traps;WARNING;SOFT;4;TrapName smscSmhWarningTrap / trapData (OCTETSTR):25 53 4D 48 2D 49 2D 49 4E 46 4F 5F 53 2C 20 50 65 6E 64 69 6E 67 20 64 65 6C 65 74 65 20 63 6F 6D 6D 61 6E 64 20 66 6F 72 20 41 44 42 20 28 61 64 64 72 65 73 73 3A 20 39 37 32 35 39 39 30 30 30 38 37 34 29 20 66 69 6E 69 73 68 65 64 2E 20 01 08 , smscSmhName (OCTETSTR):SMH00, trapTimeStamp (OCTETSTR): 5-JUN-2014 18:17:50.97
Service Warning[06-06-2014 17:40:26] SERVICE ALERT: smsc;SNMP Traps;WARNING;SOFT;3;TrapName smscSmhWarningTrap / trapData (OCTETSTR):25 53 4D 48 2D 49 2D 49 4E 46 4F 5F 53 2C 20 50 65 6E 64 69 6E 67 20 64 65 6C 65 74 65 20 63 6F 6D 6D 61 6E 64 20 66 6F 72 20 41 44 42 20 28 61 64 64 72 65 73 73 3A 20 39 37 32 35 39 39 30 30 30 38 37 34 29 20 66 69 6E 69 73 68 65 64 2E 20 01 08 , smscSmhName (OCTETSTR):SMH00, trapTimeStamp (OCTETSTR): 5-JUN-2014 18:17:47.25
Service Warning[06-06-2014 17:40:26] SERVICE ALERT: smsc;SNMP Traps;WARNING;SOFT;2;TrapName smscSmhWarningTrap / trapData (OCTETSTR):25 53 4D 48 2D 49 2D 49 4E 46 4F 5F 53 2C 20 50 65 6E 64 69 6E 67 20 64 65 6C 65 74 65 20 63 6F 6D 6D 61 6E 64 20 66 6F 72 20 41 44 42 20 28 61 64 64 72 65 73 73 3A 20 39 37 32 35 39 39 30 30 30 38 37 34 29 20 66 69 6E 69 73 68 65 64 2E 20 01 08 , smscSmhName (OCTETSTR):SMH00, trapTimeStamp (OCTETSTR): 5-JUN-2014 18:17:43.16
Service Warning[06-06-2014 17:40:23] SERVICE ALERT: smsc;SNMP Traps;WARNING;SOFT;1;TrapName smscSmhWarningTrap / trapData (OCTETSTR):25 53 4D 48 2D 49 2D 49 4E 46 4F 5F 53 2C 20 50 65 6E 64 69 6E 67 20 64 65 6C 65 74 65 20 63 6F 6D 6D 61 6E 64 20 66 6F 72 20 41 44 42 20 28 61 64 64 72 65 73 73 3A 20 39 37 32 35 39 39 30 30 30 38 37 34 29 20 66 69 6E 69 73 68 65 64 2E 20 01 08 , smscSmhName (OCTETSTR):SMH00, trapTimeStamp (OCTETSTR): 5-JUN-2014 18:14:54.87-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: snmp traps
I'm still not understanding what you expect to happen, and what you feel is happening instead. We need why or what you feel is not working in your thoughts not just logs. From looking at this, it seems OK, but again I don't know what you are expecting to see instead.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
-
hanya.radwan
- Posts: 194
- Joined: Tue Feb 25, 2014 6:12 am
- Location: palestine
Re: snmp traps
it sent many notifications as warning
-
hanya.radwan
- Posts: 194
- Joined: Tue Feb 25, 2014 6:12 am
- Location: palestine
Re: snmp traps
this accure after upgrade to R2014 1.0
Code: Select all
[06-06-2014 18:08:51] SERVICE ALERT: smsc;SNMP Traps;WARNING;HARD;20;TrapName smscSiwplmnWarningTrap / trapData (OCTETSTR):%SPL-I-INFO, Number of Rejected Duplicates in past (60 min) interval: 358, Log filename: DUPLOG_SIWPLMN_11_1401989174.LOG, smscSiwplmnName (OCTETSTR):SIWPLMN_11, trapTimeStamp (OCTETSTR): 5-JUN-2014 18:26:15.05
Service Warning[06-06-2014 18:08:45] SERVICE ALERT: smsc;SNMP Traps;WARNING;HARD;20;TrapName smscSmhWarningTrap / trapData (OCTETSTR):25 53 4D 48 2D 49 2D 49 4E 46 4F 5F 53 2C 20 50 65 6E 64 69 6E 67 20 64 65 6C 65 74 65 20 63 6F 6D 6D 61 6E 64 20 66 6F 72 20 41 44 42 20 28 61 64 64 72 65 73 73 3A 20 39 37 32 35 39 39 30 30 30 38 37 34 29 20 66 69 6E 69 73 68 65 64 2E 20 01 08 , smscSmhName (OCTETSTR):SMH00, trapTimeStamp (OCTETSTR): 5-JUN-2014 18:22:24.25
Service Warning[06-06-2014 18:08:45] SERVICE ALERT: smsc;SNMP Traps;WARNING;HARD;20;TrapName smscSmhWarningTrap / trapData (OCTETSTR):25 53 4D 48 2D 49 2D 49 4E 46 4F 5F 53 2C 20 50 65 6E 64 69 6E 67 20 64 65 6C 65 74 65 20 63 6F 6D 6D 61 6E 64 20 66 6F 72 20 41 44 42 20 28 61 64 64 72 65 73 73 3A 20 39 37 32 35 39 39 30 30 30 38 37 34 29 20 66 69 6E 69 73 68 65 64 2E 20 01 08 , smscSmhName (OCTETSTR):SMH00, trapTimeStamp (OCTETSTR): 5-JUN-2014 18:22:19.96
Service Warning[06-06-2014 18:08:45] SERVICE ALERT: smsc;SNMP Traps;WARNING;HARD;20;TrapName smscSmhWarningTrap / trapData (OCTETSTR):25 53 4D 48 2D 49 2D 49 4E 46 4F 5F 53 2C 20 50 65 6E 64 69 6E 67 20 64 65 6C 65 74 65 20 63 6F 6D 6D 61 6E 64 20 66 6F 72 20 41 44 42 20 28 61 64 64 72 65 73 73 3A 20 39 37 32 35 39 39 30 30 30 38 37 34 29 20 66 69 6E 69 73 68 65 64 2E 20 01 08 , smscSmhName (OCTETSTR):SMH00, trapTimeStamp (OCTETSTR): 5-JUN-2014 18:22:14.33
Service Warning[06-06-2014 18:08:45] SERVICE ALERT: smsc;SNMP Traps;WARNING;HARD;20;TrapName smscSmhWarningTrap / trapData (OCTETSTR):25 53 4D 48 2D 49 2D 49 4E 46 4F 5F 53 2C 20 50 65 6E 64 69 6E 67 20 64 65 6C 65 74 65 20 63 6F 6D 6D 61 6E 64 20 66 6F 72 20 41 44 42 20 28 61 64 64 72 65 73 73 3A 20 39 37 32 35 39 39 30 30 30 38 37 34 29 20 66 69 6E 69 73 68 65 64 2E 20 01 08 , smscSmhName (OCTETSTR):SMH00, trapTimeStamp (OCTETSTR): 5-JUN-2014 18:22:10.08
Service Warning[06-06-2014 18:08:44] SERVICE ALERT: smsc;SNMP Traps;WARNING;HARD;20;TrapName smscSmhWarningTrap / trapData (OCTETSTR):25 53 4D 48 2D 49 2D 49 4E 46 4F 5F 53 2C 20 50 65 6E 64 69 6E 67 20 64 65 6C 65 74 65 20 63 6F 6D 6D 61 6E 64 20 66 6F 72 20 41 44 42 20 28 61 64 64 72 65 73 73 3A 20 39 37 32 35 39 39 30 30 30 38 37 34 29 20 66 69 6E 69 73 68 65 64 2E 20 01 08 , smscSmhName (OCTETSTR):SMH00, trapTimeStamp (OCTETSTR): 5-JUN-2014 18:22:05.66
Service Warning[06-06-2014 18:08:38] SERVICE ALERT: smsc;SNMP Traps;WARNING;HARD;20;TrapName smscSmhWarningTrap / trapData (OCTETSTR):25 53 4D 48 2D 49 2D 49 4E 46 4F 5F 53 2C 20 50 65 6E 64 69 6E 67 20 64 65 6C 65 74 65 20 63 6F 6D 6D 61 6E 64 20 66 6F 72 20 41 44 42 20 28 61 64 64 72 65 73 73 3A 20 39 37 32 35 39 39 30 30 30 38 37 34 29 20 66 69 6E 69 73 68 65 64 2E 20 01 08 , smscSmhName (OCTETSTR):SMH00, trapTimeStamp (OCTETSTR): 5-JUN-2014 18:17:50.97
Service Warning[06-06-2014 18:08:38] SERVICE ALERT: smsc;SNMP Traps;WARNING;HARD;20;TrapName smscSmhWarningTrap / trapData (OCTETSTR):25 53 4D 48 2D 49 2D 49 4E 46 4F 5F 53 2C 20 50 65 6E 64 69 6E 67 20 64 65 6C 65 74 65 20 63 6F 6D 6D 61 6E 64 20 66 6F 72 20 41 44 42 20 28 61 64 64 72 65 73 73 3A 20 39 37 32 35 39 39 30 30 30 38 37 34 29 20 66 69 6E 69 73 68 65 64 2E 20 01 08 , smscSmhName (OCTETSTR):SMH00, trapTimeStamp (OCTETSTR): 5-JUN-2014 18:17:47.25
Service Warning[06-06-2014 18:08:38] SERVICE ALERT: smsc;SNMP Traps;WARNING;HARD;20;TrapName smscSmhWarningTrap / trapData (OCTETSTR):25 53 4D 48 2D 49 2D 49 4E 46 4F 5F 53 2C 20 50 65 6E 64 69 6E 67 20 64 65 6C 65 74 65 20 63 6F 6D 6D 61 6E 64 20 66 6F 72 20 41 44 42 20 28 61 64 64 72 65 73 73 3A 20 39 37 32 35 39 39 30 30 30 38 37 34 29 20 66 69 6E 69 73 68 65 64 2E 20 01 08 , smscSmhName (OCTETSTR):SMH00, trapTimeStamp (OCTETSTR): 5-JUN-2014 18:17:43.16
Service Warning[06-06-2014 18:08:33] SERVICE ALERT: smsc;SNMP Traps;WARNING;HARD;20;TrapName smscSmhWarningTrap / trapData (OCTETSTR):25 53 4D 48 2D 49 2D 49 4E 46 4F 5F 53 2C 20 50 65 6E 64 69 6E 67 20 64 65 6C 65 74 65 20 63 6F 6D 6D 61 6E 64 20 66 6F 72 20 41 44 42 20 28 61 64 64 72 65 73 73 3A 20 39 37 32 35 39 39 30 30 30 38 37 34 29 20 66 69 6E 69 73 68 65 64 2E 20 01 08 , smscSmhName (OCTETSTR):SMH00, trapTimeStamp (OCTETSTR): 5-JUN-2014 18:14:54.87
Service Warning-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: snmp traps
Each of those are different traps with different timestamps. I would fully expect each of these to send a notification, as it is a passive service which will by default do this. What were you intending to have happen instead?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
-
hanya.radwan
- Posts: 194
- Joined: Tue Feb 25, 2014 6:12 am
- Location: palestine
Re: snmp traps
the problem that is nagios read old traps for example te following alart it is from 5-JUN:
[06-08-2014 14:10:04] SERVICE ALERT: smsc2;SNMP Traps;WARNING;HARD;1;TrapName smscSiwplmnWarningTrap / trapData (OCTETSTR):%SPL-I-INFO, Number of Rejected Duplicates in past (60 min) interval: 0, Log filename: DUPLOG_SIWPLMN_12_1401993972.LOG, smscSiwplmnName (OCTETSTR):SIWPLMN_12, trapTimeStamp (OCTETSTR): 5-JUN-2014 20:36:56.53
[06-08-2014 14:10:04] SERVICE ALERT: smsc2;SNMP Traps;WARNING;HARD;1;TrapName smscSiwplmnWarningTrap / trapData (OCTETSTR):%SPL-I-INFO, Number of Rejected Duplicates in past (60 min) interval: 0, Log filename: DUPLOG_SIWPLMN_12_1401993972.LOG, smscSiwplmnName (OCTETSTR):SIWPLMN_12, trapTimeStamp (OCTETSTR): 5-JUN-2014 20:36:56.53
-
hanya.radwan
- Posts: 194
- Joined: Tue Feb 25, 2014 6:12 am
- Location: palestine
Re: snmp traps
after upgrade to 2014R1.0, the following error appeared and at nagiosXI shows old traps alerts but on nagios core shows new one as the images:
alarmAdditionalText (OCTETSTR):Component supervision lost, alarmXCausingInstances (OCTETSTR):imNTF::[email protected], alarmXCauseText (OCTETSTR):Component SNMP subagents are down /
alarmAdditionalText (OCTETSTR):Component supervision lost, alarmXCausingInstances (OCTETSTR):imNTF::[email protected], alarmXCauseText (OCTETSTR):Component SNMP subagents are down /
You do not have the required permissions to view the files attached to this post.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: snmp traps
Well let's take a look at a few things, if you are getting old traps, this is likely snmptt not being able to reap and remove those files, as nagios only reports on what it has been passed.
Code: Select all
ll /var/spool/snmptt/ | wc -l
ll -t /var/spool/snmptt | tail -20Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.