- 24 Feb, 2016 4 commits
-
-
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>
-
- 18 Feb, 2016 4 commits
-
-
Tjeerd Pinkert authored
- 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>
-
Cesar Prados authored
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).
-
- 12 Feb, 2016 31 commits
-
-
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>
-
Grzegorz Daniluk authored
-
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
-
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
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>
-
Grzegorz Daniluk authored
-
Adam Wujek 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
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
-
Adam Wujek authored
define new paragraph by \glspar Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Grzegorz Daniluk authored
-
Adam Wujek authored
This commit causes slower generation of wrs_failures.pdf To speed up for development, comment out: % print alphabetical list \printnoidxglossary[type=snmp_all,style=tree,sort=letter] from doc/wrs_failures/snmp_exports.tex file. Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Before list of SNMP objects was implemented as a item list, now as a index from glossaries package. Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
- 10 Feb, 2016 1 commit
-
-
Adam Wujek authored
Make monit to not try to connect to dropbear. If it tries, then messages like following goes to syslog at every monit's check (10 seconds): Jan 1 02:47:18 (none) dropbear[1477]: Child connection from 127.0.0.1:57891 Jan 1 02:47:18 (none) dropbear[1477]: Exit before auth: Exited normally Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-