-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Error in plugin [inputs.netstat] #3486
Comments
I think this may happen if a process exits during the collection, is it ever able to collect the metrics successfully? I opened this pull request which will skip over processes that have exited: shirou/gopsutil#458 |
No, I don't believe so. The series/measurements that don't show up on the graphs (TcpExtTCPAbortOnClose, TcpExtSyncookiesFailed, gather_errors etc) are never added to the influxdb. |
I get the same issue now:
Using Telegraf v1.5.0~112955a9 (git: master 112955a) (I am new to Telegraf) |
@pawal Are you able to compile with gopsutil 384a55110aa5ae052eb93ea94940548c1e305a99 and check if the error remains? |
Same problem with Telegraf v1.4.4 (git: release-1.4 ddcb931) on Ubuntu 16.04.3 LTS |
Downgrading to 1.4.3 and the error is gone |
Hm, interesting. We have different versions of Ubuntu on our servers (Ubuntu 16.04.1 LTS, Ubuntu 16.04.2 LTS, Ubuntu 16.04.3 LTS). The problem occurs only on Ubuntu 16.04.3 LTS. Don't know if it helps you. |
I have two Ubuntu servers, one is running 17.10 and the other 16.04.3. I have this issue on both. Still unresolved. The only other reference to this error message I could locate was here (#3311) it didn't help me but perhaps could offer someone else some insight to a fix. |
same with redhat 6.4 and telegraf-1.4.2-1.x86_64: --edit: |
@gaetanquentin This is already fixed in 1.4.5 and newer if you can upgrade. |
Bug report
Relevant telegraf.conf:
System info:
Teletgraf V1.4.4
Ubuntu Server 17.10 (fresh installation)
Steps to reproduce:
Expected behavior:
All fields on the dashboard should populate with relevant data collected by telegraf and stored in influx database named "telegraf"
Actual behavior:
All fields on the dashboard EXCEPT those relating to [inputs.netstat] populate fine,
Additional info:
telegraf log reports:
Config used:
The text was updated successfully, but these errors were encountered: