Addition of users to the alert list of existing services.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
prateekagr1988
Posts: 62
Joined: Fri Sep 26, 2014 7:21 pm

Addition of users to the alert list of existing services.

Post by prateekagr1988 »

We have over 6000 services being monitored, and alerts being directed to certain users.

We need to add few more users to be updated in the alerts list, in above 1000 of those services.
Please suggest if there is a quick way to set this up.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Addition of users to the alert list of existing services

Post by tmcdonald »

If you have the Enterprise Edition you can use the Bulk Modifications Tool to add contacts to services. It is located under Configure -> Core Config Manager -> Tools -> Bulk Modifications.
Former Nagios employee
prateekagr1988
Posts: 62
Joined: Fri Sep 26, 2014 7:21 pm

Re: Addition of users to the alert list of existing services

Post by prateekagr1988 »

I agree.. but sometimes bulk modification gets stuck.. Is there any other alternative or suggestion ?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Addition of users to the alert list of existing services

Post by abrist »

prateekagr1988 wrote:I agree.. but sometimes bulk modification gets stuck.. Is there any other alternative or suggestion ?
Could you expand on this?
What is the output of:

Code: Select all

grep "memory_limit\|max_execution\|max_input" /etc/php.ini
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
shahhitesh101
Posts: 6
Joined: Thu Nov 20, 2014 2:01 am

Re: Addition of users to the alert list of existing services

Post by shahhitesh101 »

This is the output we are getting :
$ grep "memory_limit\|max_execution\|max_input" /etc/php.ini
; max_input_time
max_execution_time = 60
max_input_time = 60
;max_input_nesting_level = 64
memory_limit = 256M
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Addition of users to the alert list of existing services

Post by abrist »

You may want to double those values for when you have to do a very large bulk change:
max_execution_time = 120

Code: Select all

max_input_time = 120
memory_limit = 512M
Restart httpd:

Code: Select all

service httpd restart
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked