Problems with Services Dependencies after using Import Confi
Problems with Services Dependencies after using Import Confi
Hello,
after importing service dependencies, they are not displayed in the graphical interface. The number of services is displayed as "0" after opening and closing the "Manage Service Dependencies" window (see screenshots attachments). The configuration file will still be written correctly.
When i manually apply the service dependencies via the graphical interface, they are displayed correctly.
The problem occurs only after an update of Nagios XI (I do not know the version anymore).
Current NagiosXI version: 5.5.5
Over 1500 hosts, 15000 Services and 1000 Service Dependencies
Sorry for my bad english
Thanks and greetings
after importing service dependencies, they are not displayed in the graphical interface. The number of services is displayed as "0" after opening and closing the "Manage Service Dependencies" window (see screenshots attachments). The configuration file will still be written correctly.
When i manually apply the service dependencies via the graphical interface, they are displayed correctly.
The problem occurs only after an update of Nagios XI (I do not know the version anymore).
Current NagiosXI version: 5.5.5
Over 1500 hosts, 15000 Services and 1000 Service Dependencies
Sorry for my bad english
Thanks and greetings
You do not have the required permissions to view the files attached to this post.
Re: Problems with Services Dependencies after using Import C
Please explain in more detail what you mean by:
Please PM me a copy of your profile, you can download it from Admin > System Profile > Download Profile.
Additionally, please include the import file that you used.
Thank you
Are you saying if you apply configuration they show up or if you manually create them in the CCM they show properly.When i manually apply the service dependencies via the graphical interface, they are displayed correctly.
Please PM me a copy of your profile, you can download it from Admin > System Profile > Download Profile.
Additionally, please include the import file that you used.
Thank you
Re: Problems with Services Dependencies after using Import C
Yes, if i use the GUI then it works. Only the import function does not work.
It does not matter which configuration file i use. Even the already written file (servicedependencies.cfg) does not work when i import it.
I do not have permission to send PM.
Greetings
It does not matter which configuration file i use. Even the already written file (servicedependencies.cfg) does not work when i import it.
I do not have permission to send PM.
Greetings
EDIT: PM sent
Re: Problems with Services Dependencies after using Import C
Please run this command (and leave it running) and then try the import again and replicate the issue in the web interface, when you're done post the full output from the tail command:
While you do that I'm going to test the import on my 5.5.5 system as well.
Edit: I labbed it up and I'm unable to replicate the issue, I'm hoping the output of the tail command will give some more insight.
Code: Select all
tail -F /usr/local/nagiosxi/var/cmdsubsys.log /var/log/httpd/error_log /var/log/httpd/ssl_error_logEdit: I labbed it up and I'm unable to replicate the issue, I'm hoping the output of the tail command will give some more insight.
Re: Problems with Services Dependencies after using Import C
No errors to see when i start the import.
Only this message when I click on the service dependencies link.
Greeting
Only this message when I click on the service dependencies link.
Code: Select all
==> /var/log/httpd/ssl_error_log <==
[Tue Oct 30 16:56:48.128552 2018] [:error] [pid 7211] [client xx.xx.xx.xx:62709] PHP Notice: Undefined variable: ccm_restricted in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 632, referer: https://xxx/nagiosxi/includes/components/ccm/xi-index.php
[Tue Oct 30 16:56:48.128770 2018] [:error] [pid 7211] [client xx.xx.xxx.xx:62709] PHP Notice: Undefined variable: ccm_restricted in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 642, referer: https://xxx/nagiosxi/includes/components/ccm/xi-index.phpRe: Problems with Services Dependencies after using Import C
Are you viewing it as an Admin user or a regular user with limited CCM access? Try it as an admin user to see if that works for you.
Please attach your /etc/php.ini as well.
Please attach your /etc/php.ini as well.
Re: Problems with Services Dependencies after using Import C
The Auth Level is "Admin". I have sent you the php.ini...
Greeting
Greeting
Re: Problems with Services Dependencies after using Import C
Try changing this in your /etc/php.ini:
To this:
Then restart apache and see if that alleviates the issue:
Code: Select all
; max_input_vars = 1000Code: Select all
max_input_vars = 10000Code: Select all
service httpd restartRe: Problems with Services Dependencies after using Import C
Additionally, what browser are you using? Do they show if you use a different browser?
Re: Problems with Services Dependencies after using Import C
Unfortunately no improvement. Already tested with IE, Firefox and Chrome.
Greeting
Greeting