Hi,
My problem :
I wan't nagios send automatic alert CRITICAL / WARNING to an email adress and i tried to ionstall / configure for do this.
I don't try to do this.
Daemon status :
[root@xxxxxxxxxxxxxxx ~]# service postfix status
postfix.service - LSB: start and stop postfix
Loaded: loaded (/etc/rc.d/init.d/postfix)
Active: active (running) since Mon, 17 Dec 2012 08:21:10 +0100; 11s ago
Process: 15920 ExecStart=/etc/rc.d/init.d/postfix start (code=exited, status=0/SUCCESS)
Main PID: 15997 (master)
CGroup: name=systemd:/system/postfix.service
â 15997 /usr/libexec/postfix/master
â 16003 pickup -l -t fifo -u
â 16004 qmgr -l -t fifo -u
Telnet :
[root@xxxxxxxxxxxxxxx ~]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 xxxxxxxxxxxxxxx.renault-trucks.com ESMTP Postfix
quit
221 2.0.0 Bye
Connection closed by foreign host.
[root@xxxxxxxxxxxxxxx ~]# vi /var/log/maillog
Dec 17 03:53:30 localhost sendmail[22241]: qBH2rUtj022241: from=root, size=327, class=0, nrcpts=1, msgid=<
[email protected]>, relay=root@localhost
Dec 17 03:53:31 localhost sendmail[22242]: qBH2rUdT022242: from=<
[email protected]>, size=615, class=0, nrcpts=1, msgid=<
[email protected]>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Dec 17 03:53:31 localhost sendmail[22241]: qBH2rUtj022241: to=root, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30327, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (qBH2rUdT022242 Message accepted for delivery)
Dec 17 03:53:31 localhost sendmail[22243]: qBH2rUdT022242: to=<
[email protected]>, ctladdr=<
[email protected]> (0/0), delay=00:00:01, xdelay=00:00:00, mailer=local, pri=30851, dsn=2.0.0, stat=Sent
Dec 17 08:21:09 localhost sendmail[15924]: alias database /etc/aliases rebuilt by root
Dec 17 08:21:09 localhost sendmail[15924]: /etc/aliases: 76 aliases, longest 10 bytes, 771 bytes total
Dec 17 08:21:10 localhost postfix/postfix-script[15996]: starting the Postfix mail system
Dec 17 08:21:10 localhost postfix/master[15997]: daemon started -- version 2.8.12, configuration /etc/postfix
Dec 17 08:22:29 localhost postfix/smtpd[16414]: connect from localhost.localdomain[127.0.0.1]
Dec 17 08:23:48 localhost postfix/smtpd[16414]: disconnect from localhost.localdomain[127.0.0.1]
[root@xxxxxxxxxxxxxxx ~]# vi /var/log/messages
Dec 17 08:03:51 localhost kernel: [314561.323970] type=1400 audit(1355727831.090:91): avc: denied { create } for pid=22221 comm="httpd" name="wrtYpWVbU" scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:usr_t:s0 tclass=file
Dec 17 08:03:51 localhost kernel: [314561.331399] type=1400 audit(1355727831.097:92): avc: denied { write } for pid=22221 comm="httpd" path="/usr/local/centreon/GPL_LIB/SmartyCache/compile/wrtYpWVbU" dev="dm-1" ino=1185100 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:usr_t:s0 tclass=file
Dec 17 08:03:51 localhost kernel: [314561.339216] type=1400 audit(1355727831.105:93): avc: denied { rename } for pid=22221 comm="httpd" name="wrtYpWVbU" dev="dm-1" ino=1185100 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:usr_t:s0 tclass=file
Dec 17 08:03:51 localhost kernel: [314561.339228] type=1400 audit(1355727831.105:94): avc: denied { unlink } for pid=22221 comm="httpd" name="%%8A^8AC^8AC56E7C%%BlockHeader.ihtml.php" dev="dm-1" ino=1177384 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:usr_t:s0 tclass=file
Dec 17 08:03:51 localhost kernel: [314561.339420] type=1400 audit(1355727831.105:95): avc: denied { setattr } for pid=22221 comm="httpd" name="%%8A^8AC^8AC56E7C%%BlockHeader.ihtml.php" dev="dm-1" ino=1185100 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:usr_t:s0 tclass=file
Dec 17 08:05:10 localhost systemd-logind[783]: New session 12722 of user raphael.
Dec 17 08:05:16 localhost dbus[817]: [system] Activating service name='net.reactivated.Fprint' (using servicehelper)
Dec 17 08:05:16 localhost dbus-daemon[817]: dbus[817]: [system] Activating service name='net.reactivated.Fprint' (using servicehelper)
Thanks for your help.
Raph
