Page 6 of 9

Re: Reports section on side bar

Posted: Wed Nov 04, 2015 2:35 pm
by sinkak
nagios is monitoring around 35 hosts.

Code: Select all

ubuntu@nagios-2015:/var/mail$ sudo lshw -short
H/W path    Device  Class      Description
==========================================
                    system     HVM domU ()
/0                  bus        Motherboard
/0/0                memory     96KiB BIOS
/0/1                processor  Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
/0/2                memory     System Memory
/0/2/0              memory     2GiB DIMM RAM
/0/2/1              memory     2GiB DIMM RAM
/0/3                memory     96KiB BIOS
/0/4                processor  CPU
/0/5                memory     System Memory
/0/6                memory
/0/7                memory
/0/100              bridge     440FX - 82441FX PMC [Natoma]
/0/100/1            bridge     82371SB PIIX3 ISA [Natoma/Triton II]
/0/100/1.1          storage    82371SB PIIX3 IDE [Natoma/Triton II]
/0/100/1.3          bridge     82371AB/EB/MB PIIX4 ACPI
/0/100/2            display    GD 5446
/0/100/3            generic    Xen Platform Device
/1          eth0    network    Ethernet interface

Re: Reports section on side bar

Posted: Wed Nov 04, 2015 2:39 pm
by hsmith
I'm not convinced memory is the issue, but is it possible to add more RAM?

Re: Reports section on side bar

Posted: Wed Nov 04, 2015 2:48 pm
by sinkak

Code: Select all

00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
        Subsystem: Red Hat, Inc Qemu virtual machine
        Physical Slot: 0
        Flags: bus master, fast devsel, latency 0

00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
        Subsystem: Red Hat, Inc Qemu virtual machine
        Physical Slot: 1
        Flags: bus master, medium devsel, latency 0

00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II] (prog-if 80 [Master])
        Subsystem: XenSource, Inc. Device 0001
        Physical Slot: 1
        Flags: bus master, medium devsel, latency 64
        [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]
        [virtual] Memory at 000003f0 (type 3, non-prefetchable)
        [virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]
        [virtual] Memory at 00000370 (type 3, non-prefetchable)
        I/O ports at c100 [size=16]
        Kernel driver in use: ata_piix

00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 01)
        Subsystem: Red Hat, Inc Qemu virtual machine
        Physical Slot: 1
        Flags: bus master, fast devsel, latency 0, IRQ 9

00:02.0 VGA compatible controller: Cirrus Logic GD 5446 (prog-if 00 [VGA controller])
        Subsystem: XenSource, Inc. Device 0001
        Physical Slot: 2
        Flags: bus master, fast devsel, latency 0
        Memory at f0000000 (32-bit, prefetchable) [size=32M]
        Memory at f3000000 (32-bit, non-prefetchable) [size=4K]
        Expansion ROM at <unassigned> [disabled]

00:03.0 Unassigned class [ff80]: XenSource, Inc. Xen Platform Device (rev 01)
        Subsystem: XenSource, Inc. Xen Platform Device
        Physical Slot: 3
        Flags: bus master, fast devsel, latency 0, IRQ 28
        I/O ports at c000 [size=256]
        Memory at f2000000 (32-bit, prefetchable) [size=16M]
        Kernel driver in use: xen-platform-pci

Re: Reports section on side bar

Posted: Wed Nov 04, 2015 6:14 pm
by rkennedy
Taking a look it appears you're running Xen as a virtual - can you allocate more ram to the machine?

Re: Reports section on side bar

Posted: Mon Nov 09, 2015 2:12 pm
by sinkak
changing timeout to 600 didnt help.
if its a RAM issue. it can only be fixed in the future.
Thank You for your help

Re: Reports section on side bar

Posted: Tue Nov 10, 2015 11:31 am
by tmcdonald
You've mentioned that this server is accessed through a public URL, and that you VPN in at times. How was this server set up, and is it hosted at your company or somewhere like Amazon or Linode? If someone else provided the Ubuntu base OS, they might have made changes you were not aware of that are causing this.

Re: Reports section on side bar

Posted: Tue Nov 10, 2015 12:16 pm
by sinkak
amazon provided base OS version image in the beginning.
we installed latest nagios version on it.

Re: Reports section on side bar

Posted: Tue Nov 10, 2015 1:57 pm
by scottwilkerson
Can you show us the nagios.conf file for apache

Also, is it ALL of the links under reports, or just some?

Did you install via deb package or from source?

If from source, what commands did you all run?

Re: Reports section on side bar

Posted: Mon Nov 16, 2015 1:39 pm
by sinkak

Code: Select all

ubuntu@nagios-2015:/usr/local/nagios/etc$ more apache2.conf
<VirtualHost *:80>
        ServerName  ip-10-0-10-149.website.net

#ScriptAlias /nagios3/cgi-bin /usr/lib/cgi-bin/nagios3
        ScriptAlias /cgi-bin/nagios /usr/lib/cgi-bin/nagios
        AddHandler cgi-script .cgi
# Where the stylesheets (config files) reside
Alias /nagios/etc/stylesheets  /usr/local/nagios/etc/stylesheets

# Where the HTML pages live
Alias /nagios3 /usr/share/nagios3/htdocs

<DirectoryMatch (/usr/share/nagios3/htdocs|/usr/lib/cgi-bin/nagios| /usr/local/nagios/etc/stylesheets)>
        Options FollowSymLinks

        DirectoryIndex index.php index.html

        AllowOverride AuthConfig
        Order Allow,Deny
        Allow From All

        AuthName "Nagios Access"
        AuthType Basic
        AuthUserFile  /usr/local/nagios/etc/htpasswd.users
        # nagios 1.x:
        #AuthUserFile /etc/nagios/htpasswd.users
        require valid-user
</DirectoryMatch>

# Enable this ScriptAlias if you want to enable the grouplist patch.
# See http://apan.sourceforge.net/download.html for more info
# It allows you to see a clickable list of all hostgroups in the
# left pane of the Nagios web interface
# XXX This is not tested for nagios 2.x use at your own peril
#ScriptAlias /nagios3/side.html /usr/lib/cgi-bin/nagios3/grouplist.cgi
# nagios 1.x:
#ScriptAlias /nagios/side.html /usr/lib/cgi-bin/nagios3/grouplist.cgi
</VirtualHost>

Re: Reports section on side bar

Posted: Mon Nov 16, 2015 1:42 pm
by rkennedy
scottwilkerson wrote:Also, is it ALL of the links under reports, or just some?

Did you install via deb package or from source?

If from source, what commands did you all run?
Can you please answer the questions above as well?