Alerts > Notifications > "All Notifications" (top right corner) does not include "Service Custom".
Is this done on purpose or something is missing?
Custom Notification & Alerts > Notification > All
-
- Posts: 140
- Joined: Thu Apr 18, 2013 8:25 am
- Location: libexec
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Custom Notification & Alerts > Notification > All
I think you mean Notifications > "All Notifications" not Alerts > Notifications > "All Notifications". It might be a difference in version though. For example, I do have "Service custom" on my 4.2.2, but again, it isn't under Alerts, it's under Notifications.
What version of Core are you using? Was it compiled from source or installed from distro repos? On what OS/version is nagios running? cat /etc/*-release may be of use.
What version of Core are you using? Was it compiled from source or installed from distro repos? On what OS/version is nagios running? cat /etc/*-release may be of use.
-
- Posts: 140
- Joined: Thu Apr 18, 2013 8:25 am
- Location: libexec
Re: Custom Notification & Alerts > Notification > All
Yes, Notifications > "All Notifications"
Nagios Core 4.1.1
Debian
Installed from source
cat /etc/debian_version
8.8
uname -a
Linux SERVER 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2 (2017-04-30) x86_64 GNU/Linux
Nagios Core 4.1.1
Debian
Installed from source
cat /etc/debian_version
8.8
uname -a
Linux SERVER 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2 (2017-04-30) x86_64 GNU/Linux
Re: Custom Notification & Alerts > Notification > All
Can you look in the nagios.log file and see if you see the Custom notification like the example below.
Can you post your nagios.cfg file so we can check it's settings?
Code: Select all
EXTERNAL COMMAND: SEND_CUSTOM_SVC_NOTIFICATION;192.168.112.129;HTTP;3;Nagios Administrator;Custom Service Notification
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 140
- Joined: Thu Apr 18, 2013 8:25 am
- Location: libexec
Re: Custom Notification & Alerts > Notification > All
I sent a few custom notification (2 different hosts) and then:
The last two messages, from Server2, are missing from the list
This is the definition of "Memory"
Here is what I see to the notifications list:root@SERVER:/var/log/nagios# cat nagios.log | grep SEND_CUSTOM_SVC_NOTIFICATION
[1496038567] EXTERNAL COMMAND: SEND_CUSTOM_SVC_NOTIFICATION;NMS;CPU;0;USER;test1
[1496039009] EXTERNAL COMMAND: SEND_CUSTOM_SVC_NOTIFICATION;SERVER2;NetBackup_Service_bpcd;0;USER;test - ignore
[1496039398] EXTERNAL COMMAND: SEND_CUSTOM_SVC_NOTIFICATION;SERVER2;Memory;0;USER;test2 - ignore
[1496039460] EXTERNAL COMMAND: SEND_CUSTOM_SVC_NOTIFICATION;SERVER2;Memory;0;USER;test3 - ignore
The last two messages, from Server2, are missing from the list
This is the definition of "Memory"
Code: Select all
define host {
host_name Servers2
address 192.168.11.11
hostgroups grp1,grp2
parents hypervX
check_command check-host-alive
max_check_attempts 2
process_perf_data 0
retain_nonstatus_information 1
notification_interval 120
notification_period 24x7
notification_options d,u,r
contact_groups aaa,bbb,ccc
contacts xxx,yyy,zzz
}
define service{
host_name Server2
service_description Memory
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 20
retry_check_interval 2
notification_interval 720
notification_period 24x7
notification_options w,c,r
check_command check_snmp_windows_memory!a3-public!89!90
}
Re: Custom Notification & Alerts > Notification > All
That is strange that is is displaying some of the custom notifications and not the rest.
If you go back and just display the Service Custom notifications, do they show up then?
Can you upgrade to the latest Nagios Core and see if the issue goes away?
If you go back and just display the Service Custom notifications, do they show up then?
Can you upgrade to the latest Nagios Core and see if the issue goes away?
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 140
- Joined: Thu Apr 18, 2013 8:25 am
- Location: libexec
Re: Custom Notification & Alerts > Notification > All
I will upgrade Nagios Core during the next month and then I will update the post
Thank you
Thank you
-
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: Custom Notification & Alerts > Notification > All
Ok, we'll keep the thread open for now. Let us know after you have tested.
Previous Nagios employee
Re: Custom Notification & Alerts > Notification > All
Just responding as @avandemore is no longer with the company (good terms) but we will still keep this open for you.
Former Nagios employee