Tactical Overview, Ops Center, Ops Screen Problems
Tactical Overview, Ops Center, Ops Screen Problems
I'm not exactly sure when this started, but it seems like the following screens aren't updating on my system:
Tactical Overview
Operations Center
Operations Screen
When I click directly on Tactical Overview, I get the "Whoops! Error: Could not read object configuration data!" screen. However, I have my home link set to go to the tactical over view screen and I can get to it that way successfully.
Any help would be appreciated.
Tactical Overview
Operations Center
Operations Screen
When I click directly on Tactical Overview, I get the "Whoops! Error: Could not read object configuration data!" screen. However, I have my home link set to go to the tactical over view screen and I can get to it that way successfully.
Any help would be appreciated.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Tactical Overview, Ops Center, Ops Screen Problems
Have you recently added a ram disk?
Can you output
and then get permissions of the file is shows
also, is nagios running
Can you output
Code: Select all
cat /usr/local/nagios/etc/nagios.cfg |grep object_cache_file
Code: Select all
/usr/local/nagios/var/objects.cacheCode: Select all
service nagios statusRe: Tactical Overview, Ops Center, Ops Screen Problems
scottwilkerson wrote:Have you recently added a ram disk?
Can you outputCode: Select all
cat /usr/local/nagios/etc/nagios.cfg |grep object_cache_file
Code: Select all
#object_cache_file=/usr/local/nagios/var/objects.cache
object_cache_file=/var/nagiosramdisk/objects.cacheand then get permissions of the file is showsCode: Select all
/usr/local/nagios/var/objects.cache
Code: Select all
# ls -lh /usr/local/nagios/var/objects.cache
-rw-r--r-- 1 nagios nagios 3.9M Jul 21 2011 /usr/local/nagios/var/objects.cache
]also, is nagios runningCode: Select all
service nagios status
Code: Select all
# service nagios status
nagios (pid 25824) is running...
Re: Tactical Overview, Ops Center, Ops Screen Problems
I went back through the document for implementing a ram disk as your post gave me somewhere to look. When I check fstab, I see the following:
Would having multiple temp file systems be getting in the way?
I did find that the commands were missing, per the document. I made that change and now I can actually get to the tactical overview screen, however, it's not the right one. It's almost like it's pointing to an old version of it. If I click on the home link and it takes me to the tactical overview screen I have set for it to go to, it is updated and correct.
Code: Select all
/dev/VolGroup00/LogVol00_ROOT / ext3 defaults 1 1
/dev/VolGroup00/LogVol00 /tmp ext3 defaults 1 2
/dev/VolGroup00/LogVol00_VAR /var ext3 defaults 1 2
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
tmpfs /var/nagiosramdisk tmpfs defaults,size=75m 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/VolGroup00/LogVol01_SWAP swap swap defaults 0 0
10.100.3.220:/kickstart /kickstart nfs defaults 1 2
I did find that the commands were missing, per the document. I made that change and now I can actually get to the tactical overview screen, however, it's not the right one. It's almost like it's pointing to an old version of it. If I click on the home link and it takes me to the tactical overview screen I have set for it to go to, it is updated and correct.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Tactical Overview, Ops Center, Ops Screen Problems
can you run the following
Code: Select all
/var/nagiosramdisk/objects.cacheRe: Tactical Overview, Ops Center, Ops Screen Problems
What does it need to be set to?
Code: Select all
-bash: /var/nagiosramdisk/objects.cache: Permission deniedCode: Select all
-rw-r--r-- 1 nagios nagios 6368693 Feb 26 19:25 objects.cacheRe: Tactical Overview, Ops Center, Ops Screen Problems
How's the free space on that RAM disk?
Code: Select all
df -h
df -iRe: Tactical Overview, Ops Center, Ops Screen Problems
mguthrie wrote:How's the free space on that RAM disk?
Code: Select all
df -h df -i
Code: Select all
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
108G 47G 56G 46% /
tmpfs 7.4G 0 7.4G 0% /dev/shm
/dev/sda1 97M 82M 11M 89% /bootCode: Select all
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/mapper/VolGroup00-LogVol00
7122336 203012 6919324 3% /
tmpfs 160609 1 160608 1% /dev/shm
/dev/sda1 25688 57 25631 1% /boot
Re: Tactical Overview, Ops Center, Ops Screen Problems
I came in this am to the following:
I'm assuming I need to resize the ramdisk...
Code: Select all
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00_ROOT
48G 28G 18G 61% /
/dev/mapper/VolGroup00-LogVol00
2.9G 69M 2.7G 3% /tmp
/dev/mapper/VolGroup00-LogVol00_VAR
4.8G 4.1G 390M 92% /var
/dev/hda1 190M 47M 134M 26% /boot
tmpfs 2.0G 0 2.0G 0% /dev/shm
tmpfs 75M 75M 0 100% /var/nagiosramdiskRe: Tactical Overview, Ops Center, Ops Screen Problems
Yes, but also check why it was filled up. If you're also using it for the perfdata and checkresult spool, those files can fill up the RAM disk if either the Nagios daemon or NPCD daemon aren't running.