Performance on a few hosts only

Michael Medin michael at medin.name
Wed Mar 2 20:48:32 CET 2005


I think as perfdata is only gathered when it is there you can probably 
make a simple wrapper script that strips it away from the command.
ie. check_foo -H $HOST$ | strip_perf

where strip_perf would be something along the following:
#!/bin/sh
awk -F \| '{print $1}'

only theorizing on a potential solution so don't really know...

// MickeM


Barry Maclean wrote:

>I'm using perfparse to put performance stats in a mysql database. It's
>working good. But I would like to disable performance stats on most of
>the servers I have and only enable it on a few servers. Can this be
>done??
>
>Many Thanks Barry
>
>
>
>-------------------------------------------------------
>SF email is sponsored by - The IT Product Guide
>Read honest & candid reviews on hundreds of IT Products from real users.
>Discover which products truly live up to the hype. Start reading now.
>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>_______________________________________________
>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
>
>  
>



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
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