.. and there is prometheus exporter for `impstats` metrics:
https://github.com/jay7x/rsyslog_exporter_py  :-D

On Fri, 19 Feb 2021 at 07:36, David Lang via rsyslog <
rsyslog@lists.adiscon.com> wrote:

> see
> https://www.rsyslog.com/doc/v8-stable/configuration/modules/impstats.html
>
> also see https://www.rsyslog.com/doc/master/configuration/dyn_stats.html
>
> David Lang
>
> On Thu, 18 Feb 2021, odrzen via rsyslog wrote:
>
> > Date: Thu, 18 Feb 2021 23:27:04 +0000
> > From: odrzen via rsyslog <rsyslog@lists.adiscon.com>
> > Reply-To: odrzen <odr...@protonmail.com>,
> >     rsyslog-users <rsyslog@lists.adiscon.com>
> > To: rsyslog-users <rsyslog@lists.adiscon.com>
> > Cc: odrzen <odr...@protonmail.com>
> > Subject: Re: [rsyslog] Information about current syslog server
> >
> > This looks very interesting !! It's something I've been also looking for!
> > I want to be able to get some statistics from my server.
> >
> > I searched for the "pstats", but did not find anything.
> > Could you help me ?
> > * How you use it ?
> > * How can I see the same results for my clients ?
> >
> >
> > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> > On Wednesday, February 17, 2021 2:10 PM, John Chivian via rsyslog <
> rsyslog@lists.adiscon.com> wrote:
> >
> >> I use pstats to count outbound packets to remote servers…
> >>
> >> 00:00 server1: 239
> >> 00:00 server2: 0
> >> 00:00 server3: 0
> >>
> >> 00:01 server1: 134
> >> 00:01 server2: 153
> >> 00:01 server3: 0
> >>
> >> 00:02 server1: 0
> >> 00:02 server2: 267
> >> 00:02 server3: 0
> >>
> >> …and that seems useful enough for me for your use case.
> >>
> >> Regards,
> >>
> >> > On Feb 17, 2021, at 03:07, DavidU via rsyslog
> rsyslog@lists.adiscon.com wrote:
> >> > Thank you for this quick answer.
> >> > If i understood you propose to use statistics about syslog server
> usage.
> >> > But in fact i need to know which is the current syslog server, at any
> time.
> >> > So i don't think stats could help me...
> >> > The transitions from primary server to secondary server / from
> secondary
> >> > server to primary server would even be sufficient.
> >> > --
> >> > Sent from: http://rsyslog-users.1305293.n2.nabble.com/
> >> >
> >> > rsyslog mailing list
> >> > https://lists.adiscon.net/mailman/listinfo/rsyslog
> >> > http://www.rsyslog.com/professional-services/
> >> > What's up with rsyslog? Follow https://twitter.com/rgerhards
> >> > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a
> myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if
> you DON'T LIKE THAT.
> >>
> >> rsyslog mailing list
> >> https://lists.adiscon.net/mailman/listinfo/rsyslog
> >> http://www.rsyslog.com/professional-services/
> >> What's up with rsyslog? Follow https://twitter.com/rgerhards
> >> NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a
> myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if
> you DON'T LIKE THAT.
> >
> >
> > _______________________________________________
> > rsyslog mailing list
> > https://lists.adiscon.net/mailman/listinfo/rsyslog
> > http://www.rsyslog.com/professional-services/
> > What's up with rsyslog? Follow https://twitter.com/rgerhards
> > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad
> of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you
> DON'T LIKE THAT.
> _______________________________________________
> rsyslog mailing list
> https://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com/professional-services/
> What's up with rsyslog? Follow https://twitter.com/rgerhards
> NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad
> of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you
> DON'T LIKE THAT.



-- 
Yury Bushmelev
_______________________________________________
rsyslog mailing list
https://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to