-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
L3af on windows #68
base: main
Are you sure you want to change the base?
L3af on windows #68
Conversation
@@ -71,4 +71,4 @@ enabled: false | |||
# san-match-rules: .+l3afd.l3af.io,.*l3af.l3af.io,^l3afd.l3af.io$ | |||
|
|||
[l3af-config-store] | |||
filename: /var/l3afd/l3af-config.json | |||
filename: /var/l3afd/l3af-config.json |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revert?
- Clang | ||
- nmake | ||
- [Golang](https://aka.ms/vs/17/release/vs_buildtools.exe) | ||
- C++ using: [MSYS2](https://www.msys2.org/) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be good to know why MSYS2 is needed, so we can work to remove that dependency
03b8375
to
1af6d94
Compare
Please rebase to resolve conflicts. |
Signed-off-by: SHANKAR <shankar.s@ramanujan.du.ac.in> Signed-off-by: evershalik <shankar.s@ramanujan.du.ac.in>
Signed-off-by: SHANKAR <shankar.s@ramanujan.du.ac.in> Signed-off-by: evershalik <shankar.s@ramanujan.du.ac.in>
Signed-off-by: SHANKAR <shankar.s@ramanujan.du.ac.in> Signed-off-by: evershalik <shankar.s@ramanujan.du.ac.in>
Signed-off-by: evershalik <shankar.s@ramanujan.du.ac.in>
Co-authored-by: Dave Thaler <dthaler@microsoft.com> Signed-off-by: evershalik <shankar.s@ramanujan.du.ac.in>
Co-authored-by: Dave Thaler <dthaler@microsoft.com> Signed-off-by: evershalik <shankar.s@ramanujan.du.ac.in>
Co-authored-by: Dave Thaler <dthaler@microsoft.com> Signed-off-by: evershalik <shankar.s@ramanujan.du.ac.in>
Co-authored-by: Dave Thaler <dthaler@microsoft.com> Signed-off-by: evershalik <shankar.s@ramanujan.du.ac.in>
Co-authored-by: Dave Thaler <dthaler@microsoft.com> Signed-off-by: evershalik <shankar.s@ramanujan.du.ac.in>
Signed-off-by: evershalik <shankar.s@ramanujan.du.ac.in>
Co-authored-by: Dave Thaler <dthaler@microsoft.com> Signed-off-by: evershalik <shankar.s@ramanujan.du.ac.in>
Signed-off-by: SHANKAR <shankar.s@ramanujan.du.ac.in> Signed-off-by: evershalik <shankar.s@ramanujan.du.ac.in>
Signed-off-by: SHANKAR <shankar.s@ramanujan.du.ac.in> Signed-off-by: evershalik <shankar.s@ramanujan.du.ac.in>
Signed-off-by: SHANKAR <shankar.s@ramanujan.du.ac.in> Signed-off-by: evershalik <shankar.s@ramanujan.du.ac.in>
Signed-off-by: SHANKAR <shankar.s@ramanujan.du.ac.in> Signed-off-by: evershalik <shankar.s@ramanujan.du.ac.in>
Signed-off-by: SHANKAR <shankar.s@ramanujan.du.ac.in> Signed-off-by: evershalik <shankar.s@ramanujan.du.ac.in>
Signed-off-by: SHANKAR <shankar.s@ramanujan.du.ac.in> Signed-off-by: evershalik <shankar.s@ramanujan.du.ac.in>
1af6d94
to
1efe406
Compare
Signed-off-by: evershalik <shankar.s@ramanujan.du.ac.in>
Signed-off-by: evershalik <shankar.s@ramanujan.du.ac.in>
@@ -0,0 +1,85 @@ | |||
## Installing Grafana and Prometheus on Windows System |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## Installing Grafana and Prometheus on Windows System | |
## Installing Grafana and Prometheus on Windows | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you need images/l3af-on-windows/prometheus_grafana/Grafana_Dashboard1.png files in this PR? Shouldn't dashboard images not be windows specific?
|
||
### Installation of Prometheus as Service in Windows | ||
|
||
You can download Prometheus for windows from https://prometheus.io/download/. However, installing prometheus as a service you need to use `NSSM explorer`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can download Prometheus for windows from https://prometheus.io/download/. However, installing prometheus as a service you need to use `NSSM explorer`. | |
You can download Prometheus for Windows from https://prometheus.io/download/. However, installing prometheus as a service you need to use `NSSM explorer`. | |
For example: | ||
![Prometheus_Install](../images/l3af-on-windows/prometheus_grafana/Prometheus_Install.png) | ||
|
||
Open `service.msc` and you can see prometheus service is installed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Open `service.msc` and you can see prometheus service is installed | |
Open `service.msc` and you can see the prometheus service is installed | |
|
||
Navigate to prometheus `config file path` and open the “**prometheus.yml**” | ||
|
||
You need to add job for `wmi exporter` and `l3afd` , as shown below: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to add job for `wmi exporter` and `l3afd` , as shown below: | |
You need to add a job for `wmi exporter` and `l3afd` , as shown below: | |
|
||
![prometheus_dashboard](../images/l3af-on-windows/prometheus_grafana/prometheus_dashboard.png) | ||
|
||
Now you can access Prometheus service. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now you can access Prometheus service. | |
Now you can access the Prometheus service. | |
|
||
![prometheus_svc](../images/l3af-on-windows/prometheus_grafana/prometheus_svc.png) | ||
|
||
After starting Prometheus service, navigate to http://localhost:9090/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: sometimes Prometheus is capitalized in this document, sometimes not. be consistent throughout.
|
||
![prometheus_graph](../images/l3af-on-windows/prometheus_grafana/prometheus_graph.png) | ||
|
||
## Grafana Dashboard files by l3af: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## Grafana Dashboard files by l3af: | |
## Grafana Dashboard files by L3AF: | |
|
||
### Steps to Build l3afd on Windows: | ||
|
||
1. Clone l3afd repo: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1. Clone l3afd repo: | |
1. Clone the l3afd repository: |
cmake --build build | ||
``` | ||
|
||
>l3afd.exe file will be created after this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
>l3afd.exe file will be created after this. | |
>l3afd.exe will be created after this. |
Co-authored-by: Dave Thaler <dthaler1968@gmail.com>
Signed-off-by: SHANKAR shankar.s@ramanujan.du.ac.in