Page 1 of 1

Disabling NPCD on nagiosxi

Posted: Sat Jan 26, 2013 2:34 am
by Mitchell
Hello,

I have started using mod_gearman (PNP worker) for processing performance data and now want to disable the processing done by Nagios and NPCD.

I initially disabled the performance data processing in nagios.cfg by using the following setting, but did not work. Nagios was still processing host-perfdata and service-perfdata files.

Code: Select all

process_performance_data=0

Later, I disabled the whole config related to nagios bulk mode with npcd and it worked. I dont see new host-perfdata and service-perfdata files anymore.

Code: Select all

# PNP settings - bulk mode with NCPD
process_performance_data=0
#service_perfdata_file=/var/nagiosramdisk/service-perfdata
#service_perfdata_file_template=DATATYPE::SERVICEPERFDATA\tTIMET::$TIMET$\tHOSTNAME::$HOSTNAME$\tSERVICEDESC::$SERVICEDESC$\tSERVICEPERFDATA::$SERVICEPERFDATA$\tSERVICECHECKCOMMAND::$SERVICECHECKCOMMAND$\tHOSTSTATE::$HOSTSTATE$\tHOSTSTATETYPE::$HOSTSTATETYPE$\tSERVICESTATE::$SERVICESTATE$\tSERVICESTATETYPE::$SERVICESTATETYPE$\tSERVICEOUTPUT::$SERVICEOUTPUT$
#service_perfdata_file_mode=a
#service_perfdata_file_processing_interval=15
#service_perfdata_file_processing_command=process-service-perfdata-file-bulk
#host_perfdata_file=/var/nagiosramdisk/host-perfdata
#host_perfdata_file_template=DATATYPE::HOSTPERFDATA\tTIMET::$TIMET$\tHOSTNAME::$HOSTNAME$\tHOSTPERFDATA::$HOSTPERFDATA$\tHOSTCHECKCOMMAND::$HOSTCHECKCOMMAND$\tHOSTSTATE::$HOSTSTATE$\tHOSTSTATETYPE::$HOSTSTATETYPE$\tHOSTOUTPUT::$HOSTOUTPUT$
#host_perfdata_file_mode=a
#host_perfdata_file_processing_interval=15
#host_perfdata_file_processing_command=process-host-perfdata-file-bulk
I want to confirm that by doing so, I am not causing nagios to constantly look for these settings and eat up more CPU/MEM? I have disable the npcd service for now.

Thanks
Ashish

Re: Disabling NPCD on nagiosxi

Posted: Sun Jan 27, 2013 11:09 pm
by scottwilkerson
I believe this should be fine