Figured out the issue, there was firewall issue.
By the way, thanks for your suggestions.

On Monday, 25 May 2020 14:45:42 UTC+5:30, Stuart Clark wrote:
>
> If you use that IP address rather than localhost on the opensuse machine 
> (in the web browser) do you get metrics? 
>
> On 25 May 2020 10:14:03 BST, Harsh bhadoria <[email protected] 
> <javascript:>> wrote:
>>
>> In scrape_configs, i added the "job-name: 'node_exporter' " and in static 
>> config, I've added targets as IP address of debian and opensuse.
>> Like this, 
>> - target: ['194.167.200.146:9100','194.167.200.147:9100']
>>
>> On Monday, 25 May 2020 14:36:34 UTC+5:30, Stuart Clark wrote:
>>>
>>> What configuration do you have set for the different node exporters in 
>>> your prometheus.yml?
>>>
>>> On 25 May 2020 10:03:03 BST, Harsh bhadoria <[email protected]> 
>>> wrote:
>>>>
>>>> I used chrome in opensuse machine to check the metrics.
>>>>
>>>> On Monday, 25 May 2020 14:30:12 UTC+5:30, Stuart Clark wrote:
>>>>>
>>>>> When you say that you check the opensuse metrics with your browser, 
>>>>> which machine is that running on? Is that curl or a graphical browser? 
>>>>>
>>>>> On 25 May 2020 09:57:26 BST, Harsh bhadoria <[email protected]> 
>>>>> wrote:
>>>>>>
>>>>>> I just installed the node_exporter in my Suse env, then unzip it, 
>>>>>> went to node_exporter folder, there is an node_exporter executable file, 
>>>>>> from there I just give command (./node_exporter), it starts the server 
>>>>>> at 
>>>>>> port 9100, now from use env if I go to my browser and go to 
>>>>>> URL(localhost:9100) it shows it metrics, but in my prometheus 
>>>>>> server(running in windows side), I'm not getting access or see the 
>>>>>> metrics. 
>>>>>> On same time, same process I've done in my debian system, and by 
>>>>>> Prometheus 
>>>>>> is able to get the metrics. Problem is with node_exporter at suse side i 
>>>>>> think
>>>>>>
>>>>>> On Monday, 25 May 2020 14:21:14 UTC+5:30, Stuart Clark wrote:
>>>>>>>
>>>>>>> What is the exact command being used (with all the command line 
>>>>>>> options)? 
>>>>>>>
>>>>>>> On 25 May 2020 09:50:16 BST, Harsh bhadoria <[email protected]> 
>>>>>>> wrote:
>>>>>>>>
>>>>>>>> ./node_exporter..... command starts the node_exporter server. 
>>>>>>>> On Monday, 25 May 2020 14:18:43 UTC+5:30, Stuart Clark wrote:
>>>>>>>>>
>>>>>>>>> What command line options are being used for them? You can use ps 
>>>>>>>>> to check or look at the systemd unit
>>>>>>>>>
>>>>>>>>> On 25 May 2020 09:47:11 BST, Harsh bhadoria <[email protected]> 
>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>> In debian i've installed the node_exporter and ran it, now I can 
>>>>>>>>>> see the metrics from prometheus which is in windows, same I've 
>>>>>>>>>> installed in 
>>>>>>>>>> opensuse also, and running node_exporter, but I'm not getting info 
>>>>>>>>>> in 
>>>>>>>>>> prometheus.
>>>>>>>>>>
>>>>>>>>>> On Monday, 25 May 2020 14:14:54 UTC+5:30, Harsh bhadoria wrote:
>>>>>>>>>>>
>>>>>>>>>>> Yes, i can see the metrics from opensuse while going through 
>>>>>>>>>>> localhost:9100, but not getting it from prometheus
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Monday, 25 May 2020 14:00:52 UTC+5:30, Stuart Clark wrote:
>>>>>>>>>>>>
>>>>>>>>>>>> Are you able to use curl or wget to access the node exporter 
>>>>>>>>>>>> from the box or the Prometheus server? 
>>>>>>>>>>>>
>>>>>>>>>>>> On 25 May 2020 09:22:35 BST, Harsh bhadoria <
>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>> I've installed Prometheus in my windows machine and installed 
>>>>>>>>>>>>> Debian and OpenSuse in VMware. I wanted to check the system 
>>>>>>>>>>>>> metrics so, I 
>>>>>>>>>>>>> installed node_exporters in both(Debian and OpenSuse).
>>>>>>>>>>>>> But from prometheus server I can only access debian metrics, 
>>>>>>>>>>>>> opensuse target is showing down. (Error: Context time out).
>>>>>>>>>>>>> Can anyone help me to config node_exporter in opensuse.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>> -- 
>>>>>>>>>>>> Sent from my Android device with K-9 Mail. Please excuse my 
>>>>>>>>>>>> brevity.
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>> -- 
>>>>>>>>> Sent from my Android device with K-9 Mail. Please excuse my 
>>>>>>>>> brevity.
>>>>>>>>>
>>>>>>>>
>>>>>>> -- 
>>>>>>> Sent from my Android device with K-9 Mail. Please excuse my brevity.
>>>>>>>
>>>>>>
>>>>> -- 
>>>>> Sent from my Android device with K-9 Mail. Please excuse my brevity.
>>>>>
>>>>
>>> -- 
>>> Sent from my Android device with K-9 Mail. Please excuse my brevity.
>>>
>>
> -- 
> Sent from my Android device with K-9 Mail. Please excuse my brevity.
>

-- 
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/8196f4fe-043b-4251-91b5-421503639dc4%40googlegroups.com.

Reply via email to