-
Notifications
You must be signed in to change notification settings - Fork 150
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
Running as systemd service with port change does not work #95
Comments
What is the error message? |
Feb 25 07:59:38 nm-203-18 systemd[1]: Started Prometheus SLURM Exporter.
HELP go_gc_duration_seconds A summary of the GC invocation durations.TYPE go_gc_duration_seconds summarygo_gc_duration_seconds{quantile="0"} 0 |
Service file contents: [Service] [Install] |
I can't reproduce, it works just fine for me. I doubt the error |
That port is a conflict and unable to run. I’ll try to reproduce on a different system and see what I get.On Feb 25, 2023, at 12:45 AM, Jakub Klinkovský ***@***.***> wrote:
I can't reproduce, it works just fine for me. I doubt the error prometheus-slurm-exporter.service: Current command vanished from the unit file, execution of the command lis> is specific to the behavior of the exporter. What happens when you remove the -listen-address flag and use the default port?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
I just tried it on another machine and reproduced the issue. This is with slurm 22.05.6. Also getting exit code 1 after running for some time. Might be related to the sdiag issues I've seen in other bugs. |
有解决的办法吗 |
The issue is that when slurm exporter is ran as a service it does not have the slurm environment loaded. We had to load the slurm environment by calling a custom slurmrc |
Deric
The text was updated successfully, but these errors were encountered: