John Jones wrote:
> Hello Community:
>
> OK. I have to admit, I am confused. No surprise there, this is all new
> to me.
> I need help understanding the basic mechanics of check_load and where
> the -c and -w loads
> are supposed to be configured. I have about 2 dozen links to DOCs and
> HowTos that I've read
> but I am stumped by this.
>
> Icinga 1.3.0 with plugins-1.4.15 and nrpe 2.7
>
> On the target server(s) I have this command defined:
> command[check_load]=/usr/local/nagios/libexec/check_load -w 5,10,15 -c
> 10,25,20
>
> on the Icinga server, my service definition has just
> check_command check_nrpe!check_load
>
> Is this sufficient?
>
>
for the most part , but you may wish to check the definitions of the
command itself too.
> This all got kick started when Icinga didn't fire off any email(s) on
> this event:
>
> Service Ok[05-24-2011 18:19:08] SERVICE ALERT:
> ftbmysql;Load;OK;SOFT;3;OK - load average: 1.34, 9.42, 7.76
> Service Warning[05-24-2011 18:16:08] SERVICE ALERT:
> ftbmysql;Load;WARNING;SOFT;2;WARNING - load average: 4.36, 16.52, 9.26
> Service Critical[05-24-2011 18:13:08] SERVICE ALERT:
> ftbmysql;Load;CRITICAL;SOFT;1;CRITICAL - load average: 74.93, 29.62, 11.10
>
>
notifications are not sent on soft state , only when the check reach a
HARD state will the user be notified.
> I'm thinking that changing -c and -w to
> -w 5,5,5 -c 10,10,10
>
> the entire service definition is:
> define service{
> use generic-service
> host_name ftbmysql
> contacts c9admins,ftbalerts
> contact_groups ftbadmins
> service_description Load
> retry_interval 3
> check_interval 3
> check_period 24x7
> notification_interval 60
> notification_options w,u,c,r
> notification_period 24x7
> check_command check_nrpe!check_load
> }
>
> should pretty much cover our rear-ends?
>
> The client is getting upset. It's a high profile server that generates
> revenue.
>
> Thank you all for your time.
>
> If you need any further information, please don't hesitate to ask.
>
>
>
Assaf
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/icinga-users