- Feb 24, 2016
-
-
Adam Wujek authored
Add if-mib/ifXTable to the SNMPd. It adds 64bit (HC) counters to the ifTable. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Replace time() calls with monotinic version from libwr Fix bug 1164 and similar problems in other programs. It was possible that SNMP objects in expert branch don't update. It pop-up in following scenario: 1. slave switch is started with no ntp configured 2. read via snmp from slave 3. master switch is started with no ntp configured 4. slave sync to master and set it's time, by this system clock on slave is set to earlier date 5. read via snmp from slave will end up in the same results in expert branch of the MIB. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Audit done. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Proper timeout will not work when clock is set to the past. Check commit: userspace/snmpd: bugfix 1164, replace time() with monotinic version Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Proper timeout will not work when clock is set to the past. Check commit: userspace/snmpd: bugfix 1164, replace time() with monotinic version Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Proper timeout will not work when clock is set to the past. It is unlikely that problem pop up here, but just to be safe. Problem simillar to bug 1164. Check commit: userspace/snmpd: bugfix 1164, replace time() with monotinic version Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Problem simillar to bug 1164. Check commit: userspace/snmpd: bugfix 1164, replace time() with monotinic version Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Problem simillar to bug 1164. Check commit: userspace/snmpd: bugfix 1164, replace time() with monotinic version Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
It was possible that SNMP objects in expert branch don't update. It pop-up in following scenario: 1. slave switch is started with no ntp configured 2. read via snmp from slave 3. master switch is started with no ntp configured 4. slave sync to master and set it's time, by this system clock on slave is set to earlier date 5. read via snmp from slave will end up in the same results in expert branch of the MIB. Our part of SNMP implementation used "time" function for calculating SNMP's cache timeouts. When clock is set backwards then cache can be valid for very long time. Monotonic clock is used instead from ulit.c (libwr) Add util.c to the compilation. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Add function get_monotonic_tics and get_monotonic_sec to the libwr to keep them in the one place. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Feb 18, 2016
-
-
- Help (-h) option was added. - The tool now uses WR time to display the state every second. - The show statistics (-s) mode was changed to display statistics in a segregated way. - The -i option was added to show TIME information as second, nanosecond pair - The -m option was added to show only the MASTER ports information - The -s option was changed to show only the SLAVE ports information - The -o option was added to show only the OTHER ports information - The -e option was added to show only the SERVO information - The -t option was added to show only the TEMPERATURE information - The show X options can be combined, e.g. -i -t shows time and temperature information - The -a option was added to show all information (convenience option) - The -b option was unchanged and shows the gui in black and white - The -w option shows the WEB interface information unchanged, but the underlying code has been rewritten to be less of a hack. - Toggle printing on/off (t) during display should now work. Signed-off-by:
Tjeerd Pinkert <t.j.pinkert@alumnus.utwente.nl> Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Alessandro Rubini authored
The upstream address for lsof is not working. While the download script tries buildroot.net if upstream fails, getting lsof got stuck for no connection to the server. With this commit it times out after 15 seconds to then proceed using the buildroot address. I expect the problem to affect other upstream files over time, so the commit doesn't fix the link but the tool. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Split a rule into two rules, to make make happy. In previous versions of make it was acceptable to list one or more explicit targets followed by one or more pattern targets in the same rule and it worked "as expected". However, this was not documented as acceptable and if you listed any explicit targets AFTER the pattern targets, the entire rule would be mis-parsed. This release removes this ability completely: make will generate an error message if you mix explicit and pattern targets in the same rule. You must split these rules into two rules: one for the pattern and one for the explicit targets. The Linux kernel source has already been modified in this way (in newer kernels).
-
- Feb 12, 2016
-
-
Adam Wujek authored
Use hostname if available as a prompt instead of wrs-<IP_address> When hostname is not availalble use wrs-<IP_address> Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Hostname can be configured in dot-config to be set via DHCP or statically. Additionally update documentation. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Check in scripts if dot-config option is equal to "y" not if it is empty. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
-
Adam Wujek authored
Improve doc/wrs_failures document. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
-
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Grzegorz Daniluk authored
-
use \glsadd instead of \glsdisp[hyper=false]{x#1}{} remove \texttt from \snmpadd Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
-