Thursday, June 20th 2013, 6:11am UTC+2

You are not logged in.

  • Login
  • Register

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.

LinuxN00b

Trainee

Posts: 111

Gender: male

Number of monitoring servers: 1

Nagios Version: keine

Icinga Version: 1.6.1

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 5

Number of services: 32

OS: Linux, Windows

Plugin Version: 1.4.15

Other Addons: NSClient++

1

Wednesday, March 28th 2012, 4:16pm

Icinga verschickt keine E-Mails

Guten Tag liebe leute ich hab das verlangen euch wieder zu belässtigen :P

Die Überschrift sagt eig. schon alles... mein Postfix verschickt E-Mails das funktioniert...nur wenn sich ein status eines hosts/services verändert
passiert E-Mail technisch garnichts.. habt ihr vielleicht ideen woran es liegen könnte?
Einfach mal so in den Raum werfen?=)

MfG
N00b

Bastian Kuhn

Professional

Posts: 833

Gender: male

Location: München

Occupation: Berater/ Entwickler am besten Monitoring System der Welt :)

Number of monitoring servers: 8

Hobbies: Jiu Jitsu, Klettern, MTB, Reisen

Nagios Version: OMD/CMK GIT

Distributed monitoring: Ja

Redundant monitoring: Ja

Number of hosts: >5.000

Number of services: >95.000

OS: Linux, AIX, Windows

Plugin Version: OMD/CMK GIT

2

Wednesday, March 28th 2012, 4:35pm

Also meine Glaskugel ist leider gerade kaputt, kann ich also gerade nicht reinschauen um dir zu helfen...

julian

Intermediate

Posts: 240

Number of monitoring servers: 3

Nagios Version: 3.2.3

Icinga Version: 1.6.1

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 40,230,150

Number of services: 350,500,200

OS: Debian Squeeze, SLES11, Win2k8R2

Plugin Version: 1.4.15

IDO-Version: 1.6

Other Addons: nrpe, pnp4nagios, check_mk

3

Wednesday, March 28th 2012, 4:48pm

Klappt der Versand nur via Shell?
Hat Nagios je Mails verschickt?
Wenn nicht, dann hast du entweder kein notificationcommand definiert, oder keinen Kontakt oder bei den timeperiods ist etwas verkehrt oder oder oder...

LinuxN00b

Trainee

Posts: 111

Gender: male

Number of monitoring servers: 1

Nagios Version: keine

Icinga Version: 1.6.1

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 5

Number of services: 32

OS: Linux, Windows

Plugin Version: 1.4.15

Other Addons: NSClient++

4

Wednesday, March 28th 2012, 5:17pm

@Bastian
sorry wollte nur einpaar denkanstöße haben =) was so die gängistens fehler sind :D

@Julian
Ja der E-Mail versandt funktioniert nur via shell...Icinga hat noch nie E-Mails verschickt

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
define contact{
    	contact_name                      	icingaadmin         	; Short name of user
       
 use                                     	generic-contact     	; Inherit 
default values from generic-contact template (defined above)
    	alias                                   	Icinga Admin        	; Full name of user
    	service_notification_options 	w,u,c,r,f,s
    	host_notification_options     	d,u,r,f,s
    	service_notifications_enabled 	1
    	host_notifications_enabled      	1
    	service_notification_period     	24x7
    	host_notification_period   	      24x7
    	service_notification_commands   notify-service-by-email
    	host_notification_commands  	notify-host-by-email
    	email                                    	Email@adresse.de  ; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ******
    	}


define contactgroup{
    	contactgroup_name	admins
    	alias                      	Icinga Administrators
    	members                	icingaadmin




z.B bei localhost.cfg hab ich das so eingefügt

define host{
use localhost
alias localhost
address 127.0.0.1
contact_groups admins
}

Pablo78

Intermediate

Posts: 231

Birthday: Apr 9th

Gender: male

Occupation: FiSi - Systemadmin aus Leidenschaft

Number of monitoring servers: 1

Hobbies: singen, klatschen und mit Fingerfarben malen

Nagios Version: OP5

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 750

Number of services: 6500

OS: OP5 - CentOS

Plugin Version: OP5 - Plugins

5

Wednesday, March 28th 2012, 5:20pm

Soweit ich das Sehen kann fehlt noch eine Eintragung hinsichtlich der Mail-Addy in deiner contact-Definition

Source code

1
email                                    	Email@adresse.de


<<***** CHANGE THIS TO YOUR EMAIL ADDRESS ****** 8)

