Hi,
I am running Nagios XI 5.4.6 installed as a VMWARE image (CentOS, 64 bit).
Have been using Nagios XI for a couple of months but I had to disable the notifications process because each time I turned on, I receive 100+ emails with warnings. I want to tune the system so it only notifies me when an important issue occurs but need some guidelines. I have some questions:
1. Can I disable the notification interval? I only want a message to be delivered when the service fails. Maybe for the hosts, I can receive an e-mail every day (I guess notification interval 1440).
2. I want to keep monitoring all services on servers, but only want notification on some services. Can I bulk change these configuration? All servers are different.
3. I am monitoring routers/switches. Is there a way to disable monitoring to non active (unconnected) ports?
4. When I read a received e-mail, I get a link to respond to the event. If I click on the link I reach nagios, but on all selections I get the message "Your session has timed out.".
Thanks,
Alejandro Arroyo
Many notification emails
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Many notification emails
Hello, @alejandro_arroyo .
1. Yes, you can disable notification interval. You'd put a "0" in notification interval field. That means a notification will only be sent out once.
2. That depends on how those notifications were set up in a first place.
I think most likely all your hosts and servers are using templates that have enabled notifications. You may go to the Core Configuration Manager in XI web interface, click on Host Templates or Service Templates and disable all notifications. Then create a new template that has enabled notifications and assigns it to hosts or services that you'd like to receive notifications for.
Also, you can go to Core Configuration manager, then Tools, then Bulk Modifications Tool. You'd click on "Change a single config option". In the drop down list you'd select Notifications enabled. Check the Off radiobox. Click on Select Hosts ---> add hosts, click on Select Services ---> add services. Click on Save changes. After that click on Apply Configuration.
3. What are you using to monitor ports? Is the result returned in a single service output, or is there a separate service check for each port?
4. You may increase the session timout value in /etc/php.ini:
1440 seconds is 24 minutes. So you'd probably want to increase that to 1-2 days:
60 [seconds] * 60 [minutes] * 24 [hours] = 86400 seconds
60 [seconds] * 60 [minutes] * 48 [hours] = 172800 seconds
After that please run:
1. Yes, you can disable notification interval. You'd put a "0" in notification interval field. That means a notification will only be sent out once.
2. That depends on how those notifications were set up in a first place.
I think most likely all your hosts and servers are using templates that have enabled notifications. You may go to the Core Configuration Manager in XI web interface, click on Host Templates or Service Templates and disable all notifications. Then create a new template that has enabled notifications and assigns it to hosts or services that you'd like to receive notifications for.
Also, you can go to Core Configuration manager, then Tools, then Bulk Modifications Tool. You'd click on "Change a single config option". In the drop down list you'd select Notifications enabled. Check the Off radiobox. Click on Select Hosts ---> add hosts, click on Select Services ---> add services. Click on Save changes. After that click on Apply Configuration.
3. What are you using to monitor ports? Is the result returned in a single service output, or is there a separate service check for each port?
4. You may increase the session timout value in /etc/php.ini:
Code: Select all
session.gc_maxlifetime = 144060 [seconds] * 60 [minutes] * 24 [hours] = 86400 seconds
60 [seconds] * 60 [minutes] * 48 [hours] = 172800 seconds
After that please run:
Code: Select all
service httpd restartAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
alejandro_arroyo
- Posts: 11
- Joined: Tue Nov 07, 2017 6:22 pm
Re: Many notification emails
Hi npolovenko,
Thanks for your reply.
When I respond to the notification email, can I permanently change the alarm thresholds or turn off/on the alerts?
Thanks,
Thanks for your reply.
When I respond to the notification email, can I permanently change the alarm thresholds or turn off/on the alerts?
Thanks,
Re: Many notification emails
Under the "Service Status Detail" page, you could click on Configure > Re-configure this service, and modify the thresholds under the "Monitoring" tab, and disable notifications under the "Notifications" tab. Once you are done with your mods, click on "Update".
Example:
Example:
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!