vm-ofbiz false alerts from Nagios

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

vm-ofbiz false alerts from Nagios

Jacques Le Roux
Administrator
Hi,

We get a *lot* of false alerts for vm-ofbiz from Nagios. Could we not set the check_command from 5|10 to say 10|15? I suggest these
numbers because I think they are more realistic for OFBiz which relies much on caching. This would be true for both instances (trunk
and stable). We could even increase/adjust them later again if needed, but I hope not.

Thanks

Jacques


Reply | Threaded
Open this post in threaded view
|

RE: vm-ofbiz false alerts from Nagios

gavin-105


> -----Original Message-----
> From: Jacques Le Roux [mailto:[hidden email]]
> Sent: Monday, 12 April 2010 3:49 AM
> To: [hidden email]
> Cc: [hidden email]
> Subject: vm-ofbiz false alerts from Nagios
>
> Hi,
>
> We get a *lot* of false alerts for vm-ofbiz from Nagios. Could we not
> set the check_command from 5|10 to say 10|15? I suggest these
> numbers because I think they are more realistic for OFBiz which relies
> much on caching. This would be true for both instances (trunk
> and stable). We could even increase/adjust them later again if needed,
> but I hope not.
>
> Thanks
>
> Jacques
>

Done.

Gav...



Reply | Threaded
Open this post in threaded view
|

Re: vm-ofbiz false alerts from Nagios

Jacques Le Roux
Administrator
In reply to this post by Jacques Le Roux
Hi Hans,

Not at the moment, but yes this sounds like a good idea to me.
As you can see at http://markmail.org/message/ojpjqe3xjvmsk5h6,  we use a Nagios command (at least I suppose it's Nagios):
check_command check_https!5!10 (now 10!15)

Gavin, could we use what Hans is suggesting instead? Because we still get almost the same number of false alerts with the change I
suggested.

Thanks

Jacques

From: "Hans Bakker" <[hidden email]>
To: "Jacques Le Roux" <[hidden email]>
Sent: Monday, April 12, 2010 2:00 AM

> are we using the /webtools/control/ping url to see if the system is up?
>
> this url will also check if he database is working...
>
> Regards,
> Hans
>
> On Sun, 2010-04-11 at 19:48 +0200, Jacques Le Roux wrote:
>> Hi,
>>
>> We get a *lot* of false alerts for vm-ofbiz from Nagios. Could we not set the check_command from 5|10 to say 10|15? I suggest
>> these
>> numbers because I think they are more realistic for OFBiz which relies much on caching. This would be true for both instances
>> (trunk
>> and stable). We could even increase/adjust them later again if needed, but I hope not.
>>
>> Thanks
>>
>> Jacques
>>
>>
> --
> Ofbiz on twitter: http://twitter.com/apache_ofbiz
> Myself on twitter: http://twitter.com/hansbak
> Antwebsystems.com: Quality services for competitive rates.
>


Reply | Threaded
Open this post in threaded view
|

Re: vm-ofbiz false alerts from Nagios

Shi Yusen
It would be better to add a Nagios plugin to monitor OFBiz status.

在 2010-04-12一的 11:24 +0200,Jacques Le Roux写道:

> Hi Hans,
>
> Not at the moment, but yes this sounds like a good idea to me.
> As you can see at http://markmail.org/message/ojpjqe3xjvmsk5h6,  we use a Nagios command (at least I suppose it's Nagios):
> check_command check_https!5!10 (now 10!15)
>
> Gavin, could we use what Hans is suggesting instead? Because we still get almost the same number of false alerts with the change I
> suggested.
>
> Thanks
>
> Jacques
>
> From: "Hans Bakker" <[hidden email]>
> To: "Jacques Le Roux" <[hidden email]>
> Sent: Monday, April 12, 2010 2:00 AM
> > are we using the /webtools/control/ping url to see if the system is up?
> >
> > this url will also check if he database is working...
> >
> > Regards,
> > Hans
> >
> > On Sun, 2010-04-11 at 19:48 +0200, Jacques Le Roux wrote:
> >> Hi,
> >>
> >> We get a *lot* of false alerts for vm-ofbiz from Nagios. Could we not set the check_command from 5|10 to say 10|15? I suggest
> >> these
> >> numbers because I think they are more realistic for OFBiz which relies much on caching. This would be true for both instances
> >> (trunk
> >> and stable). We could even increase/adjust them later again if needed, but I hope not.
> >>
> >> Thanks
> >>
> >> Jacques
> >>
> >>
> > --
> > Ofbiz on twitter: http://twitter.com/apache_ofbiz
> > Myself on twitter: http://twitter.com/hansbak
> > Antwebsystems.com: Quality services for competitive rates.
> >
>
>

Reply | Threaded
Open this post in threaded view
|

Re: vm-ofbiz false alerts from Nagios

hans_bakker
In reply to this post by Jacques Le Roux
Create a new command in nagios:

define command{
   command_name    ofbiz_ping
   command_line    $USER1$/check_http -S -H $HOSTADDRESS$
-u /webtools/control/ping -s PONG
}

(command_line is  a single line)

and use this command to check if the ofbiz is still active like:

   check_command    ofbiz_ping


Regards,
Hans

On Mon, 2010-04-12 at 11:24 +0200, Jacques Le Roux wrote:

> Hi Hans,
>
> Not at the moment, but yes this sounds like a good idea to me.
> As you can see at http://markmail.org/message/ojpjqe3xjvmsk5h6,  we use a Nagios command (at least I suppose it's Nagios):
> check_command check_https!5!10 (now 10!15)
>
> Gavin, could we use what Hans is suggesting instead? Because we still get almost the same number of false alerts with the change I
> suggested.
>
> Thanks
>
> Jacques
>
> From: "Hans Bakker" <[hidden email]>
> To: "Jacques Le Roux" <[hidden email]>
> Sent: Monday, April 12, 2010 2:00 AM
> > are we using the /webtools/control/ping url to see if the system is up?
> >
> > this url will also check if he database is working...
> >
> > Regards,
> > Hans
> >
> > On Sun, 2010-04-11 at 19:48 +0200, Jacques Le Roux wrote:
> >> Hi,
> >>
> >> We get a *lot* of false alerts for vm-ofbiz from Nagios. Could we not set the check_command from 5|10 to say 10|15? I suggest
> >> these
> >> numbers because I think they are more realistic for OFBiz which relies much on caching. This would be true for both instances
> >> (trunk
> >> and stable). We could even increase/adjust them later again if needed, but I hope not.
> >>
> >> Thanks
> >>
> >> Jacques
> >>
> >>
> > --
> > Ofbiz on twitter: http://twitter.com/apache_ofbiz
> > Myself on twitter: http://twitter.com/hansbak
> > Antwebsystems.com: Quality services for competitive rates.
> >
>
>
--
Ofbiz on twitter: http://twitter.com/apache_ofbiz
Myself on twitter: http://twitter.com/hansbak
Antwebsystems.com: Quality services for competitive rates.