public inbox for nncp-devel@lists.stargrave.org
Atom feed
* Prometheus exporter for nncp?
@ 2025-12-22 15:25 Hadmut Danisch
2025-12-22 16:35 ` dvn
0 siblings, 1 reply; 4+ messages in thread
From: Hadmut Danisch @ 2025-12-22 15:25 UTC (permalink / raw)
To: nncp-devel
Hi,
just a question:
Is anyone aware of a prometheus frontend for nncp, passing the data
given by nncp-stat (peers, tx/rx packets, bytes) to prometheus, e.g. to
warn/alert if the number of packages or time since last contact exceeds
a limit?
If not, I'd propose to add a prometheus exporter function to nncp-stat, see
https://prometheus.io/docs/instrumenting/writing_exporters/
where go is the language of choice.
best regards
Hadmut
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Prometheus exporter for nncp?
2025-12-22 15:25 Prometheus exporter for nncp? Hadmut Danisch
@ 2025-12-22 16:35 ` dvn
2025-12-22 17:16 ` Jonathan Lane
0 siblings, 1 reply; 4+ messages in thread
From: dvn @ 2025-12-22 16:35 UTC (permalink / raw)
To: Hadmut Danisch, nncp-devel
I have not heard of any prometheus exporter for nncp, but it would be
nice to have.
On 12/22/25 09:25, Hadmut Danisch wrote:
> Hi,
>
>
> just a question:
>
> Is anyone aware of a prometheus frontend for nncp, passing the data
> given by nncp-stat (peers, tx/rx packets, bytes) to prometheus, e.g. to
> warn/alert if the number of packages or time since last contact exceeds
> a limit?
>
>
> If not, I'd propose to add a prometheus exporter function to nncp-stat, see
>
> https://prometheus.io/docs/instrumenting/writing_exporters/
>
> where go is the language of choice.
>
>
> best regards
>
> Hadmut
>
>
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Prometheus exporter for nncp?
2025-12-22 16:35 ` dvn
@ 2025-12-22 17:16 ` Jonathan Lane
2025-12-22 19:08 ` John Goerzen
0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Lane @ 2025-12-22 17:16 UTC (permalink / raw)
To: nncp-devel
On Mon Dec 22, 2025 at 11:35 AM EST, dvn wrote:
> I have not heard of any prometheus exporter for nncp, but it would be
> nice to have.
The other thing it would be very nice to have, which may already exist,
is the ability for nncp-daemon to auto-toss every <time interval> as
specified in the config file. That would allow reducing a Kubernetes
NNCPNet deployment to a Postfix container, an NNCP container, a Dovecot
container, a Service exposing Postfix/465 and Dovecot/993, a shared
Persistent Volume, and some system for provisioning users/passwords.
Actually at this point integrating a CalDAV server would get you most of
the way to an Outlook/Exchange replacement if the NNCPNet node was
configured as an Internet bridge.
--
Jonathan Lane
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Prometheus exporter for nncp?
2025-12-22 17:16 ` Jonathan Lane
@ 2025-12-22 19:08 ` John Goerzen
0 siblings, 0 replies; 4+ messages in thread
From: John Goerzen @ 2025-12-22 19:08 UTC (permalink / raw)
To: Jonathan Lane; +Cc: nncp-devel
On Mon, Dec 22 2025, Jonathan Lane wrote:
> On Mon Dec 22, 2025 at 11:35 AM EST, dvn wrote:
>> I have not heard of any prometheus exporter for nncp, but it would be
>> nice to have.
> The other thing it would be very nice to have, which may already exist,
> is the ability for nncp-daemon to auto-toss every <time interval> as
> specified in the config file. That would allow reducing a Kubernetes
This already exists; see
https://nncp.mirrors.quux.org/nncp_002ddaemon.html and in particular the
autotoss options.
- John
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-12-22 19:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-22 15:25 Prometheus exporter for nncp? Hadmut Danisch
2025-12-22 16:35 ` dvn
2025-12-22 17:16 ` Jonathan Lane
2025-12-22 19:08 ` John Goerzen