Page 2 of 2

Re: Server Moving out from maintenance

Posted: Tue Nov 21, 2017 12:01 pm
by npolovenko
@raamardhani7, Ok, memory looks fine. I'm attaching a plugin that runs through all defined checks in Nagios and figures out their execution time. That might be really helpful to figure out if there's a particular check/plugin that is not working correctly and is significantly slowing down/overloading the whole system.
The plugin is attached. Put it in the /usr/local/nagios/libexec/ folder. After that search your system for status.dat file location:

Code: Select all

find / -name status.dat
Copy the location path and replace it inside the plugin. Look for this line:

Code: Select all

my $file="/var/log/nagios/status.dat";
When it's done run

Code: Select all

chmod +x profile_nagios_executiontime.pl
Now run the plugin

Code: Select all

./profile_nagios_executiontime.pl > out.txt
Please upload out.txt file here.

Re: Server Moving out from maintenance

Posted: Wed Nov 22, 2017 2:48 am
by raamardhani7
I have personally mailed you all the command outputs.

Re: Server Moving out from maintenance

Posted: Wed Nov 22, 2017 10:38 am
by lmiltchev
Thank you, @raamardhani7! The output of commands look fine with one exception. There is a permissions issue, which most probably has nothing to do with your problem, but it's a good idea to fix it. Make sure the ownership/permissions of "/usr/local/nagiosxi/html/config.inc.php" is set to nagios.nagios/750.

Having said that, we haven't been able to recreate the issue in-house. As suggested by npovolenko, opening a support ticket would be the next logical step in the troubleshooting process. I needed, a remote session will be scheduled. You can open a new support ticket by accessing the URL below:

https://support.nagios.com/tickets

entering a search term, clicking "Continue", then scrolling to the bottom of the page, and clicking on "Create Support Ticket".