Linux-nrpe-agent installation

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Katya.Ailarov
Posts: 25
Joined: Wed Aug 17, 2016 5:29 am

Linux-nrpe-agent installation

Post by Katya.Ailarov »

Hi Team,

I have tried to configure linux server (agent installation) via nagiosxi dashboard.

It seems that im stack on this field on Linux Server Monitoring Wizard (see attched photo)
Waiting for configuration verification..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

and basically nothing happen already 2 hours.

Can you let me know why?

Thanks,
Katya.
You do not have the required permissions to view the files attached to this post.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Linux-nrpe-agent installation

Post by npolovenko »

Hello, @Katya.Ailarov. 2 hours is definitely too long. It shouldn't take more than a few seconds. I think some config that you saved earlier had errors, and now the wizard is trying to write out all previous configs from MySQL to internal cfg files but it fails to pass the verification. Can you navigate to the Core Configurations Manager menu, then Configuration Snapshots(in the left column). Do you see any red snapshots recently?
Untitled.png
You may click on the "view command output" icon to try to figure out what's wrong. Or you may just revert to the last successful snapshot, and then try to run a wizard one more time.
Let us know if that helps, otherwise, I will have a few more troubleshooting steps.
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Katya.Ailarov
Posts: 25
Joined: Wed Aug 17, 2016 5:29 am

Re: Linux-nrpe-agent installation

Post by Katya.Ailarov »

Hi,

sorry for my delay response as Im working in Europe time zone.

i even dont see this package installed on recent snapshot. (see attched). i see only from Jan 10 as it was my controol installation and not the remote machine.

i tried today agian to install and again this what i see:

Linux Server Monitoring Wizard
Waiting for configuration verification.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
BTW my ./fullinstall worked on that server and i see that port 5666 lisiting.

so what is wrong?

Thanks,
Katya.
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

Re: Linux-nrpe-agent installation

Post by lmiltchev »

It seems like the "Linux Server Monitoring Wizard" is timing out. We need to take a look at your configuration files, and various logs in order to further troubleshoot the issue.

Please go to Admin > System Config > System Profile > Download Profile, save the "profile.zip", and send it to me (or any member of the Nagios Tech Support team) via PM. Thank you!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Katya.Ailarov
Posts: 25
Joined: Wed Aug 17, 2016 5:29 am

Re: Linux-nrpe-agent installation

Post by Katya.Ailarov »

Hi,

see attached profile.zip
You do not have the required permissions to view the files attached to this post.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Linux-nrpe-agent installation

Post by dwhitfield »

You'll want to take a look at https://support.nagios.com/kb/article.php?id=34

Also, in /etc/php.ini, please change the following to the listed numbers (unless the numbers are higher than these):

max_execution_time = 60
max_input_time = 120
memory_limit = 256M

Also, please add the following line:
max_input_vars = 10000

After making these changes you'll need to restart the httpd service:

# service httpd restart
Katya.Ailarov
Posts: 25
Joined: Wed Aug 17, 2016 5:29 am

Re: Linux-nrpe-agent installation

Post by Katya.Ailarov »

Hi,

To tell you the truth I'm already lost.

I ran the configuration that you sent me and also follow all the solutions in this URL: https://support.nagios.com/kb/article.php?id=34


vi /etc/php.ini

max_execution_time = 60
max_input_time = 60
memory_limit = 256

service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]


vi /usr/local/nagiosxi/html/config.inc.php

// Force http/https
$cfg['use_https'] = true;

[root@ssb01opsprd tmp]# tar xzf xi-5.2.9.tar.gz nagiosxi/nagiosxi/nagiosxi.sudo
[root@ssb01opsprd tmp]# grep -v NAGIOSXI /etc/sudoers > /etc/sudoers.new
[root@ssb01opsprd tmp]# mv -f /etc/sudoers.new /etc/sudoers
[root@ssb01opsprd tmp]# rm -rf /etc/sudoers.d/nagiosxi
[root@ssb01opsprd tmp]# sed -i 's/^Defaults requiretty/#Defaults requiret
[root@ssb01opsprd tmp]# cat /tmp/nagiosxi.sudoers >> /etc/sudoers
[root@ssb01opsprd tmp]# chmod 440 /etc/sudoers
[root@ssb01opsprd tmp]# rm -f /usr/local/nagiosxi/scripts/reconfigure_nagios.lo
[root@ssb01opsprd tmp]# service nagios stop
Stopping nagios:. done.
[root@ssb01opsprd tmp]# service nagios start
Starting nagios: done.
[root@ssb01opsprd tmp]#


And I'm still getting:
Linux Server Monitoring Wizard
• Waiting for configuration verification............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Please assist.

Maybe to do some session.

Thanks,
Katya.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Linux-nrpe-agent installation

Post by dwhitfield »

Katya.Ailarov wrote: Maybe to do some session.
Please feel free to open a ticket at https://support.nagios.com/tickets/ but please note that opening a ticket is not a guarantee of a remote session. Please make sure you reference this ticket.
Locked