YAML Prometheus file Template/Reference: github.com/seesteps/grafana/blob/main/prometheus/prometheus.yml Point to note: Apologies as I did not make it clear, when you add a new target/host within your prometheus.yml file, the "Prometheus" service needs to be restarted (even if your spacing or config is correct)...in order for it to pick up the new target config.
Hi Amit, Appreciate the comment, certainly will take your feedback on board, I usually try by pinning or place config files for apps via GitHub. Commands I usually place for my Linux videos but I understand in hindsight it is probably equally as important to place cmds and URLs for these videos, irrespective. At some point I'll update these videos...Thanks again...
Hey, Thank you for the comment... regarding the error, if I recall it's usually related to your network. Where the scraping is taking too long and is timing out before it completes. You could troubleshoot and eliminate this possibly being the issue by testing the following, on the Prometheus configuration yaml file, amend it by adding the below, scrape interval and timeout (increase the time, if needed): scrape_configs: - job_name: 'Windows Exporter' scrape_interval: 3m scrape_timeout: 1m Let me know how you get on...
Hi Praveen, The Prometheus version within the video was: 2.51.1 Personally I haven't had any issues in the past requiring the Prometheus application to be at a certain version for windows exporter collector to work, but let me know if this is the case for you, I doubt it will be down to the version.
Is there a way to download grafana offline? If so, will it affect the download of windows exporter and promethues and I will need to download them again?
Hi, You can certainly download Grafana "offline", I've left a link of my first video I created for Grafana - th-cam.com/video/4-YZajsXukI/w-d-xo.html You can either host it on the same server as where your Prometheus application is or you can install it on a dedicated server. The choice is yours....hope this helps. Please do like or subscribe, it helps and keeps me motivated to carry on making future videos, appreciated.
Grafana & Prometheus can operate offline and continue to scrape and collect data, provided that you can communicate within your local network between the Grafana/Prometheus server and the Prometheus Windows Exporter Agent. With the above in mind, you will need to download the MSI/EXE and then transfer it to the necessary machines/VMs e.g. using a USB. If I've misunderstood, do let me know.
YAML Prometheus file Template/Reference:
github.com/seesteps/grafana/blob/main/prometheus/prometheus.yml
Point to note:
Apologies as I did not make it clear, when you add a new target/host within your prometheus.yml file, the "Prometheus" service needs to be restarted (even if your spacing or config is correct)...in order for it to pick up the new target config.
Thank you so much for the great series! Waiting for the next video!
Thank you so much. It certainly gives me motivation, appreciated.
Thanks a lot for this series, it is great. If you can provide commands & Urls in description that would be more helpful
Hi Amit,
Appreciate the comment, certainly will take your feedback on board, I usually try by pinning or place config files for apps via GitHub. Commands I usually place for my Linux videos but I understand in hindsight it is probably equally as important to place cmds and URLs for these videos, irrespective.
At some point I'll update these videos...Thanks again...
Thank you very much this helped me a lot🙏🏻
Glad to hear that it was of help!
This is a very good series. However, I get a context deadline exceeded when trying to scrape. I don't see any firewall restrictions. Any ideas?
Hey,
Thank you for the comment... regarding the error, if I recall it's usually related to your network. Where the scraping is taking too long and is timing out before it completes.
You could troubleshoot and eliminate this possibly being the issue by testing the following, on the Prometheus configuration yaml file, amend it by adding the below, scrape interval and timeout (increase the time, if needed):
scrape_configs:
- job_name: 'Windows Exporter'
scrape_interval: 3m
scrape_timeout: 1m
Let me know how you get on...
Local Firewall allow application policy had to be enabled.
Good to read you resolved the issue.
Great video but the background music is kinda loud and distracting 😅thanks
Sorry about that, thank you for the feedback I'll certainly keep it in mind for future videos, genuinely appreciated. 👍
What prometheus Version are u using?
And did it work with that windows exporter?
Hi Praveen,
The Prometheus version within the video was: 2.51.1
Personally I haven't had any issues in the past requiring the Prometheus application to be at a certain version for windows exporter collector to work, but let me know if this is the case for you, I doubt it will be down to the version.
Is there a way to download grafana offline? If so, will it affect the download of windows exporter and promethues and I will need to download them again?
Hi,
You can certainly download Grafana "offline", I've left a link of my first video I created for Grafana - th-cam.com/video/4-YZajsXukI/w-d-xo.html
You can either host it on the same server as where your Prometheus application is or you can install it on a dedicated server. The choice is yours....hope this helps.
Please do like or subscribe, it helps and keeps me motivated to carry on making future videos, appreciated.
@@seestepsthanks of quickly responce,
but i mean i want to download grafana to pc,can’t access to internet
Grafana & Prometheus can operate offline and continue to scrape and collect data, provided that you can communicate within your local network between the Grafana/Prometheus server and the Prometheus Windows Exporter Agent.
With the above in mind, you will need to download the MSI/EXE and then transfer it to the necessary machines/VMs e.g. using a USB.
If I've misunderstood, do let me know.
@@seestepsi got it ,thank you so much 🤍🤍