[prometheus-users] node process running

2022-05-03 Thread BHARATH KUMAR
Hi all,

I want to know how many process running in a server. So I use the metric 
node_procs_running from prometheus and it is showing some value. But I want 
to know what are the names of those processes in linux. 

I tried with following commands:
ps -aef | grep node
ps -e | grep node

but it is not giving me the exact value what it is showing me in the 
promethues.
Could you please provide the command which will match the prometheus data?

Thanks & regards,
Bharath Kumar

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/4d59c583-fd93-4273-9d34-5203ceaa70e4n%40googlegroups.com.


Re: [prometheus-users] Does Prometheus support Netapp Trident NFS storage backend?

2022-05-03 Thread Stuart Clark

On 03/05/2022 01:34, tejaswini vadlamudi wrote:
Prometheus documentation recommends to avoid NFS storage backends. But 
a few users over internet claim support for NFS based storage from 
Netapp in Prometheus. Just checking for opinions and feedback if this 
storage backend is compatible enough for regular Prometheus operations.


NFS isn't a supported option for Prometheus. Prometheus can do a lot of 
I/O and therefore network storage often doesn't work all that well. You 
can also have issues if the filesystem isn't fully POSIX compliant.


Just because it isn't supported doesn't mean it won't work. However 
there are issues that people find, and if you do find those the 
recommendation would always be to switch the filesystem to something 
local. So basically you'd be fairly on your own if you did have problems.


--
Stuart Clark

--
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/91e130f1-1a94-b31e-59e6-960aa2dfae37%40Jahingo.com.


Re: [prometheus-users] timestamps in email messagefrom Alertmanager.

2022-05-03 Thread Julius Volz
Hi Sebastian,

What error are you getting and what's your config? The first answer puts
the current time of the evaluation of the alerting rule into the "time"
annotation (which wouldn't necessarily be the time the alert started
firing, but the last time it was still evaluated as firing). The second
Stack Overflow answer is maybe more what you want, accessing the
".StartsAt" field of an alert directly from an Alertmanager notification
template, and thus telling you when the alert first started firing. If you
share what you already have (and which kind of timestamp you expect), maybe
we can help you make it work.

Regards,
Julius

On Tue, May 3, 2022 at 11:49 AM Sebastian Osztovits <
sebastian.osztov...@gmail.com> wrote:

>
> Hello,
> I'm currently using Alert manager 0.22.2 and Prometheus 2.18.1.
> I have tried to alter my alert as shown in stack overflow  post:
>
>
> https://stackoverflow.com/questions/41069912/populating-a-date-time-in-prometheus-alert-manager-e-mail
> yet i am met with an error message when doing so.
> Does anyone have and email Template where they successfully added a
> Timestamp?
> Thanks in advance.
> Best Regards,
> Sebastian
>
> --
> You received this message because you are subscribed to the Google Groups
> "Prometheus Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to prometheus-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/prometheus-users/e03a03be-4d88-4ded-b969-f36a06c469f2n%40googlegroups.com
> 
> .
>


-- 
Julius Volz
PromLabs - promlabs.com

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


[prometheus-users] timestamps in email messagefrom Alertmanager.

2022-05-03 Thread Sebastian Osztovits

Hello, 
I'm currently using Alert manager 0.22.2 and Prometheus 2.18.1. 
I have tried to alter my alert as shown in stack overflow  post:  

https://stackoverflow.com/questions/41069912/populating-a-date-time-in-prometheus-alert-manager-e-mail
yet i am met with an error message when doing so. 
Does anyone have and email Template where they successfully added a 
Timestamp?
Thanks in advance. 
Best Regards, 
Sebastian 

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/e03a03be-4d88-4ded-b969-f36a06c469f2n%40googlegroups.com.