Page 2 of 2

Re: Ramdisk full!

Posted: Mon Dec 02, 2013 5:09 pm
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.

Re: Ramdisk full!

Posted: Mon Dec 02, 2013 5:12 pm
by abrist
What error do you get when you try to start it?
Do you want to do a remote today?

Re: Ramdisk full!

Posted: Mon Dec 02, 2013 5:13 pm
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 :)

Re: Ramdisk full!

Posted: Mon Dec 02, 2013 5:21 pm
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?

Re: Ramdisk full!

Posted: Mon Dec 02, 2013 5:22 pm
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 :(

Re: Ramdisk full!

Posted: Mon Dec 02, 2013 5:23 pm
by abrist
PM with remote credentials sent - Lets try to do this quick as the weather up here is quickly getting bad.

Re: Ramdisk full!

Posted: Mon Dec 02, 2013 5:24 pm
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.

Re: Ramdisk full!

Posted: Mon Dec 02, 2013 6:56 pm
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.