Not send e-mail notification
Posted: Tue Mar 15, 2016 7:02 am
Hi
NagiosXI server not send e-mail notification of warning & critical events occurred. In mail logs written that everything is OK.
but in the logs NagiosXI of error messages for each user (user1-user4)
used command from wizard
command view
$ARG1$
result, administrators do not receive e-mail notifications
Help me pls solve the problem
Best Regards
-
Valery
PS. NagiosXI license
-
License Type: Host-Based
Number of Licensed Hosts: Unlimited
Current Hosts: ****
Maintenance Status: Current (Expires in 300 days on 2017-01-09)
License Activation
Activation Status: Activated
NagiosXI server not send e-mail notification of warning & critical events occurred. In mail logs written that everything is OK.
Code: Select all
Mar 15 13:35:30 nagiosxi postfix/pickup[8972]: BECC9120040: uid=501 from=<nagios>
Mar 15 13:35:30 nagiosxi postfix/cleanup[7024]: BECC9120040: message-id=<[email protected]>
Mar 15 13:35:30 nagiosxi postfix/qmgr[1440]: BECC9120040: from=<[email protected]>, size=848, nrcpt=1 (queue active)
Mar 15 13:35:30 nagiosxi postfix/pickup[8972]: C05A0120036: uid=501 from=<nagios>
Mar 15 13:35:30 nagiosxi postfix/cleanup[7027]: C05A0120036: message-id=<[email protected]>
Mar 15 13:35:30 nagiosxi postfix/pickup[8972]: C0FBC120038: uid=501 from=<nagios>
Mar 15 13:35:30 nagiosxi postfix/qmgr[1440]: C05A0120036: from=<[email protected]>, size=854, nrcpt=1 (queue active)
Mar 15 13:35:30 nagiosxi postfix/cleanup[7024]: C0FBC120038: message-id=<[email protected]>
Mar 15 13:35:30 nagiosxi postfix/qmgr[1440]: C0FBC120038: from=<[email protected]>, size=847, nrcpt=1 (queue active)
Mar 15 13:35:30 nagiosxi postfix/pickup[8972]: C264C12003A: uid=501 from=<nagios>
Mar 15 13:35:30 nagiosxi postfix/cleanup[7027]: C264C12003A: message-id=<[email protected]>
Mar 15 13:35:30 nagiosxi postfix/qmgr[1440]: C264C12003A: from=<[email protected]>, size=840, nrcpt=1 (queue active)
Mar 15 13:35:30 nagiosxi postfix/pickup[8972]: C30FD12003B: uid=501 from=<nagios>
Mar 15 13:35:30 nagiosxi postfix/cleanup[7024]: C30FD12003B: message-id=<[email protected]>
Mar 15 13:35:30 nagiosxi postfix/qmgr[1440]: C30FD12003B: from=<[email protected]>, size=837, nrcpt=1 (queue active)
Mar 15 13:35:30 nagiosxi postfix/smtp[7028]: BECC9120040: to=<[email protected]>, relay=mail-relay.my.domain[10.10.***.***]:25, delay=0.13, delays=0.03/0/0/0.09, dsn=2.6.0, status=sent (250 2.6.0 <20160315103530.BECC912004
Mar 15 13:35:30 nagiosxi postfix/qmgr[1440]: BECC9120040: removed
Mar 15 13:35:30 nagiosxi postfix/smtp[7031]: C05A0120036: to=<[email protected]>, relay=mail-relay.my.domain[10.10.***.***]:25, delay=0.12, delays=0.03/0/0/0.09, dsn=2.6.0, status=sent (250 2.6.0 <20160315103530.C05A
Mar 15 13:35:30 nagiosxi postfix/qmgr[1440]: C05A0120036: removed
Mar 15 13:35:30 nagiosxi postfix/smtp[7029]: C0FBC120038: to=<[email protected]>, relay=mail-relay.my.domain[10.10.***.***]:25, delay=0.12, delays=0.03/0/0.01/0.08, dsn=2.6.0, status=sent (250 2.6.0 <20160315103530.C0FBC120
Mar 15 13:35:30 nagiosxi postfix/qmgr[1440]: C0FBC120038: removed
Mar 15 13:35:30 nagiosxi postfix/smtp[7030]: C264C12003A: to=<[email protected]>, relay=mail-relay.my.domain[10.10.***.***]:25, delay=0.12, delays=0.04/0/0.01/0.07, dsn=2.6.0, status=sent (250 2.6.0 <20160315103530.C264C12003A@nag
Mar 15 13:35:30 nagiosxi postfix/qmgr[1440]: C264C12003A: removed
Mar 15 13:35:30 nagiosxi postfix/smtp[7032]: C30FD12003B: to=<[email protected]>, relay=mail-relay.my.domain[10.10.***.***]:25, delay=0.12, delays=0.04/0/0.01/0.07, dsn=2.6.0, status=sent (250 2.6.0 <20160315103530.C30FD12003B@nagios
Mar 15 13:35:30 nagiosxi postfix/qmgr[1440]: C30FD12003B: removed
Code: Select all
Mar 15 13:40:34 nagiosxi nagios: wproc: NOTIFY job 989 from worker Core Worker 20599 is a non-check helper but exited with return code 1
Mar 15 13:40:34 nagiosxi nagios: wproc: host=Ibc2b1; service=Memory Usage; contact=user1
Mar 15 13:40:34 nagiosxi nagios: wproc: early_timeout=0; exited_ok=1; wait_status=256; error_code=0;
Mar 15 13:40:34 nagiosxi nagios: wproc: stderr line 01: /bin/sh: -c: line 0: syntax error near unexpected token `('
Mar 15 13:40:34 nagiosxi nagios: wproc: stderr line 02: /bin/sh: -c: line 0: `/usr/bin/printf "%b" "***** Nagios Monitor XI Alert *****\n\nNotification Type: PROBLEM\n\nService: --service="Memory Usage"\nHost: Ibc2b1\nAddress:
10.10.****.**\nState: --servicestate=WARNING\n\nDate/Time: Tue Mar 15 13:40:34 MSK 2016\n\nAdditional Info:\n\n --serviceoutput="Physical memory: 91%used(7178MB/7873MB) (90%) : WARNING"" | /bin/mail -s "** PROBLEM Service Alert: I
bc2b1/Memory Usage is WARNING **" [email protected]'
Code: Select all
check_xi_service_snmp_linux_storage
Code: Select all
$USER1$/check_snmp_storage_wizard.pl -H $HOSTADDRESS$ $ARG1$
Code: Select all
-C mypublic --v2c -m Physical -w 90 -c 95 -fHelp me pls solve the problem
Best Regards
-
Valery
PS. NagiosXI license
-
License Type: Host-Based
Number of Licensed Hosts: Unlimited
Current Hosts: ****
Maintenance Status: Current (Expires in 300 days on 2017-01-09)
License Activation
Activation Status: Activated