Hi,
Please find below npcd.cfg, perfdata.log and npcd.log file for your reference.
#
# 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
After performing the below steps, still the problem persists.
service npcd stop
killall -9 npcd
service npcd start
[root@monitoring etc]# tail /usr/local/nagios/var/npcd.log
[02-12-2013 22:28:58] NPCD: Error while getting file status[02-12-2013 22:59:27] NPCD: Error while getting file status[02-12-2013 23:34:12] NPCD: Error while getting file status[02-12-2013 23:55:37] NPCD: Error while getting file status[02-13-2013 00:05:41] NPCD: Error while getting file status[02-13-2013 01:01:22] NPCD: Error while getting file status[02-13-2013 01:11:56] NPCD: ERROR: Executed command exits with return code '4'
[02-13-2013 01:11:56] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1360703508.perfdata.service'
[02-13-2013 02:18:40] NPCD: Error while getting file status[02-13-2013 02:54:56] NPCD: Error while getting file status[02-13-2013 03:03:28] NPCD: ERROR: Executed command exits with return code '4'
[02-13-2013 03:03:28] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1360710198.perfdata.host'
[02-13-2013 03:55:50] NPCD: Error while getting file status[02-13-2013 05:15:45] NPCD: ERROR: Executed command exits with return code '4'
[02-13-2013 05:15:45] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1360718133.perfdata.service'
[02-13-2013 05:39:57] NPCD: ERROR: Executed command exits with return code '4'
[02-13-2013 05:39:57] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1360719588.perfdata.service'
[02-13-2013 06:12:58] NPCD: Error while getting file status[02-13-2013 07:03:21] NPCD: Error while getting file status[02-13-2013 07:55:43] NPCD: ERROR: Executed command exits with return code '4'
[02-13-2013 07:55:43] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1360727718.perfdata.host'
You have new mail in /var/spool/mail/root
[root@monitoring etc]# tail /usr/local/nagios/var/perfdata.log
2013-01-08 13:50:53 [16408] [0] *** TIMEOUT: Please check your npcd.cfg
2013-01-08 13:50:53 [16408] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1357638636.perfdata.service-PID-16408 deleted
2013-01-08 13:50:53 [16408] [0] *** Timeout while processing Host: "192.168.104.2" Service: "netapps-cfs1-4_Bandwidth"
2013-01-08 13:50:53 [16408] [0] *** process_perfdata.pl terminated on signal ALRM
2013-01-08 13:51:30 [19935] [0] *** TIMEOUT: Timeout after 5 secs. ***
2013-01-08 13:51:30 [19935] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2013-01-08 13:51:30 [19935] [0] *** TIMEOUT: Please check your npcd.cfg
2013-01-08 13:51:30 [19935] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1357638681.perfdata.service-PID-19935 deleted
2013-01-08 13:51:30 [19935] [0] *** Timeout while processing Host: "192.168.104.2" Service: "mgmt_switches_12f_Bandwidth"
2013-01-08 13:51:30 [19935] [0] *** process_perfdata.pl terminated on signal ALRM