warning/critical directives
Ethan Galstad
nagios at nagios.org
Fri Mar 11 14:12:29 CET 2005
You can do this now by simply passing arguments to the check command.
define service {
use generic-service
host_name foo
service_description smtp
check_command check_smtp!10!15
}
define command {
command_name check_smtp
command_line $USER1$/check_smtp $HOSTADDRESS$ -w $ARG1$ -c
$ARG2$
}
On 16 Feb 2005 at 9:57, Gerd Mueller wrote:
> Hi list,
>
> a few days ago I had to mail one of our costumers there warning
> critical values for all his services. That was a really boring job
> :-(.
>
> For such future tasks it would be very helpful if there could be two
> optional directives "warning" and "critical". Both should be: - used
> be readable by macros ("$WARNING$","$CRITICAL$") to easily configure
> the commands - stored inside the object cache - columns inside the
> configuration report through the webinterface.
>
> an example:
>
> define service {
> use generic-service
> host_name foo
> service_description smtp
> check_command check_smtp
> warning 10
> critical 15
> }
>
> define command {
> command_name check_smtp
> command_line $USER1$/check_smtp $HOSTADDRESS$ -w $WARNING$ -c
> $CRITICAL$
> }
>
>
> OK, that won't improve nagios functional ;-) but it won't be so much
> work to document then.
>
> Any comments? Any volunteers for coding?
>
> Chers,
>
> Gerd
>
>
>
>
> -------------------------------------------------------
> 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-devel mailing
> list Nagios-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-devel
>
>
Ethan Galstad,
Nagios Developer
---
Email: nagios at nagios.org
Website: http://www.nagios.org
-------------------------------------------------------
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
More information about the Developers
mailing list