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

UPS status #2

Open
voron opened this issue Nov 1, 2014 · 4 comments
Open

UPS status #2

voron opened this issue Nov 1, 2014 · 4 comments

Comments

@voron
Copy link

voron commented Nov 1, 2014

Hello,

My UPS produces more than 1 state at once.
mail sh # upsc mustek ups.status
OL TRIM
mail sh # upsc mustek ups.status
OL
mail sh # upsc mustek ups.status
OL TRIM
mail sh #

ups_status.sh fails on that data.

@allion
Copy link
Contributor

allion commented Dec 11, 2014

in ups_status.sh :
TRIM) echo 11 ;; #'UPS is trimming incoming voltage (called "buck" in some hardware)' ;;
OL TRIM) echo 11 ;;

@voron
Copy link
Author

voron commented Dec 11, 2014

I saw more than 2 statuses over the internet. Thus just adding all my statuses to ups_status.sh is not a generic solution. There can be 2 or 3 statuses simultaneously by UPS nature. Seems, Zabbix is not ready for that.

@delin
Copy link
Owner

delin commented Dec 12, 2014

Tnx, try at the weekend

@LetArch
Copy link

LetArch commented Aug 20, 2019

Need to write just "key" in the string 21. Not "$key" )))

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

4 participants