How to collect performance data for some particular services


Dear All,

Is it possible that I can set up nagios to collect performance data just for some services that I want? When I turn set process_performance_data=1, it will write the performance data of all services to the file. But I just want to write the performance data of some services, not all services. Is it possible?


– Chris


Yep. Set process_performance_data=0 in your templates, then set process_performance_data=1 in the relevant services.


Thanks for your suggestion. I tried it, but I got the error message saying “Invalid service object directive…”. I am using version 3.0b1.


– Chris


in fact, it is “process_perf_data” :slight_smile:


You’re not wrong… doh!

Half asleep again !shy