Search found 16 matches
- Wed Aug 01, 2018 3:48 pm
- Forum: Open Source Nagios Projects
- Topic: Nagios process at 100% CPU, system is crawling
- Replies: 33
- Views: 11755
Re: Nagios process at 100% CPU, system is crawling
It seems to be fine so far. The status.dat and retention.dat files seem to be holding in the 800-900K realm, I will continue to see if it increases significantly. I am still running the maint version, just not as a deamon. Yes, once I renamed the super large status and retention.dat files, it became...
- Tue Jul 31, 2018 4:02 pm
- Forum: Open Source Nagios Projects
- Topic: Nagios process at 100% CPU, system is crawling
- Replies: 33
- Views: 11755
Re: Nagios process at 100% CPU, system is crawling
Further looking into this, I decided to roll back the changes and move it out of Daemon mode for a second and then I renamed the retention.dat and status.dat files to .old and restarted the nagios process. Those files had gotten to be 2.6GB each. In doing so, the web site is now flying at lightening...
- Tue Jul 31, 2018 3:28 pm
- Forum: Open Source Nagios Projects
- Topic: Nagios process at 100% CPU, system is crawling
- Replies: 33
- Views: 11755
Re: Nagios process at 100% CPU, system is crawling
Also, I should add that it looks like Nagios is stuck in the past. Looking at the status, the last checks were from 4 days ago. Looking at the scheduling queue, it's from 4 days ago.
- Tue Jul 31, 2018 2:42 pm
- Forum: Open Source Nagios Projects
- Topic: Nagios process at 100% CPU, system is crawling
- Replies: 33
- Views: 11755
Re: Nagios process at 100% CPU, system is crawling
Well, yes, the nagios process doesn't appear at all in the top anymore. I suppose making it a deamon helped that. But every call to a cgi starts by taking 100% CPU. It still takes over 1 minute to load any page on the site. It's still unusable. We also stopped getting email notifications. I guess I ...
- Mon Jul 30, 2018 4:39 pm
- Forum: Open Source Nagios Projects
- Topic: Nagios process at 100% CPU, system is crawling
- Replies: 33
- Views: 11755
Re: Nagios process at 100% CPU, system is crawling
Here you go...
- Mon Jul 30, 2018 10:49 am
- Forum: Open Source Nagios Projects
- Topic: Nagios process at 100% CPU, system is crawling
- Replies: 33
- Views: 11755
Re: Nagios process at 100% CPU, system is crawling
It's an MP4 file which is not allowed on this board. Not sure which format you would like. From /var/log/apache2/error.log: cat error.log [Mon Jul 30 06:25:01.930424 2018] [mpm_prefork:notice] [pid 1212] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations [Mon Jul 30 06:25:01.93...
- Mon Jul 30, 2018 9:00 am
- Forum: Open Source Nagios Projects
- Topic: Nagios process at 100% CPU, system is crawling
- Replies: 33
- Views: 11755
Re: Nagios process at 100% CPU, system is crawling
I couldn't upload a 4th file in the last post. Here is the video.
- Mon Jul 30, 2018 8:58 am
- Forum: Open Source Nagios Projects
- Topic: Nagios process at 100% CPU, system is crawling
- Replies: 33
- Views: 11755
Re: Nagios process at 100% CPU, system is crawling
Thanks. That helped get Nagios running. I have attached screen shots of where we are now including performance stats. Response times are still pretty slow on the UI. I don't see nagios in the top results anymore. Looking at top, the CPU is mostly idle and swap memory isn't being used until you try t...
- Fri Jul 27, 2018 5:03 pm
- Forum: Open Source Nagios Projects
- Topic: Nagios process at 100% CPU, system is crawling
- Replies: 33
- Views: 11755
Re: Nagios process at 100% CPU, system is crawling
So I did that and now it doesn't start after reboot... sysadmin@monitoring:~$ sudo service nagios status [sudo] password for sysadmin: ● nagios.service - Nagios Loaded: loaded (/etc/systemd/system/nagios.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Fri 2018-07-2...
- Fri Jul 27, 2018 12:32 pm
- Forum: Open Source Nagios Projects
- Topic: Nagios process at 100% CPU, system is crawling
- Replies: 33
- Views: 11755
Re: Nagios process at 100% CPU, system is crawling
I'm not sure. I followed these instructions for setting up Nagios. https://www.digitalocean.com/community/tutorials/how-to-install-nagios-4-and-monitor-your-servers-on-ubuntu-16-04 I presume this is where that would be controlled: sudo systemctl enable /etc/systemd/system/nagios.service sudo systemc...