Ramdisk full!

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Ramdisk full!

Post by BanditBBS »

Code: Select all

# use_load_threshold = <0 / 1> (default: 0)
#use_load_threshold = 0
# load_threshold = <float value> (default: 10.0)
load_threshold = 30
I don't know how those extra 3's got there, I modified and fixed and restarted npcd again. Still no change, folder file count still growing and nagiosXI process monitor is stopped and I cant get it to start.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Ramdisk full!

Post by abrist »

What error do you get when you try to start it?
Do you want to do a remote today?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Ramdisk full!

Post by BanditBBS »

I also fixed the /usr/local/nagios/etc/pnp/process_perfdata.cfg file as well. Can you post the first 20 lines or so of that file so I can verify mine is correct.

No error, just doesn't start and hell yes I'll do a remote :)
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Ramdisk full!

Post by tmcdonald »

BanditBBS wrote:No error, just doesn't start and hell yes I'll do a remote :)
He neglected to mention the remote will be with me :twisted:

I jest, however you might have to wait til tomorrow for a remote as it's getting sorta late here unless Andy wants to stay late for you.

Did you want a stock, unmodified process_perfdata.cfg or Andy's version?
Former Nagios employee
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Ramdisk full!

Post by BanditBBS »

tmcdonald wrote:
BanditBBS wrote:No error, just doesn't start and hell yes I'll do a remote :)
He neglected to mention the remote will be with me :twisted:

I jest, however you might have to wait til tomorrow for a remote as it's getting sorta late here unless Andy wants to stay late for you.

Did you want a stock, unmodified process_perfdata.cfg or Andy's version?
Stock...and I hope he does it today, I have no working monitoring :(
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Ramdisk full!

Post by abrist »

PM with remote credentials sent - Lets try to do this quick as the weather up here is quickly getting bad.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Ramdisk full!

Post by tmcdonald »

Code: Select all

$ cat process_perfdata.cfg
#
# Config File for process_perfdata.pl
#
# $Id: process_perfdata.cfg-sample.in 520 2008-09-16 12:50:10Z pitchfork $
#
# process_perfdata.pl Timout
#
TIMEOUT = 5
#
# Use RRDs Perl Module
#
USE_RRDs = 1
#
#
#
RRDPATH = /usr/local/nagios/share/perfdata
#
#
#
RRDTOOL = /usr/bin/rrdtool
#
#
#
CFG_DIR = /usr/local/nagios/etc/pnp
#
#
#
RRD_HEARTBEAT = 8460
#
#
#
RRA_CFG = /usr/local/nagios/etc/pnp/rra.cfg
#
#
#
RRA_STEP = 60
#
#
#
LOG_FILE = /usr/local/nagios/var/perfdata.log
#
# Loglevel 0=silent 1=normal 2=debug
#
LOG_LEVEL = 0
#
# XML encoding
# The supported encodings are ISO-8859-1, UTF-8 and US-ASCII.
# http://www.php.net/xml-parser-create
XML_ENC = UTF-8
#
# EXPERIMENTAL rrdcached Support
# Use only with rrdtool svn revision 1511+
#
# RRD_DAEMON_OPTS = unix:/tmp/rrdcached.sock
Fresh install, no reason for this to have been modified.
Former Nagios employee
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Ramdisk full!

Post by BanditBBS »

Thanks Trevor. When modifying those two files earlier somehow my keystrokes were multiplied and I didn't see it.

This thread can be closed as well. We deleted all the files in /var/nagiosramdisk/spool/xidpe and everything is flowing and working. We think npcd ran into issues when I bulk added 500 hosts and 3500 services a few weeks ago until the ramdisk filled.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Locked