Tactical Overview, Ops Center, Ops Screen Problems

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
jbennett
Posts: 522
Joined: Mon Apr 16, 2012 3:00 pm

Tactical Overview, Ops Center, Ops Screen Problems

Post by jbennett »

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.
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

Post by scottwilkerson »

Have you recently added a ram disk?

Can you output

Code: Select all

cat /usr/local/nagios/etc/nagios.cfg |grep object_cache_file
and then get permissions of the file is shows

Code: Select all

/usr/local/nagios/var/objects.cache
also, is nagios running

Code: Select all

service nagios status
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
jbennett
Posts: 522
Joined: Mon Apr 16, 2012 3:00 pm

Re: Tactical Overview, Ops Center, Ops Screen Problems

Post by jbennett »

scottwilkerson wrote:Have you recently added a ram disk?

Can you output

Code: 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.cache
and then get permissions of the file is shows

Code: 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 running

Code: Select all

service nagios status

Code: Select all

# service nagios status
nagios (pid 25824) is running...
jbennett
Posts: 522
Joined: Mon Apr 16, 2012 3:00 pm

Re: Tactical Overview, Ops Center, Ops Screen Problems

Post by jbennett »

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:

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
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.
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

Post by scottwilkerson »

can you run the following

Code: Select all

/var/nagiosramdisk/objects.cache
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
jbennett
Posts: 522
Joined: Mon Apr 16, 2012 3:00 pm

Re: Tactical Overview, Ops Center, Ops Screen Problems

Post by jbennett »

What does it need to be set to?

Code: Select all

-bash: /var/nagiosramdisk/objects.cache: Permission denied

Code: Select all

-rw-r--r-- 1 nagios nagios 6368693 Feb 26 19:25 objects.cache
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Tactical Overview, Ops Center, Ops Screen Problems

Post by mguthrie »

How's the free space on that RAM disk?

Code: Select all

df -h

df -i
jbennett
Posts: 522
Joined: Mon Apr 16, 2012 3:00 pm

Re: Tactical Overview, Ops Center, Ops Screen Problems

Post by jbennett »

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% /boot

Code: 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
jbennett
Posts: 522
Joined: Mon Apr 16, 2012 3:00 pm

Re: Tactical Overview, Ops Center, Ops Screen Problems

Post by jbennett »

I came in this am to the following:

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/nagiosramdisk
I'm assuming I need to resize the ramdisk...
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Tactical Overview, Ops Center, Ops Screen Problems

Post by mguthrie »

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.
Locked