Changing Thresholds

Michael Egan michaele at capitalsafety.com
Mon Dec 17 18:19:17 CET 2007


Marc,
That did the trick!  Thank you for you help.

Mike 

-----Original Message-----
From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc
Powell
Sent: Monday, December 17, 2007 11:17 AM
To: Nagios Users Mailinglist
Subject: Re: [Nagios-users] Changing Thresholds



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-

> bounces at lists.sourceforge.net] On Behalf Of Michael Egan
> Sent: Monday, December 17, 2007 11:05 AM
> To: Nagios Users Mailinglist
> Subject: [Nagios-users] Changing Thresholds
> 
> How do I change the disk space and PING thresholds in Nagios?

Typically you'll edit the flags passed to the command_line of the plugin
for the check command{} you want to modify. For example, you'd change
the -w and -c parameters for check_disk to change the warning and
critical thresholds below --

define command {
    command_name                   check_disk
    command_line                   $USER1$/check_disk -t 40  -w 15% -c
10%
    }

Each plugin understands different flags. You can run standard plugins
from the command line with --help to see the parameters they accept.

--
Marc

------------------------------------------------------------------------
-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for just about anything Open
Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketp
lace
_______________________________________________
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.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
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