diff --git a/IsegGUI.py b/IsegGUI.py index 4afee5d..a57c12e 100755 --- a/IsegGUI.py +++ b/IsegGUI.py @@ -126,9 +126,11 @@ class MyWindow(QMainWindow): self.chkDB = QCheckBox("Enable", self) gLayout.addWidget(self.chkDB, 0, 2) + self.chkDB.setChecked(True) if token == None and useInfluxDBv1 == False: self.txtIP.setEnabled(False) self.chkDB.setEnabled(False) + self.chkDB.setChecked(False) lb1 = QLabel("Refresh period [sec] :", self) lb1.setAlignment(Qt.AlignmentFlag.AlignRight) diff --git a/README.md b/README.md index 0ccba19..d3c51e9 100644 --- a/README.md +++ b/README.md @@ -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 +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 ~>python3 IsegGUI.py