Re: [prometheus-developers] SNMP monitoring | PUSH Method feasibility

2021-02-03 Thread Saurabh Jain
How can we achieve this?

Do you have any sample configuration for the same.

On Thu, Feb 4, 2021 at 3:50 AM daniel.s...@cloud.ionos.com <
daniel.swarbr...@cloud.ionos.com> wrote:

> How about using snmptt (http://www.snmptt.org/) to receive the traps and
> push them to Prometheus pushgateway?
>
> On Wednesday, February 3, 2021 at 8:58:35 PM UTC+1 Stuart Clark wrote:
>
>> On 03/02/2021 08:59, Ben Kochie wrote:
>> > I think the point is that commvault only implements traps, and has no
>> > metrics that can be polled via the snmp_exporter.
>> >
>> > In this case, Prometheus is not really a possible monitoring solution,
>> > as it's not an event store.
>>
>> Or you could write a custom exporter which accepts the trap events and
>> then publishes some metrics based on them (number of times the trap
>> happened, etc.)
>>
>> I've no idea if that would be any use however!
>>
>> --
>> Stuart Clark
>>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Prometheus Developers" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/prometheus-developers/o3N-BkMZy4c/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> prometheus-developers+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/prometheus-developers/424b95f7-4983-4fa0-9fc7-b6d1f919c1b4n%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-developers/CA%2BTEA9BYd18v4q3BfxJwE7WWWv%2BYV%2BODYaBhCiogGnr%2BnK7WWA%40mail.gmail.com.


Re: [prometheus-developers] Prometheus integration with RESt API

2021-02-03 Thread Julien Pivotto
On 02 Feb 23:10, Stuart Clark wrote:
> On 02/02/2021 15:45, s.saurab...@gmail.com wrote:
> > 
> > Hi Everyone ...
> > 
> > Is it possible to integrate target device whose REST API is exposed with
> > prometheus ??? Pls suggest options if possible.
> > 
> Are you meaning that you are wanting to fetch metrics from this REST API?
> 
> If so, this is where an exporter would be used. In whichever language you
> choose and the appropriate Prometheus client library you can call your API
> to fetch the metrics and then reply to Prometheus. You would then be able to
> scrape those metrics.

Hello,

If you do no own the API, the json_exporter might also help:

https://github.com/prometheus-community/json_exporter

Regards,

> 
> -- 
> Stuart Clark
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Prometheus Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to prometheus-developers+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/prometheus-developers/53edf054-ea50-9125-c6eb-6e96140f497f%40Jahingo.com.

-- 
Julien Pivotto
@roidelapluie

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-developers/20210203222834.GA1600032%40oxygen.


Re: [prometheus-developers] SNMP monitoring | PUSH Method feasibility

2021-02-03 Thread daniel.s...@cloud.ionos.com
How about using snmptt (http://www.snmptt.org/) to receive the traps and 
push them to Prometheus pushgateway?

On Wednesday, February 3, 2021 at 8:58:35 PM UTC+1 Stuart Clark wrote:

> On 03/02/2021 08:59, Ben Kochie wrote:
> > I think the point is that commvault only implements traps, and has no 
> > metrics that can be polled via the snmp_exporter.
> >
> > In this case, Prometheus is not really a possible monitoring solution, 
> > as it's not an event store.
>
> Or you could write a custom exporter which accepts the trap events and 
> then publishes some metrics based on them (number of times the trap 
> happened, etc.)
>
> I've no idea if that would be any use however!
>
> -- 
> Stuart Clark
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-developers/424b95f7-4983-4fa0-9fc7-b6d1f919c1b4n%40googlegroups.com.


Re: [prometheus-developers] SNMP monitoring | PUSH Method feasibility

2021-02-03 Thread Stuart Clark

On 03/02/2021 08:59, Ben Kochie wrote:
I think the point is that commvault only implements traps, and has no 
metrics that can be polled via the snmp_exporter.


In this case, Prometheus is not really a possible monitoring solution, 
as it's not an event store.


Or you could write a custom exporter which accepts the trap events and 
then publishes some metrics based on them (number of times the trap 
happened, etc.)


I've no idea if that would be any use however!

--
Stuart Clark

--
You received this message because you are subscribed to the Google Groups 
"Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-developers/c3ea6c16-840b-d77d-7510-e0f8d47019c3%40Jahingo.com.


[prometheus-developers] Pass additional version to docker file

2021-02-03 Thread Assaf Katz


Hi,

Currently there is no option to find out from docker manifest what is the 
version which it was built for. Therefore I created pull request (
https://github.com/prometheus/prometheus/pull/8435) to introduce this 
option. This will allow us to add version label to each image.

The change is small. Makefile.common already relies on VERSION file to 
calculate DOCKER_MAJOR_VERSION_TAG variable so there is no additional 
dependency. This change will introduce new warning until the docker files 
will be changed: '[Warning] One or more build-args [VERSION] were not 
consumed' but no new errors.

Thanks,

Assaf Katz

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-developers/a2c5334f-9aae-4820-9c45-7c86a0468b90n%40googlegroups.com.


Re: [prometheus-developers] SNMP monitoring | PUSH Method feasibility

2021-02-03 Thread Ben Kochie
I think the point is that commvault only implements traps, and has no
metrics that can be polled via the snmp_exporter.

In this case, Prometheus is not really a possible monitoring solution, as
it's not an event store.

On Thu, Jan 28, 2021 at 11:43 PM Stuart Clark 
wrote:

> On 28/01/2021 13:02, s.saurab...@gmail.com wrote:
>
>
> Hi Everyone ...
>
> We have commvault solution in our environment which we have to integrate
> with Prometheus for Hardware monitoring. However it is found that commvault
> don't support PULL mechanism on which prometheus works. Is there any other
> alternate through which we can integrate prometheus with commvault. Pls
> suggest
>
> The email subject mentions SNMP. That is fully supported using the SNMP
> Exporter: https://github.com/prometheus/snmp_exporter
>
> --
> Stuart Clark
>
> --
> You received this message because you are subscribed to the Google Groups
> "Prometheus Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to prometheus-developers+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/prometheus-developers/cca55c97-d7b6-a994-cbbf-1495a5693e0e%40Jahingo.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-developers/CABbyFmrx%2BDV%3DPhwKKuU3%2Bhh7bHvPKU0c3A3UVCEOyTNCyTfC8Q%40mail.gmail.com.