I did as suggested and I'm still running out of space on my ramdisk on both machines. One is set to 50MB while the new one is set to 75MB.
Code: Select all
[root@nagiosxivm ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
108G 49G 55G 48% /
tmpfs 7.4G 0 7.4G 0% /dev/shm
/dev/sda1 97M 82M 11M 89% /boot
tmpfs 50M - - - /var/nagiosramdisk
Code: Select all
[root@LNTTAVMNAG1 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00_ROOT
48G 17G 28G 38% /
/dev/mapper/VolGroup00-LogVol00
2.9G 69M 2.7G 3% /tmp
/dev/mapper/VolGroup00-LogVol00_VAR
4.8G 3.1G 1.5G 68% /var
/dev/hda1 190M 47M 134M 26% /boot
tmpfs 2.0G 0 2.0G 0% /dev/shm
tmpfs 75M 75M 0 100% /var/nagiosramdisk
10.100.3.220:/kickstart
190G 110G 70G 62% /kickstart
From what I've been able to find, a reboot is the only thing that fixes it. I have tried stopping and starting nagios, npcd, ndo2db, mysqld without luck. I just tried restarting httpd and it appears to have cleared the file.
Somehow, the data is being written but not cleared. When I restart and check the services that are showing down, I can see them just fine. The closer the ramdisk gets to being full, the more likely I am to click on services and/or hosts that are down and get the screen that says nothing is down.
This is rendering both Nagios installs useless at this point.
I decided to take a look at the commands for process-host-perfdata-* & process-service-perfdata-* after reading this post:
Nagios Performance Tuning - Tech Tiops: Understanding Disk I/O
A number of these were still pointing to the /usr/local/nagios/var/* files. The documentation only shows to update the process-*-perfdata-file-bulk files to point to the ramdisk.
I've let the new system run like this for about an hour now and it seems that the service-perfdata file has stabalized at 44K and host-perfdata at 11k.
On a separate note, I think I figured out the issue on my new system with the Home link being different from the Tactical Overview link. When I imported the backup, I'm guessing that it kept the links pointing to the old server and didn't update it with the new one. This might be a bug?