How to collect performance data for some particular services


#1

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?

Thanks,

– Chris


#2

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


#3

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

Regards,

– Chris


#4

in fact, it is “process_perf_data” :slight_smile:


#5

You’re not wrong… doh!

Half asleep again !shy