Tuesday, May 21st 2013, 12:40am UTC+2
You are not logged in.
Dear visitor, welcome to Monitoring-Portal.
Although this is a german monitoring forum, please don't hesitate to post in
English. Nearly everybody here understands you and will answer in English as well.
If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form to register here or read more information about the registration process. If you are already registered, please login here.
Number of monitoring servers: 1
Nagios Version: 3.2.0
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 38
Number of services: 317
OS: Linux,Windows,ESX
Plugin Version: k.a.
Other Addons: Nuvola, Checkmk
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
Mon Jul 9 11:28:33 2012: Unknown trap (.1.3.6.1.4.1.31440.0.6) received from 192.168.23.10 at: Value 0: 192.168.23.10 Value 1: 192.168.23.10 Value 2: 115:5:24:30.31 Value 3: .1.3.6.1.4.1.31440.0.6 Value 4: 192.168.23.10 Value 5: public Value 6: .1.3.6.1.4.1.31440 Value 7: Value 8: Value 9: Value 10: Ent Value 0: .1.3.6.1.4.1.31440.2.2.1.1.4=1 Mon Jul 9 11:31:25 2012: Unknown trap (.1.3.6.1.4.1.31440.0.6) received from 192.168.23.10 at: Value 0: 192.168.23.10 Value 1: 192.168.23.10 Value 2: 121:10:59:44.32 Value 3: .1.3.6.1.4.1.31440.0.6 Value 4: 192.168.23.10 Value 5: public Value 6: .1.3.6.1.4.1.31440 Value 7: Value 8: Value 9: Value 10: Ent Value 0: .1.3.6.1.4.1.31440.2.2.1.1.4=2 |
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
********** SNMPTT v1.3 started: Wed Jul 11 10:50:24 2012 **********
********** Net-SNMP version 5.0401 Perl module enabled **********
********** DNS enabled **********
Loading /etc/snmp/snmptt.conf
Finished loading 64 lines from /etc/snmp/snmptt.conf
Loading /etc/snmp/snmptt.conf.nagios
Finished loading 65 lines from /etc/snmp/snmptt.conf.nagios
Loading /etc/snmp/snmptt.conf.owserver
Finished loading 113 lines from /etc/snmp/snmptt.conf.owserver
Loading
Could not open configuration file:
Finished loading configuration files
Processing memory copy of configuration files
7 EVENTs found
7 EVENTs found that contain at least the mandatory FORMAT line
Finished processing memory copy of configuration files
==========================================================
Printing out all the events in hash table:
Event: .1.3.6.1.4.1.1302.3.1.2.8.0.2 => jobAborted,Status Events,WARNING,Benutzer benachrichtigt: $1 Auftrag:$3 Abgebrochen durch:$4,
Event: .1.3.6.1.4.1.1302.3.1.2.8.0.3 => jobSuccess,Status Events,INFORMATIONAL,alles ok,
Event: .1.3.6.1.6.3.1.1.5.1 => coldStart,Status Events,Normal,Device reinitialized (coldStart),
Event: .1.3.6.1.6.3.1.1.5.2 => warmStart,Status Events,Normal,Device reinitialized (warmStart),
Event: .1.3.6.1.6.3.1.1.5.3 => linkDown,Status Events,Normal,Link down on interface $1. Admin state: $2. Operational state: $3 ,
Event: .1.3.6.1.6.3.1.1.5.4 => linkUp,Status Events,Normal,Link up on interface $1. Admin state: $2. Operational state: $3,
Event: .1.3.6.1.6.3.1.1.5.5 => authenticationFailure,Status Events,Normal,SNMP athentication failure,
Finished printing out all events in hash table
==========================================================
cwd: /
Changing to UID: nagios (1001)
Closing debug file /var/log/snmptt/snmptt.debug
|
This post has been edited 1 times, last edit by "skyerjoe" (Jul 13th 2012, 1:12pm)
Gender: male
Location: Köln
Number of monitoring servers: 1
Nagios Version: 3.2.3
Distributed monitoring: Ja
Redundant monitoring: Nein
Number of hosts: -
Number of services: -
OS: CentOS, Ubuntu, AIX, Solaris, Windows
Plugin Version: 1.4.15
NagVis Version: 1.5.8
Other Addons: OMD
Location: Kassel
Occupation: Sysadmin SAP / Linux / AIX
Number of monitoring servers: 2
Hobbies: Motorrad fahren, wenns die Zeit erlaubt :-)
Nagios Version: 3.2.3 ( OMD )
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 360
Number of services: 6700
OS: Debian 6.0
Plugin Version: 1.4.x
Other Addons: SNMPTT, NagTrap, check_mk, PNP-0.6.x. Thruk
Ich habe die Übersicht bei deinen Beiträgen verloren, aber vielleicht hilft es ja noch ein zusätzlichen Beitrag zu schreiben...
Number of monitoring servers: 1
Nagios Version: 3.2.0
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 38
Number of services: 317
OS: Linux,Windows,ESX
Plugin Version: k.a.
Other Addons: Nuvola, Checkmk
Quoted
+1![]()
Quoted
Ich habe die Übersicht bei deinen Beiträgen verloren, aber vielleicht hilft es ja noch ein zusätzlichen Beitrag zu schreiben...
Quoted
ich frage mich auch wie "MATCH $Ent Value 0: 1" funktiinieren soll.
This post has been edited 1 times, last edit by "skyerjoe" (Jul 16th 2012, 9:43am)
Location: Kassel
Occupation: Sysadmin SAP / Linux / AIX
Number of monitoring servers: 2
Hobbies: Motorrad fahren, wenns die Zeit erlaubt :-)
Nagios Version: 3.2.3 ( OMD )
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 360
Number of services: 6700
OS: Debian 6.0
Plugin Version: 1.4.x
Other Addons: SNMPTT, NagTrap, check_mk, PNP-0.6.x. Thruk
Number of monitoring servers: 1
Nagios Version: 3.2.0
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 38
Number of services: 317
OS: Linux,Windows,ESX
Plugin Version: k.a.
Other Addons: Nuvola, Checkmk
|
|
Source code |
1 2 3 4 5 6 7 |
$n - Expand variable-binding n (1-n) (see Note 2,5) $+n - Expand variable-binding n (1-n) in the format of variable name:value (see Note 2,3,5) $-n - Expand variable-binding n (1-n) in the format of variable name (variable type):value (see Note 2,3,5) $vn - Expand variable name of the variable-binding n (1-n)(see Note 3) $* - Expand all variable-bindings (see Note 5) $+* - Expand all variable-bindings in the format of variable name:value (see Note 2,3,5) $-* - Expand all variable-bindings in the format of variable name (variable type):value (see Note 2,3,5) |
Number of monitoring servers: 1
Nagios Version: 3.2.0
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 38
Number of services: 317
OS: Linux,Windows,ESX
Plugin Version: k.a.
Other Addons: Nuvola, Checkmk
Number of monitoring servers: 2-5
Nagios Version: 3.x
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 80-200
Number of services: 1400-2000
OS: Linux
Plugin Version: Whatever I can download, patch, or cobble together myself :-)
Other Addons: n2rrd, PNP, livestatus
Number of monitoring servers: 1
Nagios Version: 3.2.0
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 38
Number of services: 317
OS: Linux,Windows,ESX
Plugin Version: k.a.
Other Addons: Nuvola, Checkmk
Number of monitoring servers: 2-5
Nagios Version: 3.x
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 80-200
Number of services: 1400-2000
OS: Linux
Plugin Version: Whatever I can download, patch, or cobble together myself :-)
Other Addons: n2rrd, PNP, livestatus
Wireshark, Paket mit dem Trap anklicken, File -> Save As, Selected packet only, Wireshark/tcpdump libpcap Format würde mir vorschweben ... wobei ich allerdings keine SNMPTT-Installation zur Hand habe, um nach dem Scharfangucken dann auch mit der Matcherei zu experimentieren.Kannst du dir das mal anschauen ... und falls ja was bräuchtest du reicht der Abschnitt vom snmp Protokooll ...
Number of monitoring servers: 1
Nagios Version: 3.2.0
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 38
Number of services: 317
OS: Linux,Windows,ESX
Plugin Version: k.a.
Other Addons: Nuvola, Checkmk
Location: Kassel
Occupation: Sysadmin SAP / Linux / AIX
Number of monitoring servers: 2
Hobbies: Motorrad fahren, wenns die Zeit erlaubt :-)
Nagios Version: 3.2.3 ( OMD )
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 360
Number of services: 6700
OS: Debian 6.0
Plugin Version: 1.4.x
Other Addons: SNMPTT, NagTrap, check_mk, PNP-0.6.x. Thruk
|
|
Source code |
1 |
EXEC /usr/local/nagios/libexec/submit_check_result localhost "Water Alert" 2 "Water $3 is ok" |
Number of monitoring servers: 1
Nagios Version: 3.2.0
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 38
Number of services: 317
OS: Linux,Windows,ESX
Plugin Version: k.a.
Other Addons: Nuvola, Checkmk
Number of monitoring servers: 2-5
Nagios Version: 3.x
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 80-200
Number of services: 1400-2000
OS: Linux
Plugin Version: Whatever I can download, patch, or cobble together myself :-)
Other Addons: n2rrd, PNP, livestatus
Ähhhhh, Zement 'mal. Laut Wireshark hat dieser Trap überhaupt NUR die "Ent Value 0" als Varbind und KEINE der "nicht-Ent" Values - was dazu paßt, daß in denen auch nur "Pflichtbestandteile" eines Traps wie IPs, die Uptime, Community, Trap OID und deren Enterprise-Präfix zu stehen scheinen. Na, wenn das stimmt, dann hat sich bei der Log-Syntax aber ein rechter Wortverdreher ausgetobt.Anbei der Trap ( txt dann entfernen).
Location: Kassel
Occupation: Sysadmin SAP / Linux / AIX
Number of monitoring servers: 2
Hobbies: Motorrad fahren, wenns die Zeit erlaubt :-)
Nagios Version: 3.2.3 ( OMD )
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 360
Number of services: 6700
OS: Debian 6.0
Plugin Version: 1.4.x
Other Addons: SNMPTT, NagTrap, check_mk, PNP-0.6.x. Thruk
Ich dache die Match Line ist dafür da, dass snmptt den trap der im zugehörigen config zuordnen kann.
Aber wenn ich mit der Exec rumspiele, kann ich doch nicht die Variablen von snmptt mit reinsetzen ?(
Number of monitoring servers: 1
Nagios Version: 3.2.0
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 38
Number of services: 317
OS: Linux,Windows,ESX
Plugin Version: k.a.
Other Addons: Nuvola, Checkmk
Quoted
Spiel mit dem exec so lange rum bis du rausgefunden hast welche Variable welchen Wert enthällt.
Quoted
aber zum weiteren Analysieren würd' ich erstmal hiermit anfangen (kein MATCH, stattdessen Varbind samt Namen in die geloggten Texte expandieren):
|
|
Source code |
1 2 3 |
MATCH MODE=and MATCH $1: 1 MATCH $1: (.1.3.6.1.4.1.31440.2.2.1.1.5) |
This post has been edited 1 times, last edit by "skyerjoe" (Jul 23rd 2012, 1:41pm)
Location: Kassel
Occupation: Sysadmin SAP / Linux / AIX
Number of monitoring servers: 2
Hobbies: Motorrad fahren, wenns die Zeit erlaubt :-)
Nagios Version: 3.2.3 ( OMD )
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 360
Number of services: 6700
OS: Debian 6.0
Plugin Version: 1.4.x
Other Addons: SNMPTT, NagTrap, check_mk, PNP-0.6.x. Thruk
|
|
Source code |
1 |
EXEC /usr/local/nagios/libexec/submit_check_result localhost "Water Alert" 2 "var1 -> $1 var2 -> $2 var3 -> $3 var4 -> $4 var5 -> $5 var6 -> $6 var7 -> $7 var8 -> $8" |
Number of monitoring servers: 1
Nagios Version: 3.2.0
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 38
Number of services: 317
OS: Linux,Windows,ESX
Plugin Version: k.a.
Other Addons: Nuvola, Checkmk
Quoted
Also wenn ich noch mehr Tips gebe, kann ich das für dich auch gleich umsetzen.
Number of monitoring servers: 1
Nagios Version: 3.2.0
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 38
Number of services: 317
OS: Linux,Windows,ESX
Plugin Version: k.a.
Other Addons: Nuvola, Checkmk
Quoted
EXEC /usr/local/nagios/libexec/submit_check_result localhost"Water Alert" 2 "var1 -> $1 var2 -> $2 var3 -> $3 var4 -> $4 var5 -> $5 var6 -> $6 var7 -> $7 var8 -> $8"
Location: Kassel
Occupation: Sysadmin SAP / Linux / AIX
Number of monitoring servers: 2
Hobbies: Motorrad fahren, wenns die Zeit erlaubt :-)
Nagios Version: 3.2.3 ( OMD )
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 360
Number of services: 6700
OS: Debian 6.0
Plugin Version: 1.4.x
Other Addons: SNMPTT, NagTrap, check_mk, PNP-0.6.x. Thruk
wo befindest du dich mit deiner Auswertung von den Varaiblen ?