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

Performance data seems to be in wrong format #2

Open
KaliszAd opened this issue Dec 3, 2019 · 3 comments
Open

Performance data seems to be in wrong format #2

KaliszAd opened this issue Dec 3, 2019 · 3 comments

Comments

@KaliszAd
Copy link

KaliszAd commented Dec 3, 2019

The performance data doesn't seem to be in the correct format according to this ticket which is similar in nature.

Here is an example (it appears, one semicolon is missing):

[administrator@szftlmon01 ~]$ '/opt/icinga-plugins-manubulon/check_common_ups.sh' '-C' 'public' '-H' '10.30.1.5' '-I' '250' '-X' '-d' 'C' '-i' '205' '-x'
OK: host: ndrftlusv01: APC Smart-UPS X 3000: OK;| Temp=25;45;50;0 Line_Voltage=224;250;;205 Load=26;70;80;0 RunTime=136;10;8;0
@bytewriter
Copy link
Owner

bytewriter commented Dec 3, 2019

Where is the missing semicolon? This looks correct to me, according to:
https://icinga.com/docs/icinga1/latest/en/perfdata.html#formatperfdata

'disk usage'=78%;80;90;;; # invalid (trailing semicolon after max value)
temperature=23;;;20;30 # valid (rule 6)

@KaliszAd
Copy link
Author

KaliszAd commented Dec 3, 2019

Look at the output I provided, there are always 3 semicolons instead of 4. I mean the plugin is still helpful, but the performance data are not digested by my current (as of end of October) Icinga2 installation. It will not get digested by InfluxDB for graphing by Graphana.

@bytewriter
Copy link
Owner

I see what you mean. I will make a change.

KaliszAd added a commit to KaliszAd/check-common-ups that referenced this issue Jan 27, 2020
See issue bytewriter#2, just added the trailing semicolon (it need to be always 4)
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