Siehe den Beitrag als Gegenstandslos wenn Dir die Domäne adresse.de gehört und alle E-Mails an das Postfach Email@adresse.de gehen sollen ;)

mfg paul

LinuxN00b

Trainee

Posts: 111

Gender: male

Number of monitoring servers: 1

Nagios Version: keine

Icinga Version: 1.6.1

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 5

Number of services: 32

OS: Linux, Windows

Plugin Version: 1.4.15

Other Addons: NSClient++

6

Wednesday, March 28th 2012, 5:31pm

Okay hätte ich erwähnen müssen :D ich hab das vor dem Post hier im Editor so genannt da steht schon die richtige :)

bern

Master

Posts: 2,954

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

7

Wednesday, March 28th 2012, 5:39pm

  1. In der Web-UI nachsehen, ob der einschlägige Service tatsächlich Notifications (an den fraglichen Contact) zu verschicken versucht hat
  2. Wenn ja, mit dem Zeitstempel im Mail-Log nachlesen gehen

LinuxN00b

Trainee

Posts: 111

Gender: male

Number of monitoring servers: 1

Nagios Version: keine

Icinga Version: 1.6.1

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 5

Number of services: 32

OS: Linux, Windows

Plugin Version: 1.4.15

Other Addons: NSClient++

8

Wednesday, March 28th 2012, 5:44pm

Es steht dort nichts von wegen E-Mail versenden... hmmm

dnsmichi

Super Moderator

Posts: 6,101

Birthday: May 30th 1983 (30)

Gender: male

Location: Nürnberg

Occupation: Consultant / Developer beim besten Arbeitgeber der Welt @netways

Number of monitoring servers: Icinga: 4x dev, 10++ prod, Icinga2: 2x dev

Nagios Version: s/nagios/icinga/

Icinga Version: 1.9.1 / GIT

Distributed monitoring: Ja

Redundant monitoring: Ja

Number of hosts: 1000+

Number of services: 15000+

OS: RHEL, Debian, SUSE

Plugin Version: 1.4.16

IDO-Version: 1.9.1 / GIT MySQL/Postgresql/Oracle

Other Addons: Icinga Web, PNP, check_multi, inGraph, EventDB, LConf

9

Wednesday, March 28th 2012, 5:55pm

ich hab da im wiki vor einiger zeit mal was dazu geschrieben, wie man das im core tracen kann - wenn das system an sich funktioniert (!) - mir fehlt wie ueblich die information von os, mta, logs, configs. muss ja nicht gleich ein postfix sein ...

https://wiki.icinga.org/display/Dev/Icin…tionsarenotsent
+++ Icinga / LConf Developer +++ Senior Consultant at []NETWAYS> +++
+++ Icinga 1.9 || Icinga 2 +++ Icinga Support || IRC +++

LinuxN00b

Trainee

Posts: 111

Gender: male

Number of monitoring servers: 1

Nagios Version: keine

Icinga Version: 1.6.1

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 5

Number of services: 32

OS: Linux, Windows

Plugin Version: 1.4.15

Other Addons: NSClient++

10

Wednesday, March 28th 2012, 6:04pm

OS: Debian 6.0.3
MTA: Postfix
logs: welche willste haben?:D

Mysql schreibt keine logs :D die sind leer

Im Mail.warn steht : /etc/postfix/sasl_passwd.db is older than source file /etc/postfix/sasl_passwd

Apache access.log

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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
127.0.0.1 - icingaadmin
[28/Mar/2012:18:21:26 +0200] "GET
/icinga-web/modules/appkit/servertime HTTP/1.1" 200 594
"http://localhost/icinga-web/" "Mozilla/5.0 (X11; U;
Linux i686; 

127.0.0.1 - icingaadmin
[28/Mar/2012:18:21:27 +0200] "GET
/icinga-web/modules/cronks/monitorPerformance/json?_dc=1332951687336
HTTP/1.1" 200 945 "http://localhost/icinga-web/" "Mo
127.0.0.1 - icingaadmin
[28/Mar/2012:18:21:27 +0200] "GET
/icinga-web/modules/cronks/statusOverall/json?_dc=1332951687333
HTTP/1.1" 200 1059 "http://localhost/icinga-web/"
"Mozill
127.0.0.1 - icingaadmin
[28/Mar/2012:18:21:44 +0200] "GET
/icinga/cgi-bin/status.cgi?host=all&nostatusheader HTTP/1.1"
200 6173 "-" "Mozilla/5.0 (X11; U; Linux i686; de;
rv:1.9.1.
127.0.0.1 - icingaadmin
[28/Mar/2012:18:21:44 +0200] "GET /icinga/stylesheets/common.css
HTTP/1.1" 304 212
"http://localhost/icinga/cgi-bin/status.cgi?host=all&nostatusheader"
"Mo
127.0.0.1 - icingaadmin
[28/Mar/2012:18:21:44 +0200] "GET /icinga/stylesheets/status.css
HTTP/1.1" 304 214
"http://localhost/icinga/cgi-bin/status.cgi?host=all&nostatusheader"
"Mo
127.0.0.1 - icingaadmin
[28/Mar/2012:18:21:44 +0200] "GET /icinga/js/jquery-1.6.2.min.js
HTTP/1.1" 304 214
"http://localhost/icinga/cgi-bin/status.cgi?host=all&nostatusheader"
"Mo
127.0.0.1 - icingaadmin
[28/Mar/2012:18:21:44 +0200] "GET /icinga/js/jquery.dd.js
HTTP/1.1" 304 213
"http://localhost/icinga/cgi-bin/status.cgi?host=all&nostatusheader"
"Mozilla/5
127.0.0.1 - icingaadmin
[28/Mar/2012:18:21:44 +0200] "GET /icinga/stylesheets/dd.css
HTTP/1.1" 304 212
"http://localhost/icinga/cgi-bin/status.cgi?host=all&nostatusheader"
"Mozill
127.0.0.1 - icingaadmin
[28/Mar/2012:18:21:44 +0200] "GET /icinga/js/skinnytip.js
HTTP/1.1" 304 213
"http://localhost/icinga/cgi-bin/status.cgi?host=all&nostatusheader"
"Mozilla/5
127.0.0.1 - icingaadmin
[28/Mar/2012:18:21:44 +0200] "GET
/icinga/js/checkbox_functions.js HTTP/1.1" 304 213
"http://localhost/icinga/cgi-bin/status.cgi?host=all&nostatusheader"
"
127.0.0.1 - icingaadmin
[28/Mar/2012:18:21:44 +0200] "GET /icinga/images/export_csv.png
HTTP/1.1" 304 189
"http://localhost/icinga/cgi-bin/status.cgi?host=all&nostatusheader"
"Moz
127.0.0.1 - icingaadmin
[28/Mar/2012:18:21:44 +0200] "GET /icinga/images/export_json.png
HTTP/1.1" 304 189
"http://localhost/icinga/cgi-bin/status.cgi?host=all&nostatusheader"
"Mo
127.0.0.1 - icingaadmin
[28/Mar/2012:18:21:44 +0200] "GET /icinga/images/export_link.png
HTTP/1.1" 304 189
"http://localhost/icinga/cgi-bin/status.cgi?host=all&nostatusheader"
"Mo
127.0.0.1 - icingaadmin
[28/Mar/2012:18:21:44 +0200] "GET /icinga/images/up.gif
HTTP/1.1" 304 188
"http://localhost/icinga/cgi-bin/status.cgi?host=all&nostatusheader"
"Mozilla/5.0
127.0.0.1 - icingaadmin
[28/Mar/2012:18:21:44 +0200] "GET /icinga/images/down.gif
HTTP/1.1" 304 188
"http://localhost/icinga/cgi-bin/status.cgi?host=all&nostatusheader"
"Mozilla/5
127.0.0.1 - icingaadmin
[28/Mar/2012:18:21:44 +0200] "GET /icinga/images/ndisabled.gif
HTTP/1.1" 304 189
"http://localhost/icinga/cgi-bin/status.cgi?host=all&nostatusheader"
"Mozi
127.0.0.1 - icingaadmin
[28/Mar/2012:18:21:44 +0200] "GET
/icinga/images/interface/menu_li1.gif HTTP/1.1" 304 188
"http://localhost/icinga/stylesheets/status.css"
"Mozilla/5.0 (X1
127.0.0.1 - icingaadmin
[28/Mar/2012:18:21:44 +0200] "GET /icinga/images/comment.gif
HTTP/1.1" 304 189
"http://localhost/icinga/cgi-bin/status.cgi?host=all&nostatusheader"
"Mozill
127.0.0.1 - icingaadmin
[28/Mar/2012:18:21:44 +0200] "GET /icinga/images/disabled.gif
HTTP/1.1" 304 189
"http://localhost/icinga/cgi-bin/status.cgi?host=all&nostatusheader"
"Mozil
127.0.0.1 - icingaadmin
[28/Mar/2012:18:21:44 +0200] "GET /icinga/images/enabled.gif
HTTP/1.1" 304 189
"http://localhost/icinga/cgi-bin/status.cgi?host=all&nostatusheader"
"Mozill
127.0.0.1 - icingaadmin
[28/Mar/2012:18:21:44 +0200] "GET /icinga/images/delay.gif
HTTP/1.1" 304 189
"http://localhost/icinga/cgi-bin/status.cgi?host=all&nostatusheader"
"Mozilla/
127.0.0.1 - icingaadmin
[28/Mar/2012:18:21:44 +0200] "GET /icinga/images/passiveonly.gif
HTTP/1.1" 304 189
"http://localhost/icinga/cgi-bin/status.cgi?host=all&nostatusheader"
"Mo
127.0.0.1 - icingaadmin
[28/Mar/2012:18:21:44 +0200] "GET /icinga/images/ack.gif
HTTP/1.1" 304 189
"http://localhost/icinga/cgi-bin/status.cgi?host=all&nostatusheader"
"Mozilla/5.
127.0.0.1 - icingaadmin
[28/Mar/2012:18:21:44 +0200] "GET /icinga/images/noack.gif
HTTP/1.1" 304 189
"http://localhost/icinga/cgi-bin/status.cgi?host=all&nostatusheader"
"Mozilla/
127.0.0.1 - icingaadmin
[28/Mar/2012:18:21:44 +0200] "GET /icinga/images/notify.gif
HTTP/1.1" 304 189
"http://localhost/icinga/cgi-bin/status.cgi?host=all&nostatusheader"
"Mozilla
127.0.0.1 - icingaadmin
[28/Mar/2012:18:21:44 +0200] "GET /icinga/images/downtime.gif
HTTP/1.1" 304 189
"http://localhost/icinga/cgi-bin/status.cgi?host=all&nostatusheader"
"Mozil
127.0.0.1 - icingaadmin
[28/Mar/2012:18:21:44 +0200] "GET /icinga/images/dd_arrow.gif
HTTP/1.1" 304 188 "http://localhost/icinga/stylesheets/dd.css"
"Mozilla/5.0 (X11; U; Linux i6
127.0.0.1 - icingaadmin
[28/Mar/2012:18:21:57 +0200] "GET
/icinga/cgi-bin/tac.cgi?tac_header HTTP/1.1" 200 1850 "-"
"Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.16) Gecko/201203
127.0.0.1 - icingaadmin
[28/Mar/2012:18:21:57 +0200] "GET
/icinga/stylesheets/tacheader.css HTTP/1.1" 304 212
"http://localhost/icinga/cgi-bin/tac.cgi?tac_header"
"Mozilla/5.0 (X1
127.0.0.1 - icingaadmin
[28/Mar/2012:18:21:57 +0200] "GET /icinga/images/server.png
HTTP/1.1" 304 189
"http://localhost/icinga/cgi-bin/tac.cgi?tac_header"
"Mozilla/5.0 (X11; U; Li
127.0.0.1 - icingaadmin
[28/Mar/2012:18:21:57 +0200] "GET
/icinga/images/application-monitor.png HTTP/1.1" 304 189
"http://localhost/icinga/cgi-bin/tac.cgi?tac_header"
"Mozilla/5.
127.0.0.1 - icingaadmin
[28/Mar/2012:18:21:57 +0200] "GET
/icinga/images/hourglass-exclamation.png HTTP/1.1" 304 189
"http://localhost/icinga/cgi-bin/tac.cgi?tac_header"
"Mozilla/
127.0.0.1 - icingaadmin
[28/Mar/2012:18:21:57 +0200] "GET
/icinga/images/hourglass-arrow.png HTTP/1.1" 304 189
"http://localhost/icinga/cgi-bin/tac.cgi?tac_header"
"Mozilla/5.0 (X
127.0.0.1 - icingaadmin
[28/Mar/2012:18:21:57 +0200] "GET
/icinga/images/Icinga_TAC_Header_Webinterface.jpg HTTP/1.1" 304
190 "http://localhost/icinga/cgi-bin/tac.cgi?tac_header"




icinga.log

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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
[1332948641] idomod: Successfully
connected to data sink.  0 queued items to flush.
[1332948641] Event broker module
'/usr/local/icinga/bin/idomod.o' initialized successfully.
[1332948641] Finished daemonizing...
(New PID=28944)
[1332948641] Event loop started...
[1332948831] SERVICE NOTIFICATION:
icingaadmin;localhost;Root
Partition;CRITICAL;notify-service-by-email;DISK CRITICAL - free
space: / 433981 MB (98% inode=99%):
[1332949031] SERVICE NOTIFICATION:
icingaadmin;Azubi-PC.sds1.lokal;W3SVC;CRITICAL;notify-service-by-email;W3SVC:
Not found
[1332949296] Caught SIGTERM, shutting
down...
[1332949296] Successfully shutdown...
(PID=28944)
[1332949296] idomod: Error writing to
data sink!  Some output may get lost...
[1332949296] idomod: Please check
remote ido2db log, database connection or SSL Parameters
[1332949296] idomod: Shutdown complete.
[1332949296] Event broker module
'/usr/local/icinga/bin/idomod.o' deinitialized successfully.
[1332949296] Icinga 1.6.1 starting...
(PID=29319)
[1332949296] Local time is Wed Mar 28
17:41:36 CEST 2012
[1332949296] LOG VERSION: 2.0
[1332949296] idomod: IDOMOD 1.6.1
(12-02-2011) Copyright(c) 2005-2008 Ethan Galstad, Copyright(c)
2009-2011 Icinga Development Team (https://www.icinga.org)
[1332949296] idomod: Successfully
connected to data sink.  0 queued items to flush.
[1332949296] Event broker module
'/usr/local/icinga/bin/idomod.o' initialized successfully.
[1332949296] Finished daemonizing...
(New PID=29322)
[1332949296] Event loop started...
[1332949324] Caught SIGTERM, shutting
down...
[1332949324] Successfully shutdown...
(PID=29322)
[1332949324] idomod: Error writing to
data sink!  Some output may get lost...
[1332949324] idomod: Please check
remote ido2db log, database connection or SSL Parameters
[1332949324] idomod: Shutdown complete.
[1332949324] Event broker module
'/usr/local/icinga/bin/idomod.o' deinitialized successfully.
[1332949324] Icinga 1.6.1 starting...
(PID=29351)
[1332949324] Local time is Wed Mar 28
17:42:04 CEST 2012
[1332949324] LOG VERSION: 2.0
[1332949324] idomod: IDOMOD 1.6.1
(12-02-2011) Copyright(c) 2005-2008 Ethan Galstad, Copyright(c)
2009-2011 Icinga Development Team (https://www.icinga.org)
[1332949324] idomod: Successfully
connected to data sink.  0 queued items to flush.
[1332949324] Event broker module
'/usr/local/icinga/bin/idomod.o' initialized successfully.
[1332949324] Finished daemonizing...
(New PID=29354)
[1332949324] Event loop started...
[1332951104] SERVICE NOTIFICATION:
icingaadmin;localhost;SSH;CRITICAL;notify-service-by-email;Verbindungsaufbau
abgelehnt


icinga-web Logdatei

Source code

1
Auth.Dispatch: Delegate authentication, no providers found for root (not_authoriative=internal)

This post has been edited 5 times, last edit by "LinuxN00b" (Mar 28th 2012, 6:40pm)


LinuxN00b

Trainee

Posts: 111

Gender: male

Number of monitoring servers: 1

Nagios Version: keine

Icinga Version: 1.6.1

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 5

Number of services: 32

OS: Linux, Windows

Plugin Version: 1.4.15

Other Addons: NSClient++

11

Wednesday, March 28th 2012, 6:40pm

und hier der Syslog

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
Mar 28 18:37:14 Icingaserv icinga:
SERVICE NOTIFICATION:
icingaadmin;Azubi-PC.sds1.lokal;W3SVC;CRITICAL;notify-service-by-email;W3SVC:
Not found
Mar 28 18:37:14 Icingaserv
postfix/pickup[30491]: 35F25AB634D: uid=1001 from=<icinga>
Mar 28 18:37:14 Icingaserv
postfix/cleanup[31189]: 35F25AB634D:
message-id=<20120328163714.35F25AB634D@Icingaserv>
Mar 28 18:37:14 Icingaserv
postfix/qmgr[27288]: 35F25AB634D:
from=<icinga@Icingaserv.sds1.lokal>, size=542, nrcpt=1 (queue
active)
Mar 28 18:37:14 Icingaserv
postfix/smtp[31191]: warning: database /etc/postfix/sasl_passwd.db is
older than source file /etc/postfix/sasl_passwd
Mar 28 18:37:14 Icingaserv
postfix/smtp[31191]: 35F25AB634D: to=<TestNag@web.de>,
relay=smtp.web.de[217.72.192.157]:25, delay=0.21,
delays=0.01/0.01/0.17/0.02, dsn=5.0.0, status=b
Mar 28 18:37:14 Icingaserv
postfix/cleanup[31189]: 6C6A1AB634E:
message-id=<20120328163714.6C6A1AB634E@Icingaserv>
Mar 28 18:37:14 Icingaserv
postfix/qmgr[27288]: 6C6A1AB634E: from=<>, size=2388, nrcpt=1
(queue active)
Mar 28 18:37:14 Icingaserv
postfix/bounce[31193]: 35F25AB634D: sender non-delivery notification:
6C6A1AB634E
Mar 28 18:37:14 Icingaserv
postfix/qmgr[27288]: 35F25AB634D: removed
Mar 28 18:37:14 Icingaserv
postfix/local[31194]: 6C6A1AB634E: to=<icinga@Icingaserv.sds1.lokal>,
relay=local, delay=0.01, delays=0/0.01/0/0.01, dsn=2.0.0, status=sent
(delivered t
Mar 28 18:37:14 Icingaserv
postfix/qmgr[27288]: 6C6A1AB634E: removed




ps: sorry musste einen neuen Beitrag aufmachen, da der andere zu lang war :D




in der commands.cfg bei den beiden notify befehlen
steht
/usr/bin/mail -s

oder muss da i.was auf postfix verweisen?
ist das so richtig??

This post has been edited 1 times, last edit by "LinuxN00b" (Mar 28th 2012, 6:57pm)


dnsmichi

Super Moderator

Posts: 6,101

Birthday: May 30th 1983 (30)

Gender: male

Location: Nürnberg

Occupation: Consultant / Developer beim besten Arbeitgeber der Welt @netways

Number of monitoring servers: Icinga: 4x dev, 10++ prod, Icinga2: 2x dev

Nagios Version: s/nagios/icinga/

Icinga Version: 1.9.1 / GIT

Distributed monitoring: Ja

Redundant monitoring: Ja

Number of hosts: 1000+

Number of services: 15000+

OS: RHEL, Debian, SUSE

Plugin Version: 1.4.16

IDO-Version: 1.9.1 / GIT MySQL/Postgresql/Oracle

Other Addons: Icinga Web, PNP, check_multi, inGraph, EventDB, LConf

12

Wednesday, March 28th 2012, 7:02pm

wie kommst du auf mysql log? aber gut, syslog haette gereicht ob deines problems.

und wie sehen nun die notification commands aus.

was passiert, wenn du das als icinga user manuell testest - wie das notification command (raw) rauszubekommen ist, siehe https://wiki.icinga.org/display/Dev/Icin…tionsarenotsent und um das dann zu testen https://wiki.icinga.org/display/testing/…+Plugin+Testing
+++ Icinga / LConf Developer +++ Senior Consultant at []NETWAYS> +++
+++ Icinga 1.9 || Icinga 2 +++ Icinga Support || IRC +++

LinuxN00b

Trainee

Posts: 111

Gender: male

Number of monitoring servers: 1

Nagios Version: keine

Icinga Version: 1.6.1

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 5

Number of services: 32

OS: Linux, Windows

Plugin Version: 1.4.15

Other Addons: NSClient++

13

Wednesday, March 28th 2012, 7:23pm

Ich habe was verändert bei den commands.cfg wenn ich jetzt im Classic GUI eine E-Mail versende anhand von"Send custom service notification"
steht im mail.log folgendes..

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
Mar 28 19:18:52 Icingaserv postfix/pickup[30491]: 3117DAB634D: uid=1001 from=<icinga>
Mar 28 19:18:52 Icingaserv postfix/cleanup[32608]: 3117DAB634D: message-id=<20120328171852.3117DAB634D@Icingaserv>
Mar
 28 19:18:52 Icingaserv postfix/qmgr[27288]: 3117DAB634D: 
from=<icinga@Icingaserv.sds1.lokal>, size=538, nrcpt=1 (queue 
active)
Mar 28 19:18:52 Icingaserv postfix/smtp[32610]: warning: 
database /etc/postfix/sasl_passwd.db is older than source file 
/etc/postfix/sasl_passwd
Mar 28 19:18:52 Icingaserv 
postfix/smtp[32610]: 3117DAB634D: to=<TestNag@web.de>, 
relay=smtp.web.de[217.72.192.157]:25, delay=0.22, 
delays=0.01/0.01/0.18/0.02, dsn=5.0.0, status=b
Mar 28 19:18:52 Icingaserv postfix/cleanup[32608]: 6C1B0AB634E: message-id=<20120328171852.6C1B0AB634E@Icingaserv>
Mar 28 19:18:52 Icingaserv postfix/bounce[32611]: 3117DAB634D: sender non-delivery notification: 6C1B0AB634E
Mar 28 19:18:52 Icingaserv postfix/qmgr[27288]: 6C1B0AB634E: from=<>, size=2384, nrcpt=1 (queue active)
Mar 28 19:18:52 Icingaserv postfix/qmgr[27288]: 3117DAB634D: removed

Mar
 28 19:18:52 Icingaserv postfix/local[32612]: 6C1B0AB634E: 
to=<icinga@Icingaserv.sds1.lokal>, relay=local, delay=0.01, 
delays=0/0.01/0/0.01, dsn=2.0.0, status=sent (delivered t
Mar 28 19:18:52 Icingaserv postfix/qmgr[27288]: 6C1B0AB634E: removed




woher holt der sich das inicinga bei icinga@icingaserv.sds1.lokal ....

This post has been edited 2 times, last edit by "LinuxN00b" (Mar 28th 2012, 8:29pm)


bern

Master

Posts: 2,954

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

14

Wednesday, March 28th 2012, 9:28pm

postfix/smtp[32610]: 3117DAB634D: to=<TestNag@web.de>, relay=smtp.web.de[217.72.192.157]:25, delay=0.22, delays=0.01/0.01/0.18/0.02, dsn=5.0.0, status=b
Da fehlt noch 'was (Copy Pasta aus einem Terminal beschränkter Breite?), das erwünschte "status=sent" isses jedenfalls nicht ...
woher holt der sich das inicinga bei icinga@icingaserv.sds1.lokal ....
Von der Tatsache, daß der Icinga, der die Mail 'raushaut, als User "icinga" läuft:

Mar 28 19:18:52 Icingaserv postfix/pickup[30491]: 3117DAB634D: uid=1001 from=<icinga>

LinuxN00b

Trainee

Posts: 111

Gender: male

Number of monitoring servers: 1

Nagios Version: keine

Icinga Version: 1.6.1

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 5

Number of services: 32

OS: Linux, Windows

Plugin Version: 1.4.15

Other Addons: NSClient++

15

Wednesday, March 28th 2012, 9:45pm

hmm oke und wie kann man das problem beheben?:( das er das nichtmehr macht?:-O
muss ich jetzt extra eine addy machen wo icinga am anfang steht?..

Posts: 7,290

Gender: male

Number of monitoring servers: 2

Nagios Version: 3.2.1

Icinga Version: Icinga 1.7.x

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: >70

Number of services: >200

OS: SLES11

Plugin Version: 1.4.15

Other Addons: NRPE 2.6, NSCA 2.7, PNP 0.4.14 / 0.6.18

16

Wednesday, March 28th 2012, 10:39pm

Quoted

Ja der E-Mail versandt funktioniert nur via shell...
An die Mail-Adresse, die du auch bei den Icinga-Benachrichtigungen benutzt? Oder liegt das "bouncen" vielleicht einfach nur daran, daß web.de nicht relayhost für deine Mails spielen will?

julian

Intermediate

Posts: 240

Number of monitoring servers: 3

Nagios Version: 3.2.3

Icinga Version: 1.6.1

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 40,230,150

Number of services: 350,500,200

OS: Debian Squeeze, SLES11, Win2k8R2

Plugin Version: 1.4.15

IDO-Version: 1.6

Other Addons: nrpe, pnp4nagios, check_mk

17

Thursday, March 29th 2012, 8:23am

Sorry, aber ich glaube, du hast das Konzept immer noch nicht verstanden.

Icinga kann Mails mit wasauchimmer@meine.firma.de verschicken. Und zwar an jede x-beliebige Zieladresse.
Wichtig ist nur, dass sich das Mailrelay für @meine.firma.de zuständig fühlt und die Nachrichten weiterleitet / zustellt.

icingaserv.sds1.lokal = servername.meine.firma
icinga@icingaserv.sds1.lokal = icinga@servername.meine.firma

pitchfork

Administrator

Posts: 18,608

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

18

Thursday, March 29th 2012, 8:34am

Ich habe was verändert bei den commands.cfg wenn ich jetzt im Classic GUI eine E-Mail versende anhand von"Send custom service notification"
steht im mail.log folgendes..


Der Auszug ist definitiv nicht vollständig.
+++ PNP Developer +++ PNP 0.6.21 ist online ! +++
Hilfreiche Infos gefunden? Dann schnell ein paar Cent flattrn
OMD - Open Monitoring Distribution

LinuxN00b

Trainee

Posts: 111

Gender: male

Number of monitoring servers: 1

Nagios Version: keine

Icinga Version: 1.6.1

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 5

Number of services: 32

OS: Linux, Windows

Plugin Version: 1.4.15

Other Addons: NSClient++

19

Thursday, March 29th 2012, 10:09am

ja das problem war das die Adsenderadresse anschließend folgermassen aussah.
icinga@user@domain.tld

der hat immer das icinga@ davor gehauen. Hab das Problem jetzt gelöst :D
Zwar unsauber aber es klappt :P

Ich hab eine emal adresse mit dem namen icinga@domain.tld erstellt und einpaar änderungen vorgenommen jetzt klappts ;D

julian

Intermediate

Posts: 240

Number of monitoring servers: 3

Nagios Version: 3.2.3

Icinga Version: 1.6.1

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 40,230,150

Number of services: 350,500,200

OS: Debian Squeeze, SLES11, Win2k8R2

Plugin Version: 1.4.15

IDO-Version: 1.6

Other Addons: nrpe, pnp4nagios, check_mk

20

Thursday, March 29th 2012, 11:31am

Die Lösung hast du bestimmt durch eine Rekonfiguration von Postfix erreicht, gell? :)

Warum hast du denn eine neue Mailadresse erstellt?

Similar threads