update the GUI and readme
This commit is contained in:
parent
f153bb2300
commit
55b837bb97
|
@ -126,9 +126,11 @@ class MyWindow(QMainWindow):
|
||||||
|
|
||||||
self.chkDB = QCheckBox("Enable", self)
|
self.chkDB = QCheckBox("Enable", self)
|
||||||
gLayout.addWidget(self.chkDB, 0, 2)
|
gLayout.addWidget(self.chkDB, 0, 2)
|
||||||
|
self.chkDB.setChecked(True)
|
||||||
if token == None and useInfluxDBv1 == False:
|
if token == None and useInfluxDBv1 == False:
|
||||||
self.txtIP.setEnabled(False)
|
self.txtIP.setEnabled(False)
|
||||||
self.chkDB.setEnabled(False)
|
self.chkDB.setEnabled(False)
|
||||||
|
self.chkDB.setChecked(False)
|
||||||
|
|
||||||
lb1 = QLabel("Refresh period [sec] :", self)
|
lb1 = QLabel("Refresh period [sec] :", self)
|
||||||
lb1.setAlignment(Qt.AlignmentFlag.AlignRight)
|
lb1.setAlignment(Qt.AlignmentFlag.AlignRight)
|
||||||
|
|
|
@ -15,6 +15,12 @@ install snmp, also
|
||||||
|
|
||||||
also put the https://fsunuc.physics.fsu.edu/wiki/images/5/53/WIENER-CRATE-MIB.txt and put in /usr/share/snmp/mibs
|
also put the https://fsunuc.physics.fsu.edu/wiki/images/5/53/WIENER-CRATE-MIB.txt and put in /usr/share/snmp/mibs
|
||||||
|
|
||||||
|
For homebrew snmp, need to put in homebrew snmp share folder.
|
||||||
|
|
||||||
|
If the system already has old snmp, can replace it with the homebrew one by
|
||||||
|
|
||||||
|
export PATH="/usr/local/opt/net-snmp/bin/:$PATH"
|
||||||
|
|
||||||
# Usage
|
# Usage
|
||||||
|
|
||||||
~>python3 IsegGUI.py <IP>
|
~>python3 IsegGUI.py <IP>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user