On 15 Aug, 2006, at 15:18, Justin Craig wrote:

> And here is my service definition:
>
> service_description             PING
>        is_volatile                     0
>        check_period                    24x7
>        max_check_attempts              3
>        normal_check_interval           5
>        retry_check_interval            1
>        contact_groups                  nagiosadmin
>        notification_interval           120
>        notification_period             24x7
>        notification_options            c,r
>        check_command                   check_ping!100.0,20%!500.0,60%
>        }
>
> Is there a more optimal setting?

Well, for one I'd move most of these lines into a template at the top  
of the file :) That way you can decrease the length of your config  
file by at least 60%

Oh, and you're missing the hostname definition for your service check :)

Cheers!


Thomas



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to