performance data from plugins - does it exist?
Karl DeBisschop
karl at debisschop.net
Sat Sep 14 04:23:15 CEST 2002
On Thu, 2002-09-12 at 16:43, Jeremy Tinley wrote:
> IIRC, you return metrics with the variable=value,variable=value format.
> Why not get all the data that the plugin returns and let the user do
> what they want?
>
> For HTTP...
> dns_time=2,conn_time=4,fb=2,cont_dl=... etc.
These are not currently tracked separately. The could be, but I'd like
to get basic performance stuff in, do some bug squashing, and make a
formal release. It just doesn't make sense to delay a formal release for
these (IMHO).
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net
> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Daniel
> Wittenberg
> Sent: Thursday, September 12, 2002 3:06 PM
> To: nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] performance data from plugins - does it
> exist?
>
> I could be wrong, but I would imagine we could probably come up with a
> list of "standard" performance-related measurements for every server,
> which would make things pretty standard from module to module. There
> are always going to be specifics for some modules, but I think a good
> first step might be to identify the common stats, and then we can see
> what needs to be done for the other modules.
To start with, let's say "time" is one. Units will be defined to be
seconds.
I have taken a quick stab at logging time for check_http.
Turns out it's not quite as clear as one might think. If the plugin
returns an CRITICAL state because a desired string is not found, should
a time be logged? Probably depends on the user. There's at least a few
judgement calls like that. I assume errors on 404s should not be logged,
generally, but that again may depend on the application.
But I took a crack at it, and I'll commit it for comment.
--
Karl
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
More information about the Users
mailing list