6 lines
129 B
Bash
Executable file
6 lines
129 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# default to ups@localhost
|
|
UPS_TARGET="${UPS_TARGET:-ups@localhost}"
|
|
|
|
upsc "$UPS_TARGET" | ./upsc_to_prometheus.awk
|