Mailing List Archive

Prometheus exporter state
Hi!

What is current state of Prometheus expoter in ntopng ? I read that
https://github.com/ntop/ntopng/blob/dev/doc/README.prometheus and see that
it is beta. After very quick test I've opened 127.0.0.1:3000/metrics and
see only snmp-like counters

ifaces {metric="stats.devices", ifname="tcp://127.0.0.1:5556"} 2
1556290600000
ifaces {metric="stats.bytes", ifname="tcp://127.0.0.1:5556"} 159055347712
1556290600000
ifaces {metric="stats.packets", ifname="tcp://127.0.0.1:5556"} 358612992
1556290600000
ifaces {metric="stats.hosts", ifname="tcp://127.0.0.1:5556"} 16
1556290600000
ifaces {metric="stats.flows", ifname="tcp://127.0.0.1:5556"} 9 1556290600000
ifaces {metric="L7.SSL.bytes.sent", ifname="tcp://127.0.0.1:5556"}
2216689664 1556290600000
ifaces {metric="AS.0.bytes.rcvd", ifname="tcp://127.0.0.1:5556"}
22479372288 1556290600000
ifaces {metric="AS.XXXXX.bytes.sent", ifname="tcp://127.0.0.1:5556"}
137203023872 1556290600000
ifaces {metric="AS.XXXXX.bytes.rcvd", ifname="tcp://127.0.0.1:5556"}
81708187648 1556290600000

Is it all what is ready for Prometheus at the moment or we need some extra
configuration to see flow data?
We can see data from nprobe in ntop web ui so this part seems to work.

Thank you.

--
Bogdan Rudas
Director of IT Europe
Exadel Inc.
http://www.exadel.com/
E-mail: brudas@exadel.com
Skype ID: bogdan.rudas

--


CONFIDENTIALITY
NOTICE: This email and files attached to it are
confidential. If you
are not the intended recipient you are hereby notified
that using,
copying, distributing or taking any action in reliance on the
contents of this information is strictly prohibited. If you have
received
this email in error please notify the sender and delete this
email.
Re: Prometheus exporter state [ In reply to ]
Hi,

Yes, the Prometheus support is what you see. Only InfluxDB has become
part of ntopng as a generic timeseries storage. Please feel free to
provide pull requests if you improve it.

Regards,

Emanuele

On 4/26/19 4:59 PM, Bogdan Rudas wrote:
> Hi!
>
> What is current state of Prometheus expoter in ntopng ? I read that
> https://github.com/ntop/ntopng/blob/dev/doc/README.prometheus and see
> that it is beta. After very quick test I've opened
> 127.0.0.1:3000/metrics <http://127.0.0.1:3000/metrics> and see only
> snmp-like counters
>
> ifaces {metric="stats.devices", ifname="tcp://127.0.0.1:5556
> <http://127.0.0.1:5556>"} 2 1556290600000
> ifaces {metric="stats.bytes", ifname="tcp://127.0.0.1:5556
> <http://127.0.0.1:5556>"} 159055347712 1556290600000
> ifaces {metric="stats.packets", ifname="tcp://127.0.0.1:5556
> <http://127.0.0.1:5556>"} 358612992 1556290600000
> ifaces {metric="stats.hosts", ifname="tcp://127.0.0.1:5556
> <http://127.0.0.1:5556>"} 16 1556290600000
> ifaces {metric="stats.flows", ifname="tcp://127.0.0.1:5556
> <http://127.0.0.1:5556>"} 9 1556290600000
> ifaces {metric="L7.SSL.bytes.sent", ifname="tcp://127.0.0.1:5556
> <http://127.0.0.1:5556>"} 2216689664 1556290600000
> ifaces {metric="AS.0.bytes.rcvd", ifname="tcp://127.0.0.1:5556
> <http://127.0.0.1:5556>"} 22479372288 1556290600000
> ifaces {metric="AS.XXXXX.bytes.sent", ifname="tcp://127.0.0.1:5556
> <http://127.0.0.1:5556>"} 137203023872 1556290600000
> ifaces {metric="AS.XXXXX.bytes.rcvd", ifname="tcp://127.0.0.1:5556
> <http://127.0.0.1:5556>"} 81708187648 1556290600000
>
> Is it all what is ready for Prometheus at the moment or we need some
> extra configuration to see flow data?
> We can see data from nprobe in ntop web ui so this part seems to work.
>
> Thank you.
>
> --
> Bogdan Rudas
> Director of IT Europe
> Exadel Inc.
> http://www.exadel.com/
> E-mail: brudas@exadel.com <mailto:brudas@exadel.com>
> Skype ID: bogdan.rudas
>
> CONFIDENTIALITY NOTICE: This email and files attached to it are
> confidential. If you are not the intended recipient you are hereby
> notified that using, copying, distributing or taking any action in
> reliance on the contents of this information is strictly prohibited.
> If you have received this email in error please notify the sender and
> delete this email.
>
>
> _______________________________________________
> Ntop mailing list
> Ntop@listgateway.unipi.it
> http://listgateway.unipi.it/mailman/listinfo/ntop