I am setting up some notifications on a new NagiosXI install.
The event log shows the notification was sent.
The contact is a cloned working contact with a changed name and email address. Even though the log shows notification NagiosXI does not send the email. I confirmed with TCP dump.
Any thoughts?
Also is there a way of the the admin to test the sending of a notification to a specific contact without spoofing an alert?
Bill
NOTIFICATION WOES
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: NOTIFICATION WOES
I suspect you need to follow the instructions at https://assets.nagios.com/downloads/nag ... Mailer.pdf
If you already did that for this contact, can you PM me your Profile? You can download it by going to Admin > System Config > System Profile and click the ***Download Profile*** button towards the top. If for whatever reason you *cannot* download the profile, please put the output of View System Info (5.3.4+, Show Profile if older) in the thread (that will at least get us some info). This will give us access to many of the logs we would otherwise ask for individually. If security is a concern, you can unzip the profile take out what you like, and then zip it up again. We may end up needing something you remove, but we can ask for that specifically.
After you PM the profile, please update this thread. Updating this thread is the only way for it to show back up on our dashboard.
If you already did that for this contact, can you PM me your Profile? You can download it by going to Admin > System Config > System Profile and click the ***Download Profile*** button towards the top. If for whatever reason you *cannot* download the profile, please put the output of View System Info (5.3.4+, Show Profile if older) in the thread (that will at least get us some info). This will give us access to many of the logs we would otherwise ask for individually. If security is a concern, you can unzip the profile take out what you like, and then zip it up again. We may end up needing something you remove, but we can ask for that specifically.
After you PM the profile, please update this thread. Updating this thread is the only way for it to show back up on our dashboard.
Re: NOTIFICATION WOES
Here is a copy of the View System Info.
Instead of providing the whole Profile ZIP. Could you tell me what parts you are interested in?
Thanks for the help.
Bill
Nagios XI - System Info
System:
Nagios XI Version : 5.4.5
V-TCS-NAGIOSXI.synygy.net 2.6.32-642.4.2.el6.x86_64 x86_64
CentOS release 6.8 (Final)
Gnome is not installed
Apache Information
PHP Version: 5.3.3
Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0
Server Name: v-tcs-nagiosxi
Server Address: 10.100.10.9
Server Port: 443
Date/Time
PHP Timezone: America/New_York
PHP Time: Fri, 16 Jun 2017 09:12:30 -0400
System Time: Fri, 16 Jun 2017 09:12:30 -0400
Nagios XI Data
License ends in: PPUOOP
nagios (pid 19753) is running...
NPCD running (pid 1862).
ndo2db (pid 1876) is running...
CPU Load 15: 1.28
Total Hosts: 435
Total Services: 1734
Function 'get_base_uri' returns: https://v-tcs-nagiosxi/nagiosxi/
Function 'get_base_url' returns: https://v-tcs-nagiosxi/nagiosxi/
Function 'get_backend_url(internal_call=false)' returns: https://v-tcs-nagiosxi/nagiosxi/include ... rofile.php
Function 'get_backend_url(internal_call=true)' returns: http://localhost/nagiosxi/backend/
Ping Test localhost
Running:
/bin/ping -c 3 localhost 2>&1
PING localhost.localdomain (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=1 ttl=64 time=0.034 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=2 ttl=64 time=0.039 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=3 ttl=64 time=0.032 ms
--- localhost.localdomain ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2000ms
rtt min/avg/max/mdev = 0.032/0.035/0.039/0.003 ms
Test wget To localhost
WGET From URL: http://localhost/nagiosxi/includes/components/ccm/
Running:
/usr/bin/wget http://localhost/nagiosxi/includes/components/ccm/
--2017-06-16 09:12:32-- http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://localhost/nagiosxi/login.php?red ... f&noauth=1 [following]
--2017-06-16 09:12:33-- http://localhost/nagiosxi/login.php?red ... f&noauth=1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: "/usr/local/nagiosxi/tmp/ccm_index.tmp"
0K .......... .......... ..... 1.55M=0.02s
2017-06-16 09:12:33 (1.55 MB/s) - "/usr/local/nagiosxi/tmp/ccm_index.tmp" saved [26271]
Network Settings
1: lo: mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:50:56:a3:69:3c brd ff:ff:ff:ff:ff:ff
inet 10.100.10.9/16 brd 10.100.255.255 scope global eth0
inet6 fe80::250:56ff:fea3:693c/64 scope link
valid_lft forever preferred_lft forever
10.100.0.0/16 dev eth0 proto kernel scope link src 10.100.10.9
169.254.0.0/16 dev eth0 scope link metric 1002
default via 10.100.0.1 dev eth0
Instead of providing the whole Profile ZIP. Could you tell me what parts you are interested in?
Thanks for the help.
Bill
Nagios XI - System Info
System:
Nagios XI Version : 5.4.5
V-TCS-NAGIOSXI.synygy.net 2.6.32-642.4.2.el6.x86_64 x86_64
CentOS release 6.8 (Final)
Gnome is not installed
Apache Information
PHP Version: 5.3.3
Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0
Server Name: v-tcs-nagiosxi
Server Address: 10.100.10.9
Server Port: 443
Date/Time
PHP Timezone: America/New_York
PHP Time: Fri, 16 Jun 2017 09:12:30 -0400
System Time: Fri, 16 Jun 2017 09:12:30 -0400
Nagios XI Data
License ends in: PPUOOP
nagios (pid 19753) is running...
NPCD running (pid 1862).
ndo2db (pid 1876) is running...
CPU Load 15: 1.28
Total Hosts: 435
Total Services: 1734
Function 'get_base_uri' returns: https://v-tcs-nagiosxi/nagiosxi/
Function 'get_base_url' returns: https://v-tcs-nagiosxi/nagiosxi/
Function 'get_backend_url(internal_call=false)' returns: https://v-tcs-nagiosxi/nagiosxi/include ... rofile.php
Function 'get_backend_url(internal_call=true)' returns: http://localhost/nagiosxi/backend/
Ping Test localhost
Running:
/bin/ping -c 3 localhost 2>&1
PING localhost.localdomain (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=1 ttl=64 time=0.034 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=2 ttl=64 time=0.039 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=3 ttl=64 time=0.032 ms
--- localhost.localdomain ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2000ms
rtt min/avg/max/mdev = 0.032/0.035/0.039/0.003 ms
Test wget To localhost
WGET From URL: http://localhost/nagiosxi/includes/components/ccm/
Running:
/usr/bin/wget http://localhost/nagiosxi/includes/components/ccm/
--2017-06-16 09:12:32-- http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://localhost/nagiosxi/login.php?red ... f&noauth=1 [following]
--2017-06-16 09:12:33-- http://localhost/nagiosxi/login.php?red ... f&noauth=1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: "/usr/local/nagiosxi/tmp/ccm_index.tmp"
0K .......... .......... ..... 1.55M=0.02s
2017-06-16 09:12:33 (1.55 MB/s) - "/usr/local/nagiosxi/tmp/ccm_index.tmp" saved [26271]
Network Settings
1: lo: mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:50:56:a3:69:3c brd ff:ff:ff:ff:ff:ff
inet 10.100.10.9/16 brd 10.100.255.255 scope global eth0
inet6 fe80::250:56ff:fea3:693c/64 scope link
valid_lft forever preferred_lft forever
10.100.0.0/16 dev eth0 proto kernel scope link src 10.100.10.9
169.254.0.0/16 dev eth0 scope link metric 1002
default via 10.100.0.1 dev eth0
Re: NOTIFICATION WOES
PROBLEM RESOLVED....GOOD TO CLOSE...THANKS