<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Skyline installation stuck at the Prometheus setup in OpenTelemetry/Skyline</title>
    <link>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Skyline-installation-stuck-at-the-Prometheus-setup/m-p/174912#M116</link>
    <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did my first attempt setting up a Skyline server, but I'm struggling getting the Prometheus service up after adding statement from section (3.1 ) the github instructions&amp;nbsp;&lt;/P&gt;&lt;P&gt;( &lt;A href="https://protect-eu.mimecast.com/s/v94JC2RyQh64D41XhnQFFX?domain=github.com" target="_blank"&gt;https://github.com/mmanningcp/skylineinstructions/blob/main/README.md&lt;/A&gt; )&amp;nbsp;&lt;/P&gt;&lt;P&gt;mentioned in the Youtube video (&amp;nbsp;&lt;A href="https://protect-eu.mimecast.com/s/L75IC3lzPhxPrPqliqwKfi?domain=youtu.be" target="_blank"&gt;https://youtu.be/FO2Rp9x31i0&lt;/A&gt; ) from&amp;nbsp;sk178566.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I setup Prometheus according to some other instructions found at&amp;nbsp;&lt;A href="https://protect-eu.mimecast.com/s/52HxC48APF6nwngOhBXCVE?domain=serverspace.io" target="_blank"&gt;https://serverspace.io/support/help/install-prometheus-ubuntu-20-04&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get the server running fine again, but as soon as I add the Github 3.1 section statement. The service fails to load.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is what my&amp;nbsp;/etc/prometheus/prometheus.yml looks like.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I disable the last 2 lines ...&lt;/P&gt;&lt;P&gt;( the ones from the github section 3.1 instructions, only with my own local server IP in it obviously )&lt;/P&gt;&lt;P&gt;.. I can't start the service any longer. If I comment out those 2 lines, the Prometheus service runs fine and I can access my servers' Prometheus service on port 9090&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;checkpoint@skyline:/etc/prometheus$ cat prometheus.yml&lt;BR /&gt;# my global config&lt;BR /&gt;global:&lt;BR /&gt;&amp;nbsp; scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.&lt;BR /&gt;&amp;nbsp; evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.&lt;BR /&gt;&amp;nbsp; # scrape_timeout is set to the global default (10s).&lt;BR /&gt;&lt;BR /&gt;# Alertmanager configuration&lt;BR /&gt;alerting:&lt;BR /&gt;&amp;nbsp; alertmanagers:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; - static_configs:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - targets:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # - alertmanager:9093&lt;BR /&gt;&lt;BR /&gt;# Load rules once and periodically evaluate them according to the global 'evaluation_interval'.&lt;BR /&gt;rule_files:&lt;BR /&gt;&amp;nbsp; # - "first_rules.yml"&lt;BR /&gt;&amp;nbsp; # - "second_rules.yml"&lt;BR /&gt;&lt;BR /&gt;# A scrape configuration containing exactly one endpoint to scrape:&lt;BR /&gt;# Here it's Prometheus itself.&lt;BR /&gt;scrape_configs:&lt;BR /&gt;&amp;nbsp; # The job name is added as a label `job=&amp;lt;job_name&amp;gt;` to any timeseries scraped from this config.&lt;BR /&gt;&amp;nbsp; - job_name: "prometheus"&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; # metrics_path defaults to '/metrics'&lt;BR /&gt;&amp;nbsp; &amp;nbsp; # scheme defaults to 'http'.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; static_configs:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;- targets: ["localhost:9090"]&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# &amp;nbsp; &amp;nbsp;remote_write:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# &amp;nbsp; &amp;nbsp;- url: "&lt;A href="https://protect-eu.mimecast.com/s/Whh1C58BXFRzrzE7u2wycA?domain=192.168.111.104" target="_blank"&gt;http://192.168.111.104:9090/api/v1/write&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Working :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IDoCare2022_0-1678873124623.png" style="width: 400px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/20085i0D98F4BB4D45A5E9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IDoCare2022_0-1678873124623.png" alt="IDoCare2022_0-1678873124623.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I remove the comment and activate the statements in the yml file :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;remote_write:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;- url: "&lt;A href="https://protect-eu.mimecast.com/s/Whh1C58BXFRzrzE7u2wycA?domain=192.168.111.104" target="_blank"&gt;http://192.168.111.104:9090/api/v1/write&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IDoCare2022_1-1678873124626.png" style="width: 400px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/20084i3BBEC6EF6D9BE89F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IDoCare2022_1-1678873124626.png" alt="IDoCare2022_1-1678873124626.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then I get this :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IDoCare2022_2-1678873124631.png" style="width: 400px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/20083iC484DC679D68AE1C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IDoCare2022_2-1678873124631.png" alt="IDoCare2022_2-1678873124631.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did a dos2unix on the yml file, didn't change anything.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some more info :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-checkpoint@skyline:/usr/local/bin$ ./prometheus --version&lt;BR /&gt;prometheus, version 2.42.0 (branch: HEAD, revision: 225c61122d88b01d1f0eaaee0e05b6f3e0567ac0)&lt;BR /&gt;&amp;nbsp; build user: &amp;nbsp; &amp;nbsp; &amp;nbsp; root@c67d48967507&lt;BR /&gt;&amp;nbsp; build date: &amp;nbsp; &amp;nbsp; &amp;nbsp; 20230201-07:53:32&lt;BR /&gt;&amp;nbsp; go version: &amp;nbsp; &amp;nbsp; &amp;nbsp; go1.19.5&lt;BR /&gt;&amp;nbsp; platform: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; linux/amd64&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-checkpoint@skyline:/usr/local/bin$ cat /etc/issue&lt;BR /&gt;Ubuntu 22.04.2 LTS \n \l&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas please ? Thx.&lt;/P&gt;</description>
    <pubDate>Wed, 15 Mar 2023 09:41:16 GMT</pubDate>
    <dc:creator>IDoCare2022</dc:creator>
    <dc:date>2023-03-15T09:41:16Z</dc:date>
    <item>
      <title>Skyline installation stuck at the Prometheus setup</title>
      <link>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Skyline-installation-stuck-at-the-Prometheus-setup/m-p/174912#M116</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did my first attempt setting up a Skyline server, but I'm struggling getting the Prometheus service up after adding statement from section (3.1 ) the github instructions&amp;nbsp;&lt;/P&gt;&lt;P&gt;( &lt;A href="https://protect-eu.mimecast.com/s/v94JC2RyQh64D41XhnQFFX?domain=github.com" target="_blank"&gt;https://github.com/mmanningcp/skylineinstructions/blob/main/README.md&lt;/A&gt; )&amp;nbsp;&lt;/P&gt;&lt;P&gt;mentioned in the Youtube video (&amp;nbsp;&lt;A href="https://protect-eu.mimecast.com/s/L75IC3lzPhxPrPqliqwKfi?domain=youtu.be" target="_blank"&gt;https://youtu.be/FO2Rp9x31i0&lt;/A&gt; ) from&amp;nbsp;sk178566.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I setup Prometheus according to some other instructions found at&amp;nbsp;&lt;A href="https://protect-eu.mimecast.com/s/52HxC48APF6nwngOhBXCVE?domain=serverspace.io" target="_blank"&gt;https://serverspace.io/support/help/install-prometheus-ubuntu-20-04&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get the server running fine again, but as soon as I add the Github 3.1 section statement. The service fails to load.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is what my&amp;nbsp;/etc/prometheus/prometheus.yml looks like.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I disable the last 2 lines ...&lt;/P&gt;&lt;P&gt;( the ones from the github section 3.1 instructions, only with my own local server IP in it obviously )&lt;/P&gt;&lt;P&gt;.. I can't start the service any longer. If I comment out those 2 lines, the Prometheus service runs fine and I can access my servers' Prometheus service on port 9090&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;checkpoint@skyline:/etc/prometheus$ cat prometheus.yml&lt;BR /&gt;# my global config&lt;BR /&gt;global:&lt;BR /&gt;&amp;nbsp; scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.&lt;BR /&gt;&amp;nbsp; evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.&lt;BR /&gt;&amp;nbsp; # scrape_timeout is set to the global default (10s).&lt;BR /&gt;&lt;BR /&gt;# Alertmanager configuration&lt;BR /&gt;alerting:&lt;BR /&gt;&amp;nbsp; alertmanagers:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; - static_configs:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - targets:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # - alertmanager:9093&lt;BR /&gt;&lt;BR /&gt;# Load rules once and periodically evaluate them according to the global 'evaluation_interval'.&lt;BR /&gt;rule_files:&lt;BR /&gt;&amp;nbsp; # - "first_rules.yml"&lt;BR /&gt;&amp;nbsp; # - "second_rules.yml"&lt;BR /&gt;&lt;BR /&gt;# A scrape configuration containing exactly one endpoint to scrape:&lt;BR /&gt;# Here it's Prometheus itself.&lt;BR /&gt;scrape_configs:&lt;BR /&gt;&amp;nbsp; # The job name is added as a label `job=&amp;lt;job_name&amp;gt;` to any timeseries scraped from this config.&lt;BR /&gt;&amp;nbsp; - job_name: "prometheus"&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; # metrics_path defaults to '/metrics'&lt;BR /&gt;&amp;nbsp; &amp;nbsp; # scheme defaults to 'http'.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; static_configs:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;- targets: ["localhost:9090"]&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# &amp;nbsp; &amp;nbsp;remote_write:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# &amp;nbsp; &amp;nbsp;- url: "&lt;A href="https://protect-eu.mimecast.com/s/Whh1C58BXFRzrzE7u2wycA?domain=192.168.111.104" target="_blank"&gt;http://192.168.111.104:9090/api/v1/write&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Working :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IDoCare2022_0-1678873124623.png" style="width: 400px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/20085i0D98F4BB4D45A5E9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IDoCare2022_0-1678873124623.png" alt="IDoCare2022_0-1678873124623.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I remove the comment and activate the statements in the yml file :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;remote_write:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;- url: "&lt;A href="https://protect-eu.mimecast.com/s/Whh1C58BXFRzrzE7u2wycA?domain=192.168.111.104" target="_blank"&gt;http://192.168.111.104:9090/api/v1/write&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IDoCare2022_1-1678873124626.png" style="width: 400px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/20084i3BBEC6EF6D9BE89F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IDoCare2022_1-1678873124626.png" alt="IDoCare2022_1-1678873124626.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then I get this :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IDoCare2022_2-1678873124631.png" style="width: 400px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/20083iC484DC679D68AE1C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IDoCare2022_2-1678873124631.png" alt="IDoCare2022_2-1678873124631.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did a dos2unix on the yml file, didn't change anything.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some more info :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-checkpoint@skyline:/usr/local/bin$ ./prometheus --version&lt;BR /&gt;prometheus, version 2.42.0 (branch: HEAD, revision: 225c61122d88b01d1f0eaaee0e05b6f3e0567ac0)&lt;BR /&gt;&amp;nbsp; build user: &amp;nbsp; &amp;nbsp; &amp;nbsp; root@c67d48967507&lt;BR /&gt;&amp;nbsp; build date: &amp;nbsp; &amp;nbsp; &amp;nbsp; 20230201-07:53:32&lt;BR /&gt;&amp;nbsp; go version: &amp;nbsp; &amp;nbsp; &amp;nbsp; go1.19.5&lt;BR /&gt;&amp;nbsp; platform: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; linux/amd64&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-checkpoint@skyline:/usr/local/bin$ cat /etc/issue&lt;BR /&gt;Ubuntu 22.04.2 LTS \n \l&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas please ? Thx.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2023 09:41:16 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Skyline-installation-stuck-at-the-Prometheus-setup/m-p/174912#M116</guid>
      <dc:creator>IDoCare2022</dc:creator>
      <dc:date>2023-03-15T09:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: Skyline installation stuck at the Prometheus setup</title>
      <link>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Skyline-installation-stuck-at-the-Prometheus-setup/m-p/174949#M118</link>
      <description>&lt;P&gt;Hallo,&lt;/P&gt;&lt;P&gt;first, as you set this up as service, you can check with journalctl -xe the error. With the newest putty version, you can make the window big enough to read the whole line.&lt;/P&gt;&lt;P&gt;Second, with Prometheus there is a Config Syntax check tool integrated. Whereever you put the binaray prometheus, there also should be the promtool binary, and with this you can check the yaml config files:&lt;BR /&gt;promtool check config /etc/prometheus/prometheus.yml&lt;/P&gt;&lt;P&gt;This will provide you with information about the error.&lt;/P&gt;&lt;P&gt;Last, I didn't use the actual IP of the server, but instead:&lt;/P&gt;&lt;P&gt;remote_write:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; - url: "&lt;A href="https://protect-eu.mimecast.com/s/Whh1C58BXFRzrzE7u2wycA?domain=192.168.111.104" target="_blank" rel="nofollow noopener noreferrer"&gt;http://localhost:9090/api/v1/write&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;This works for me so far.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2023 12:48:30 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Skyline-installation-stuck-at-the-Prometheus-setup/m-p/174949#M118</guid>
      <dc:creator>michael3</dc:creator>
      <dc:date>2023-03-15T12:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: Skyline installation stuck at the Prometheus setup</title>
      <link>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Skyline-installation-stuck-at-the-Prometheus-setup/m-p/175080#M126</link>
      <description>&lt;P&gt;Thanks for this info, I'll check it in my lab at home and post feedback if that helped. &lt;span class="lia-unicode-emoji" title=":nerd_face:"&gt;🤓&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 09:46:22 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Skyline-installation-stuck-at-the-Prometheus-setup/m-p/175080#M126</guid>
      <dc:creator>IDoCare2022</dc:creator>
      <dc:date>2023-03-16T09:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: Skyline installation stuck at the Prometheus setup</title>
      <link>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Skyline-installation-stuck-at-the-Prometheus-setup/m-p/176407#M127</link>
      <description>&lt;P&gt;FYI everyone : problem has been found. When editing the default prometheus.yml config file with vim, I went to the last position in the defaut config file and hit ENTER. Followed by the lines as mentioned in the tutorial.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;remote_write:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; - url: "&lt;/SPAN&gt;&lt;A href="https://protect-eu.mimecast.com/s/Whh1C58BXFRzrzE7u2wycA?domain=192.168.111.104" target="_blank" rel="nofollow noopener noreferrer"&gt;http://localhost:9090/api/v1/write&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;They got added, but by default not in the beginning of the new line. ( several spaces in front ).&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems the config file does not like this. The remote_write: ...requires to be put on the first position of a new line.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, below is how it finally works. Thanks for pointing me to that "promtool". Although at first I had no clue ( since the statement static_configs: ... for example, also does not start on position 1 of that line ), I knew what line to look for over and over again.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="prometheus-cfg.jpg" style="width: 999px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/20264i5F1AA0B4317C7CFF/image-size/large?v=v2&amp;amp;px=999" role="button" title="prometheus-cfg.jpg" alt="prometheus-cfg.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 08:46:05 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Skyline-installation-stuck-at-the-Prometheus-setup/m-p/176407#M127</guid>
      <dc:creator>IDoCare2022</dc:creator>
      <dc:date>2023-03-28T08:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: Skyline installation stuck at the Prometheus setup</title>
      <link>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Skyline-installation-stuck-at-the-Prometheus-setup/m-p/196214#M227</link>
      <description>&lt;P&gt;I seem to have gotten stuck on the Prometheus install with the service not starting also. I get the following message:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;● prometheus.service - Prometheus Server&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Loaded: loaded (/etc/systemd/system/prometheus.service; disabled; vendor preset: enabled)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Active: failed (Result: exit-code) since Wed 2023-10-25 15:15:11 EDT; 13s ago&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Docs: &lt;A href="https://prometheus.io/docs/introduction/overview/" target="_blank"&gt;https://prometheus.io/docs/introduction/overview/&lt;/A&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Process: 1108273 ExecStart=/home/username/prometheus-2.48.0-rc.0.linux-amd64/prometheus --config.file=/home/username/prometheus-2.48.0-rc.0.linux-amd64/prometheus.yml --web.enable-remote-&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Main PID: 1108273 (code=exited, status=203/EXEC)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Oct 25 15:15:11 servername systemd[1]: prometheus.service: Scheduled restart job, restart counter is at 5.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Oct 25 15:15:11 servername systemd[1]: Stopped Prometheus Server.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Oct 25 15:15:11 servername systemd[1]: prometheus.service: Start request repeated too quickly.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Oct 25 15:15:11 servername systemd[1]: prometheus.service: Failed with result 'exit-code'.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Oct 25 15:15:11 servername systemd[1]: Failed to start Prometheus Server.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I double-checked the spacing in the YML file to make sure I didn't have that issue. I ran the promtool and got the following results&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;promtool check config prometheus.yml&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Checking prometheus.yml&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;SUCCESS: prometheus.yml is valid prometheus config file syntax&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Anyone have any idea of what the problem might be?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 22:29:09 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Skyline-installation-stuck-at-the-Prometheus-setup/m-p/196214#M227</guid>
      <dc:creator>CPengine</dc:creator>
      <dc:date>2023-10-25T22:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: Skyline installation stuck at the Prometheus setup</title>
      <link>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Skyline-installation-stuck-at-the-Prometheus-setup/m-p/196264#M228</link>
      <description>&lt;P&gt;I don't see the full command, but, as a possible direction try to make sure the syntax for the&amp;nbsp;&lt;STRONG&gt;--web.enable-remote &lt;/STRONG&gt;flag is correct.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 11:01:48 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Skyline-installation-stuck-at-the-Prometheus-setup/m-p/196264#M228</guid>
      <dc:creator>Elad_Chomsky</dc:creator>
      <dc:date>2023-10-26T11:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Skyline installation stuck at the Prometheus setup</title>
      <link>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Skyline-installation-stuck-at-the-Prometheus-setup/m-p/196336#M229</link>
      <description>&lt;P&gt;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/5970"&gt;@Elad_Chomsky&lt;/a&gt;&lt;/P&gt;&lt;P&gt;Below I have pasted the status again along with the Prometheus.Service file and Prometheus.yml file. Do you see any issues with what I have in the files?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;● prometheus.service - Prometheus Server&lt;BR /&gt;Loaded: loaded (/etc/systemd/system/prometheus.service; disabled; vendor preset: enabled)&lt;BR /&gt;Active: failed (Result: exit-code) since Wed 2023-10-25 15:15:11 EDT; 24h ago&lt;BR /&gt;Docs: &lt;A href="https://prometheus.io/docs/introduction/overview/" target="_blank" rel="noopener"&gt;https://prometheus.io/docs/introduction/overview/&lt;/A&gt;&lt;BR /&gt;Process: 1108273 ExecStart=/home/username/prometheus-2.48.0-rc.0.linux-amd64/prometheus --config.file=/home/username/prometheus-2.48.0-rc.0.linux-amd64/prometheus.yml --web.enable-remote-write-receiver (code=exited, status=203/EXEC)&lt;BR /&gt;Main PID: 1108273 (code=exited, status=203/EXEC)&lt;/P&gt;&lt;P&gt;Oct 25 15:15:11 servername systemd[1]: prometheus.service: Scheduled restart job, restart counter is at 5.&lt;BR /&gt;Oct 25 15:15:11 servername systemd[1]: Stopped Prometheus Server.&lt;BR /&gt;Oct 25 15:15:11 servername systemd[1]: prometheus.service: Start request repeated too quickly.&lt;BR /&gt;Oct 25 15:15:11 servername systemd[1]: prometheus.service: Failed with result 'exit-code'.&lt;BR /&gt;Oct 25 15:15:11 servername systemd[1]: Failed to start Prometheus Server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;*****Prometheus.Service File*****&lt;/P&gt;&lt;P&gt;[Unit]&lt;BR /&gt;Description=Prometheus Server&lt;BR /&gt;Documentation=&lt;A href="https://prometheus.io/docs/introduction/overview/" target="_blank" rel="noopener"&gt;https://prometheus.io/docs/introduction/overview/&lt;/A&gt;&lt;BR /&gt;After=network-online.target&lt;/P&gt;&lt;P&gt;[Service]&lt;BR /&gt;User=root&lt;BR /&gt;Restart=on-failure&lt;/P&gt;&lt;P&gt;ExecStart=/home/username/prometheus-2.48.0-rc.0.linux-amd64/prometheus --config.file=/home/username/prometheus-2.48.0-rc.0.linux-amd64/prometheus.yml --web.enable-remote-write-receiver&lt;/P&gt;&lt;P&gt;[Install]&lt;BR /&gt;WantedBy=multi-user.target&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;*****Prometheus.yml file (server IP removed)*****&lt;/P&gt;&lt;P&gt;# my global config&lt;BR /&gt;global:&lt;BR /&gt;scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.&lt;BR /&gt;evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.&lt;BR /&gt;# scrape_timeout is set to the global default (10s).&lt;/P&gt;&lt;P&gt;# Alertmanager configuration&lt;BR /&gt;alerting:&lt;BR /&gt;alertmanagers:&lt;BR /&gt;- static_configs:&lt;BR /&gt;- targets:&lt;BR /&gt;# - alertmanager:9093&lt;/P&gt;&lt;P&gt;# Load rules once and periodically evaluate them according to the global 'evaluation_interval'.&lt;BR /&gt;rule_files:&lt;BR /&gt;# - "first_rules.yml"&lt;BR /&gt;# - "second_rules.yml"&lt;/P&gt;&lt;P&gt;# A scrape configuration containing exactly one endpoint to scrape:&lt;BR /&gt;# Here it's Prometheus itself.&lt;BR /&gt;scrape_configs:&lt;BR /&gt;# The job name is added as a label `job=&amp;lt;job_name&amp;gt;` to any timeseries scraped from this config.&lt;BR /&gt;- job_name: "prometheus"&lt;/P&gt;&lt;P&gt;# metrics_path defaults to '/metrics'&lt;BR /&gt;# scheme defaults to 'http'.&lt;/P&gt;&lt;P&gt;static_configs:&lt;BR /&gt;- targets: ["localhost:9090"]&lt;/P&gt;&lt;P&gt;remote_write:&lt;BR /&gt;- url: "http://&amp;lt;server&amp;gt;:9090/api/v1/write"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*****Promtool Output for Prometheus.Service File*****&lt;/P&gt;&lt;P&gt;promtool check config /etc/systemd/system/prometheus.service&lt;BR /&gt;Checking /etc/systemd/system/prometheus.service&lt;BR /&gt;FAILED: parsing YAML file /etc/systemd/system/prometheus.service: yaml: unmarshal errors:&lt;BR /&gt;line 1: cannot unmarshal !!seq into config.plain&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 19:35:31 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Skyline-installation-stuck-at-the-Prometheus-setup/m-p/196336#M229</guid>
      <dc:creator>CPengine</dc:creator>
      <dc:date>2023-10-26T19:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: Skyline installation stuck at the Prometheus setup</title>
      <link>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Skyline-installation-stuck-at-the-Prometheus-setup/m-p/196445#M232</link>
      <description>&lt;P&gt;&lt;A href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/5970" target="_blank"&gt;@Elad_Chomsky&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I figured it out. So.... I didn't have the actual "username" in the ExecStart section of the Prometheus.Service file. Once I added the username the service came up. Everything else was straight forward from there. Got a working Prometheus and Grafana setup and I am able to see the metrics in the dashboard.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 20:11:26 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Skyline-installation-stuck-at-the-Prometheus-setup/m-p/196445#M232</guid>
      <dc:creator>CPengine</dc:creator>
      <dc:date>2023-10-27T20:11:26Z</dc:date>
    </item>
  </channel>
</rss>

