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

[hardware::ups::standard::rfc1628::snmp::plugin] mode=ups-battery-status #225

Closed
maksimatveev opened this issue Nov 28, 2015 · 1 comment
Labels

Comments

@maksimatveev
Copy link

Hi!

OK: Battery status is normal - Charge remaining: 92% (0 minutes remaining) | 'load'=92%;;;0;100 'voltage'=2.2V;;;; 'temp'=48C;;;;
I would like to make a proposal to change the load on the battery capacity, because the load is already in the message is used mode=ups-output-lines:
OK: Output Line '1' Voltage : 239.00 V, Load : 4.00 % - Output Line '3' Load : 0.00 % - Output Line '2' Load : 0.00 % - Load Standard Deviation : 1.89 | 'voltage_1'=239.00V;;;; 'load_1'=4.00%;;;; 'load_3'=0.00%;;;; 'load_2'=0.00%;;;; 'stdev'=1.89;;;;

Sincerely!

@maksimatveev
Copy link
Author

And when using version SNMP 1.
Argument "" isn't numeric in multiplication (*) at /usr/lib/nagios/plugins/centreon-plugins/hardware/ups/standard/rfc1628/snmp/mode/batterystatus.pm line 79.
Argument "" isn't numeric in numeric ne (!=) at /usr/lib/nagios/plugins/centreon-plugins/hardware/ups/standard/rfc1628/snmp/mode/inputlines.pm line 145.
Argument "" isn't numeric in numeric eq (==) at /usr/lib/nagios/plugins/centreon-plugins/hardware/ups/standard/rfc1628/snmp/mode/outputlines.pm line 185.

garnier-quentin pushed a commit that referenced this issue Dec 1, 2015
garnier-quentin pushed a commit that referenced this issue Dec 1, 2015
garnier-quentin pushed a commit that referenced this issue Dec 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants