Displaying 20 results from an estimated 31 matches for "event_name".
2019 Jul 11
2
Getting login stats
...and optional a way to filter on the auth attempt status (successful or failed).
My server uses a simple auth (with LDAP backend) and supports only "auth_mechanisms = plain login"
I tried using the following metrics:
--------------------------------
metric auth_request_finished {
event_name = auth_request_finished
}
metric auth_passdb_request_finished {
event_name = auth_passdb_request_finished
}
metric auth_userdb_request_finished {
event_name = auth_userdb_request_finished
}
metric auth_client_request_started {
event_name = auth_client_request_started
}
metric auth_clie...
2006 Aug 07
2
Dynamically created queries
...rails way,
or if there is a better way to do this.
rgds,
- matt.
-----------------------------------------------------------
This is roughly how I''ve mangle rails as I would have done it in PHP
event = Event.new(params[:event])
strQuery = ""
unless event.event_name.blank
strQuery = "UPPER(event_name) LIKE UPPER(" +
event.event_name.to_s + ") "
end
unless event.artist.blank
strQuery += sql_and(strQuery)
strQuery += "UPPER(artist) LIKE UPPER(" + event.artist.to_s + ")
"
end...
2013 Jan 07
3
renumber a list of numbers
...re(list(Group = structure(c(1L, 1L, 1L, 1L, 1L, 1L, 1L,
1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L,
1L, 1L, 1L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L,
2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L), .Label = c("NO", "YES"
), class = "factor"), Event_name = c(8, 9, 10, 11, 12, 13, 14,
15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30,
31, 33, 34, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
21, 22, 23, 24, 25, 26, 27, 28, 29, 30), Glucose.n = c(26, 3,
0, 26, 1, 25, 26, 25, 25, 26, 26, 25, 23, 23, 24, 24, 26, 26,
25, 25, 26, 26, 24,...
2019 Jul 11
0
Getting login stats
...ying to get some IMAP auth stats on a Dovecot 2.3.6 instance, but whatever I declare in metric, it always show 0.
None of these auth_* requests exist in 2.3.6.
> I tried using the following metrics:
>
>
> --------------------------------
> metric auth_request_finished {
> event_name = auth_request_finished
> }
>
> metric auth_passdb_request_finished {
> event_name = auth_passdb_request_finished
> }
>
> metric auth_userdb_request_finished {
> event_name = auth_userdb_request_finished
> }
>
> metric auth_client_request_started {
>...
2019 Aug 15
2
2.3.7 + stats
Is there any additional documentation/information around the new stats
module.
Have added some metrics just to see what they produce
##
## Metrics
###
metric imap {
??? event_name = imap_command_finished
??? #source_location = example.c:123
??? #categories =
??? fields = name args running_usecs bytes_in bytes_out
??? #filter {
??? #??? field_key = wildcard
??? #}
}
metric sql {
??? event_name = sql_query_finished
}
metric auth {
??? event_name = auth_request_fin...
2019 Jun 02
4
Stats/Metrics in 2.3
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Greetings,
So the changes to the stats modules between v2.2 and v2.3 have broken some
of my monitoring. I am attempting to use the new method of gathering
"metrics" from "events" - but the details in the documentation are a bit
thin.
I started with the examples provided at
https://wiki2.dovecot.org/Statistics and tried to
2007 Mar 07
0
11 commits - libswfdec/swfdec_event.c libswfdec/swfdec_event.h libswfdec/swfdec_js_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_scriptable.c libswfdec/swfdec_scriptable.h libswfdec/swfdec_script.c libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite.h
...in addition to frame events loaded from the file
diff --git a/libswfdec/swfdec_event.c b/libswfdec/swfdec_event.c
index d988ad3..06526fa 100644
--- a/libswfdec/swfdec_event.c
+++ b/libswfdec/swfdec_event.c
@@ -41,6 +41,75 @@ struct _SwfdecEventList {
GArray * events;
};
+static const char *event_names[] = {
+ "onLoad",
+ "onEnterFrame",
+ "onUnload",
+ "onMouseMove",
+ "onMouseDown",
+ "onMouseUp",
+ "onKeyUp",
+ "onKeyDown",
+ "onData",
+ NULL,
+ "onPress",
+ "onRelease",
+...
2020 Jan 26
0
Number of imap-login processes always keeps growing, never goes down
...ilto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext
metric imap_command_fetch_ok {
event_name = imap_command_finished
filter {
name = FETCH
tagged_reply_stat = OK
}
}
metric imap_command_list {
event_name = imap_command_finished
filter {
name = LIST
tagged_reply_state = OK
}
}
metric imap_command_search {
event_name = imap_command_finished
filter {
name = S...
2007 Feb 22
0
6 commits - libswfdec/Makefile.am libswfdec/swfdec_js.c libswfdec/swfdec_js_mouse.c libswfdec/swfdec_listener.c libswfdec/swfdec_listener.h libswfdec/swfdec_movie.c libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h libswfdec/swfdec_root_movie.c
...(listener->entries[i].object == obj) {
+ if (listener->entries[i].blocked) {
+ listener->entries[i].removed = TRUE;
+ } else {
+ listener->entries[i].object = NULL;
+ }
+ return;
+ }
+ }
+}
+
+static void
+swfdec_listener_do_execute (gpointer listenerp, gpointer event_name)
+{
+ guint i;
+ SwfdecListener *listener = listenerp;
+ JSContext *cx = listener->player->jscx;
+
+ for (i = 0; i < listener->n_entries; i++) {
+ if (listener->entries[i].blocked) {
+ jsval fun;
+ JSObject *obj = listener->entries[i].object;
+ if (listener-&...
2019 Aug 16
0
2.3.7 + stats
...23:57, Matt Bryant via dovecot <dovecot at dovecot.org> a ?crit :
>
> Is there any additional documentation/information around the new stats module.
>
> Have added some metrics just to see what they produce
>
> ##
> ## Metrics
> ###
>
> metric imap {
> event_name = imap_command_finished
> #source_location = example.c:123
>
> #categories =
>
> fields = name args running_usecs bytes_in bytes_out
>
> #filter {
> # field_key = wildcard
> #}
> }
>
> metric sql {
> event_name = sql_query_fi...
2007 Apr 04
0
Branch 'as' - 17 commits - configure.ac doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt doc/swfdec.types libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_loader.c libswfdec-gtk/swfdec_gtk_loader.h
...h"
+#include "swfdec_as_object.h"
#include "swfdec_debug.h"
-#include "swfdec_js.h"
#include "swfdec_player_internal.h"
#include "swfdec_script.h"
@@ -41,70 +40,57 @@ struct _SwfdecEventList {
GArray * events;
};
-static const char *event_names[] = {
- "onLoad",
- "onEnterFrame",
- "onUnload",
- "onMouseMove",
- "onMouseDown",
- "onMouseUp",
- "onKeyUp",
- "onKeyDown",
- "onData",
- NULL,
- "onPress",
- "onRelease",
-...
2020 Aug 22
2
Metric label values truncated when using OpenMetrics endpoint
Hi,
Recently we upgraded to Dovecot 2.3.11.3 and configured an example metric like this:
metric imap_command {
event_name = imap_command_finished
group_by = cmd_name tagged_reply_state user remote_ip
}
And enabled the OpenMetrics listener like this:
service stats {
inet_listener http {
port = 5000
}
}
While the result is great, I noticed that some metrics are being truncated (three dots at the end of the...
2020 Aug 25
2
Metric label values truncated when using OpenMetrics endpoint
...org>
Subject: Re: Metric label values truncated when using OpenMetrics endpoint
On Sat, Aug 22, 2020 at 00:31:36 +0000, Daan van Gorkum wrote:
> Hi,
>
> Recently we upgraded to Dovecot 2.3.11.3 and configured an example metric
> like this:
>
>
> metric imap_command {
> event_name = imap_command_finished
> group_by = cmd_name tagged_reply_state user remote_ip
Grouping by remote_ip seems a bit dangerous unless the ips are somehow
limited. Each unique value will result in (permanent) memory allocation, so
this has the potential to slowly grow the stats process large eno...
2020 Sep 19
1
auth_passdb_request_finished request fires twice on IMAP login
...appears to be
logged twice (once by "auth" and once by "auth-worker"). However, the
actual passdb lookup against Redis is only performed once. This is
confirmed by monitoring queries made against Redis.
Configuration:
--------------
metric auth_passdb_request_finished {
event_name = auth_passdb_request_finished
}
auth_debug = yes
passdb {
auth_verbose = yes
override_fields = proxy=y
name = redis
driver = dict
args = /etc/dovecot/dovecot-redis.conf.ext
}
--------------
With the above configuration, I am seeing the
auth_passdb_request_finished metric being i...
2020 Aug 27
1
Metric label values truncated when using OpenMetrics endpoint
...Thanks again for your insights. I understand that a lot of features are pending and it's totally fine, we're just very eager to use all these features.
Reagarding the logging of failed attempts I did try to configure this in these two metrics:
metric auth_client_userdb_lookup_finished {
event_name = auth_client_userdb_lookup_finished
group_by = service local_ip remote_ip user
}
metric auth_client_passdb_lookup_finished {
event_name = auth_client_passdb_lookup_finished
group_by = service local_ip remote_ip user
}
In both our testing and production environment these are not increasing and...
2018 May 30
2
Fatal: nfs flush requires mail_fsync=always
...ext_auth = no
>> lock_method = dotlock
>> mail_fsync = always
>> mail_location = maildir:/mnt/virtual_mail/%d/%n
>> mail_nfs_index = yes
>> mail_nfs_storage = yes
>> mail_plugins = quota
>> mailbox_list_index = no
>> metric imap_select_no {
>> event_name = imap_command_finished
>> filter {
>> name = SELECT
>> tagged_reply_state = NO
>> }
>> }
>> mmap_disable = yes
>> namespace inbox {
>> inbox = yes
>> location =
>> mailbox Drafts {
>> special_use = \Drafts
>...
2018 Jan 19
1
Fatal: nfs flush requires mail_fsync=always
...nf.ext
sqlquota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
}
disable_plaintext_auth = no
lock_method = dotlock
mail_fsync = always
mail_location = maildir:/mnt/virtual_mail/%d/%n
mail_nfs_index = yes
mail_nfs_storage = yes
mail_plugins = quota
mailbox_list_index = no
metric imap_select_no {
event_name = imap_command_finished
filter {
name = SELECT
tagged_reply_state = NO
}
}
mmap_disable = yes
namespace inbox {
inbox = yes
location =
mailbox Drafts {
special_use = \Drafts
}
mailbox Junk {
auto = subscribe
special_use = \Junk
}
mailbox Sent {
special_use...
2019 Oct 30
2
Dovecot and MySQL aborted connections.
We also spotted these sql connections getting aborted, upon upgrading
MySQL from 5.6 to 5.7. (Going back to 5.6 we don't see them!)
Turning on mysql general query logging we can see it is Dovecot's mysql
connections that inquire about or update quota usage in particular:
*** /logs//mysql.log ***
2019-10-30T10:52:22.624690-07:00 2 Connect dovecot at localhost on
npomail using
2020 Aug 24
0
Metric label values truncated when using OpenMetrics endpoint
On Sat, Aug 22, 2020 at 00:31:36 +0000, Daan van Gorkum wrote:
> Hi,
>
> Recently we upgraded to Dovecot 2.3.11.3 and configured an example metric
> like this:
>
>
> metric imap_command {
> event_name = imap_command_finished
> group_by = cmd_name tagged_reply_state user remote_ip
Grouping by remote_ip seems a bit dangerous unless the ips are somehow
limited. Each unique value will result in (permanent) memory allocation, so
this has the potential to slowly grow the stats process large eno...
2020 Sep 19
0
auth_passdb_request_finished request fires twice on IMAP login
...appears to be
logged twice (once by "auth" and once by "auth-worker"). However, the
actual passdb lookup against Redis is only performed once. This is
confirmed by monitoring queries made against Redis.
Configuration:
--------------
metric auth_passdb_request_finished {
event_name = auth_passdb_request_finished
}
auth_debug = yes
passdb {
auth_verbose = yes
override_fields = proxy=y
name = redis
driver = dict
args = /etc/dovecot/dovecot-redis.conf.ext
}
--------------
With the above configuration, I am seeing the
auth_passdb_request_finished metric being i...