Great, thanks for the feedback and super, that version 1.2.0 has improved 
that 👍

Julien Pivotto schrieb am Freitag, 5. November 2021 um 10:56:01 UTC+1:

> In 1.2.0 it is not needed to do the resurrection anymore.
>
> Regards,
>
> Le ven. 5 nov. 2021, 10:01, jobenvil <[email protected]> a écrit :
>
>> OK, the trick is to pipe output instead of to error, to the terminal. A 
>> colleague of me, expert in golang, told me the issue.
>>
>>
>> node_exporter --version 2>&1 ...
>>
>>
>>
>>
>> jobenvil schrieb am Freitag, 5. November 2021 um 09:09:07 UTC+1:
>>
>>> node_exporter --version output is not possible either to grep nor to 
>>> pipe to a file.
>>>
>>> Usecase: run automatical node_exporter update depending on the outputed 
>>> version and the latest GitHub release.
>>>
>>> Is there an insider way to retrieve the node_exporter version like just 
>>> 1.1.2?
>>>
>>>
>>> output of node_exporter --version
>>> node_exporter, version 1.1.2 (branch: HEAD, revision: 
>>> b597c1244d7bef49e6f3359c87a56dd7707f6719) build user: root@f07de8ca602a 
>>> build date: 20210305-09:29:10 go version: go1.15.8 platform: linux/amd64
>>>
>>>
>>>
>>> -- 
>> 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 [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/prometheus-users/6de932ee-2854-409f-b080-0cd4134251e6n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/prometheus-users/6de932ee-2854-409f-b080-0cd4134251e6n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/86daacb0-7881-4a8a-86dc-19ef84869e1bn%40googlegroups.com.

Reply via email to