Skip to content
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

Doesn't work on Ubuntu 18.04 #50

Closed
mxssl opened this issue Aug 7, 2018 · 2 comments
Closed

Doesn't work on Ubuntu 18.04 #50

mxssl opened this issue Aug 7, 2018 · 2 comments

Comments

@mxssl
Copy link

mxssl commented Aug 7, 2018

Hello!

I checked on several ubuntu 18.04 machines and a problem looks similar - process-exporter cannot read processes from /proc directory. This counter shows it:

namedprocess_scrape_procread_errors 121

About OS and configs:
/etc/os-release

NAME="Ubuntu"
VERSION="18.04 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

uname -a

Linux server 4.15.0-29-generic #31-Ubuntu SMP Tue Jul 17 15:39:52 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

/etc/process-exporter/all.yaml

process_names:
  - name: "{{.Comm}}"
    cmdline: 
    - '.+'

/lib/systemd/system/process-exporter.service

[Unit]
Description=Process Exporter for Prometheus

[Service]
User=root
Type=simple
ExecStart=/usr/bin/process-exporter --config.path /etc/process-exporter/all.yaml --web.listen-address=:9256
KillMode=process
Restart=always

[Install]
WantedBy=multi-user.target

On ubuntu 16.04 machines process-exporter works as expected.

@ncabatoff
Copy link
Owner

Thanks for the bug report. What version of process-exporter are you using? Version 0.3.1+ contain a lot of new changes and should have been labelled pre-release (they are now). If you haven't already, could you try with v0.2.12 and let me know if you have any better results?

@mxssl
Copy link
Author

mxssl commented Aug 8, 2018

@ncabatoff

Yes, I tried version 0.3.1

0.2.12 is working fine on ubuntu 18.04, thank you.

@mxssl mxssl closed this as completed Aug 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants