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
[dev.icinga.com #12155] check_network performance data in invalid format - ingraph #4369
Comments
Updated by viper539 on 2016-07-15 13:04:28 +00:00 OS is Windows Server 2008 R2 |
Updated by mfriedrich on 2016-07-28 15:13:39 +00:00
|
Updated by mfriedrich on 2016-07-28 15:13:51 +00:00
|
Updated by mfriedrich on 2016-07-28 15:14:01 +00:00
|
Updated by Marax on 2016-09-19 13:00:52 +00:00
With Icinga2 2.5.4 the perfdata of this Windows plugin is still broken. See attachet file perfdata.jpg pnp4nagios errs out with "Invalid Perfdata detected". |
Updated by mfriedrich on 2016-09-19 13:22:47 +00:00
You can test the snapshot packages. Jean fixed the performance data output as part of #10544. |
Updated by Marax on 2016-09-20 15:39:49 +00:00 dnsmichi wrote:
Testing 2.5.4-101-gfe3fe5c with no success. Appearance is unchanged. |
Updated by Marax on 2016-09-21 10:26:53 +00:00 This is what the plugin offer NETWORK OK 0B/s | network=0B;;;0; netI='Intel[R] PRO_1000 MT-Netzwerkverbindung';in=0B;out=0B netI='isatap.{AEDD2589-9E0B-41CD-A917-7D30C07D982E}';in=0B;out=0B netI='6TO4 Adapter';in=0B;out=0B looks like a problem with the spaces as delimiter. As it looks in the perfdata.jpg it interpretes everything behind the netI= until to the next space as perfdata ( Intel[R , isatap.{AEDD2589-9E0B-41CD-A917-7D30C07D982E}, 6TO4 ) after the spaces it starts with a new Label ( netI (3 times), PRO_1000, MT-Netzwerkverbindung, Adapter';in ) |
Updated by black_dragon131 on 2016-09-21 19:06:03 +00:00
dnsmichi wrote:
This never fixed the problem. This was the right way to fix it #53 The reason is perfdata is defined as 'label'=value[UOM];[warn];[crit];[min];[max] followed for each interface with: 'label' : netI (correct, but not really descriptive) I recreated my patch for the current version (first file). Output looks like:
so it creates a perfdata for in and out for each interface. |
Updated by Marax on 2016-09-22 10:10:11 +00:00 black_dragon131 wrote:
Can i download somewhere the compiled check_network.exe with this Patches for testing? |
Updated by black_dragon131 on 2016-09-24 09:35:35 +00:00 Marax wrote:
Try those: |
Updated by jflach on 2016-09-26 15:04:07 +00:00 Hello black_dragon131, I'd love to merge your patch but we do have a real name policy. Could you please change your name to something that sounds like a normal name? Cheers, |
Updated by black_dragon131 on 2016-09-27 05:32:13 +00:00 jflach wrote:
If you tell me where I can change my name I can do it |
Updated by jflach on 2016-09-27 09:05:26 +00:00 I wish it was trivial First you'll need to rebase before the commit you want to change (git rebase $hashofyourcommit^) Alternatively I could do it for you when merging |
Updated by Marax on 2016-09-27 12:38:20 +00:00
black_dragon131 wrote:
Thank you. Little feedback after brief testing. The performance data are now useable. What I have noticed also is the badly formatted performance table in IcingaWeb2.This is the case on every check of the Icinga2 Client/Agent. The "Label" row is too small. If the data came from the NSClient** the table rows looking well formatted. Maybe random just here... I have tested the changed command-plugins-windows.conf to enable the noisatap option. Line 107 "-n" = { |
Updated by black_dragon131 on 2016-09-27 18:43:26 +00:00
@jflach Ah I thought you mean here... my bad Marax wrote:
I use those .exe in our production environment so it should ;) Marax wrote:
That's true but isn' t related to perfdata ;) But I agree with this: viper539 wrote:
Marax wrote:
That' s correct and how I did in our environment :) |
Updated by jflach on 2016-09-28 09:19:27 +00:00 Thank you very much! I'll merge this and then update the documentation and itl |
Updated by jflach on 2016-09-28 09:25:04 +00:00
Applied in changeset 6c565d1. |
Updated by leeclemens on 2016-11-08 18:58:13 +00:00 I ran in to this issue with 2.5.4 as well. The snapshot from 2016-10-26 resolved it. |
Updated by mfriedrich on 2016-11-09 09:27:05 +00:00
|
Updated by nE0sIghT on 2016-12-02 06:05:49 +00:00 jflach wrote:
There is a typo - "network_no_iastap" should be "network_no_isatap" |
This issue has been migrated from Redmine: https://dev.icinga.com/issues/12155
Created by viper539 on 2016-07-15 10:32:21 +00:00
Assignee: jflach
Status: Resolved (closed on 2016-09-28 09:25:04 +00:00)
Target Version: 2.6.0
Last Update: 2016-12-02 09:51:19 +00:00 (in Redmine)
Hello,
the ingraph-collector dies if he gets this packet:
with this Message:
Executed from the Windows Commandline:
Can i do anything to fix this, or is it a Plugin-Problem?
Thank you,
Uwe
PS:
It's not rally nice, because the script collect all but that's only a secondary Problem.
Could you please add a "check only this Interface"-Option?
Attachments
Changesets
2016-09-28 09:20:42 +00:00 by black_dragon131 8c35c82
2016-09-28 09:20:42 +00:00 by jflach 6c565d1
2016-09-28 09:26:08 +00:00 by jflach eabb54e
2016-09-29 06:28:51 +00:00 by gbeutner cb86fb8
Relations:
The text was updated successfully, but these errors were encountered: