Contact Linking to Contact Group - Max Num of Links?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
chicjo01
Posts: 194
Joined: Tue Jul 28, 2015 2:52 pm

Contact Linking to Contact Group - Max Num of Links?

Post by chicjo01 »

Nagios XI Version: 5.2.9

Is there a max number of contact groups which can be linked to a contact through the web UI? Do I need to add them in batches?
We have rough 1500 contact groups attempting to be linked. When I go back to verify the contact groups are still linked, it shows to be empty.

Below are the steps I take:

Steps I took:
1) Left click Configure
2) Left click Core Config Manager
3) Left click Contacts
4) Search for dba
5) Left click on Specific dba contact
6) Left click manage Contact groups
7) filter /db
8) select all contact groups
9) Left click "Add Selected"
10) Left click "Close"
11) Left click "Save"
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Contact Linking to Contact Group - Max Num of Links?

Post by tmcdonald »

How long is it taking to save? You could be hitting a timeout or passing too much data at once.

If you instead view the contact group and look at the members, do the appropriate contacts show up there?
Former Nagios employee
User avatar
chicjo01
Posts: 194
Joined: Tue Jul 28, 2015 2:52 pm

Re: Contact Linking to Contact Group - Max Num of Links?

Post by chicjo01 »

Yes, when I checked for the contact looking inside a contact group, I did see it was linked. So it appears to have worked, but it is not displayable from the contact. Thanks for confirming that.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Contact Linking to Contact Group - Max Num of Links?

Post by ssax »

Please replicate the issue of it now showing up then immediately send us the output of this command:

Code: Select all

tail -n100 /var/log/httpd/error_log
You might try adjusting these in your /etc/php.ini:

Code: Select all

max_execution_time = 90
max_input_vars = 5000
suhosin.post.max_vars = 5000
suhosin.request.max_vars = 5000
Then restart the HTTPD service:

Code: Select all

service httpd restart
Locked