check_modem.py: include signal_quality performance data at the end of the output
This commit is contained in:
parent
93757f5f1a
commit
9014bf2b6a
1 changed files with 5 additions and 2 deletions
|
|
@ -74,5 +74,8 @@ if __name__ == "__main__":
|
||||||
print("UNKNOWN: ", end='')
|
print("UNKNOWN: ", end='')
|
||||||
exit_code = 3
|
exit_code = 3
|
||||||
|
|
||||||
print(status)
|
print(status, end='')
|
||||||
|
if 'signal-quality' in status:
|
||||||
|
print(f" | signal_quality={status['signal-quality'][0]}")
|
||||||
|
|
||||||
exit(exit_code)
|
exit(exit_code)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue