I got NagiosXI trial going to see if I like it. I'm used to using Nagios Core with NConf so this is all pretty awesome imo.
I got SMS and SMTP all set up and everything. Running tests work well. I get both texts and emails tests.
When I configured hosts, I set it to notify everyone listed immediately.
I enabled notifications in my profile and selected every checkbox for notifications.
For some reason, when a host goes down and it gets to max attempts, no notifications go out. I tried doing a force custom notification and still had no luck.
Looking at logs from /var/log/mailog I have this:
Code: Select all
Apr 19 10:47:04 localhost postfix/smtp[47151]: C1D4F1E120E: to=<MYEMAIL@MYDOMAIN.com>, relay=none, delay=78362, delays=78271/0.04/90/0, dsn=4.4.1, status=deferred (connect to MYDOMAIN.com[172.21.1.15]:25: Connection timed out)
Apr 19 11:10:34 localhost postfix/qmgr[6456]: 9886C1E12A3: from=<root@localhost.localdomain>, size=946, nrcpt=1 (queue active)
Apr 19 11:11:04 localhost postfix/smtp[57744]: connect to MYDOMAIN.com[172.21.1.17]:25: Connection timed out
Apr 19 11:11:34 localhost postfix/smtp[57744]: connect to MYDOMAIN.com[172.20.5.16]:25: Connection timed out
Apr 19 11:11:34 localhost postfix/smtp[57744]: connect to MYDOMAIN.com[69.16.254.0]:25: Connection refused
Apr 19 11:12:04 localhost postfix/smtp[57744]: connect to MYDOMAIN.com[172.21.1.15]:25: Connection timed out
Apr 19 11:12:34 localhost postfix/smtp[57744]: connect to MYDOMAIN.com[172.21.1.0]:25: Connection timed out
Apr 19 11:12:34 localhost postfix/smtp[57744]: 9886C1E12A3: to=<MYEMAIL@MYDOMAIN.com>, relay=none, delay=73440, delays=73320/0.04/120/0, dsn=4.4.1, status=deferred (connect to MYDOMAIN.com[172.21.1.0]:25: Connection timed out)
Apr 19 11:15:34 localhost postfix/qmgr[6456]: 95D4C1E10DE: from=<nagios@localhost.localdomain>, size=689, nrcpt=1 (queue active)
Apr 19 11:15:34 localhost postfix/qmgr[6456]: 836781E12AE: from=<nagios@localhost.localdomain>, size=681, nrcpt=1 (queue active)
Apr 19 11:15:34 localhost postfix/qmgr[6456]: BF6BA1E1044: from=<root@localhost.localdomain>, size=946, nrcpt=1 (queue active)
Apr 19 11:16:04 localhost postfix/smtp[59644]: connect to MYDOMAIN.com[172.20.5.16]:25: Connection timed out
Apr 19 11:16:04 localhost postfix/smtp[59645]: connect to MYDOMAIN.com[172.20.1.0]:25: Connection timed out
Apr 19 11:16:04 localhost postfix/smtp[59646]: connect to MYDOMAIN.com[172.21.1.15]:25: Connection timed out
Apr 19 11:16:04 localhost postfix/smtp[59645]: connect to MYDOMAIN.com[69.16.254.0]:25: Connection refused
Apr 19 11:16:34 localhost postfix/smtp[59644]: connect to MYDOMAIN.com[172.21.1.17]:25: Connection timed out
Apr 19 11:16:34 localhost postfix/smtp[59646]: connect to MYDOMAIN.com[172.20.5.16]:25: Connection timed out
Apr 19 11:16:34 localhost postfix/smtp[59645]: connect to MYDOMAIN.com[172.20.5.16]:25: Connection timed out
Apr 19 11:17:04 localhost postfix/smtp[59644]: connect to MYDOMAIN.com[172.21.1.0]:25: Connection timed out
Apr 19 11:17:04 localhost postfix/smtp[59646]: connect to MYDOMAIN.com[172.21.1.0]:25: Connection timed out
Apr 19 11:17:04 localhost postfix/smtp[59645]: connect to MYDOMAIN.com[172.21.1.17]:25: Connection timed out
Apr 19 11:17:34 localhost postfix/smtp[59644]: connect to MYDOMAIN.com[172.20.1.0]:25: Connection timed out
Apr 19 11:17:34 localhost postfix/smtp[59644]: connect to MYDOMAIN.com[172.20.5.15]:25: Connection refused
Apr 19 11:17:34 localhost postfix/smtp[59644]: 95D4C1E10DE: to=<MYEMAIL@MYDOMAIN.com>, relay=none, delay=69725, delays=69605/0.04/120/0, dsn=4.4.1, status=deferred (connect to MYDOMAIN.com[172.20.5.15]:25: Connection refused)
Apr 19 11:17:34 localhost postfix/smtp[59646]: connect to MYDOMAIN.com[172.21.1.17]:25: Connection timed out
Apr 19 11:17:34 localhost postfix/smtp[59645]: connect to MYDOMAIN.com[172.21.1.15]:25: Connection timed out
Apr 19 11:17:34 localhost postfix/smtp[59645]: 836781E12AE: to=<MYEMAIL@MYDOMAIN.com>, relay=none, delay=69725, delays=69605/0.04/120/0, dsn=4.4.1, status=deferred (connect to MYDOMAIN.com[172.21.1.15]:25: Connection timed out)
Apr 19 11:18:04 localhost postfix/smtp[59646]: connect to MYDOMAIN.com[172.20.5.18]:25: Connection timed out
Apr 19 11:18:04 localhost postfix/smtp[59646]: BF6BA1E1044: to=<MYEMAIL@MYDOMAIN.com>, relay=none, delay=74219, delays=74069/0.05/150/0, dsn=4.4.1, status=deferred (connect to MYDOMAIN.com[172.20.5.18]:25: Connection timed out)
Apr 19 11:19:13 localhost postfix/pickup[30365]: 9F49C1E12DD: uid=1000 from=<nagios>