Perfdata

Tedman Eng teng at dataway.com
Tue Oct 12 08:36:53 CEST 2004


I noticed that when switching from originally not using perfdata and then
later started wanting to use perfdata, I had to clear out the status.sav
before the perfdata commands became active.  I'm guessing that the original
perfdata state, "process perf_data 0", got saved in the retention file,
which does not automatically toggle even after changing to
"process_perf_data 1" in the config file.

I can't find a web-interface way to enable perfdata on a per-service basis,
but the config files do allow granular control of which services use perf
data.

For example, I am using perfdata only for ping services.  My perfdata
command is just a simple command that write to log files.

global nagios.cfg:
process_performance_data=1

I have my generic service template setup without perf data:
define service{
        name                            generic-service
        process_perf_data               0
        register                        0

My ping service template is the only one running perf data:
define service{
        name                            service-ping
        use                             generic-service
        process_perf_data               1
        register                        0


-----Original Message-----
From: Wengrzik, Andreas [mailto:Wengrzik at ewr.de]
Sent: Monday, October 11, 2004 10:47 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Perfdata


Hi!

Is there some way to only push performance data of selected hosts or
selected services??
I use Nagiostat for my graphs and got a lot of trash in my log file... I
just use this log for debugging, but there
its also a lot of data which i dont need...

Thanks!


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list