- Jul 08, 2015
-
-
Adam Wujek authored
Removed code used to be to add rtu entries for local ports. Such setup suppouse to allow access to ARM CPU from switch's ports. However, hw_addr in hal_shmem was not filled and it end up that address 00:00:00:00:00:00 was added. Removed solution didn't work neither we wanted it to be there. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Hope this time it works. Problem was when dot-config set IP via dhcp then static. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Fix problem when IP address was set via dhcp then as static. Second problem was that udhcpc wasn't able to get IP when interface was put down just before its start. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
set temperature thresholds disable logic in object wrsSwcoreStatus Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Return always OK for wrsSwcoreStatus (except for first read). Logic for this object needs more investigation. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Jul 07, 2015
-
-
Adam Wujek authored
Fix specifying verbosity level by setting WRS_MSG_LEVEL env variable and fix changing verbosity with -v/-q Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Jul 06, 2015
-
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Add possibility to configure IP address of management port in dot-config. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
This commit is to manage with situation that there is no IP address at the moment of getting new dot-config. At this point IP can be available from barebox, but not always. New functionality checks for IP configuration in the old dot-config. IP will be reconfigured after getting new dot-config. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
In case there is no info how to get management port's IP in dot-config, use DHCP by default. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
--Update /etc/init.d/network script. Keeping lo up prevents monit from restarting dropbear and lighttpd, then finally rebooting system due to exceeded number of maximum application's restarts. --keep lo ocnfiguration in /etc/network/interfaces due to above --Update user manual Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
-
Adam Wujek authored
Update Kconfig Update user-manual Update monit's init script Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Update Kconfig Update user-manual Update snmpd's init script Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
When snmpd's init script is called with restart option then script complain that snmp is already running. Probalby it takes some short time to kill snmp. Add sleep 1 second to solve this problem. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Jun 30, 2015
-
-
Adam Wujek authored
Improvement of snmp Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Include 3 new object from wrsOSStatusGroup into calculations of wrsOSStatus: --wrsMemoryFreeLow --wrsCpuLoadHigh --wrsDiskSpaceLow Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Notify with error or warning when disk usage is too high. Additionally: --update MIB Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Notify with error or warning when CPU load is too high. Additionally: --update MIB Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Notify with error or warning when mamory usage is too high. Additionally: --update MIB Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
New table with information about mounted partitions Add new wrsDiskTable with objects: --wrsDiskMountPath --wrsDiskSize --wrsDiskUsed --wrsDiskFree --wrsDiskUseRate --wrsDiskFilesystem Additionally: -- update of MIB -- update Makefile -- update init.c Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Fix of description for: --wrsPstatsTable --wrsPstatsEntry Fix location of groups/tables in comments for: --wrsTimingStatusGroup --wrsNetworkingStatusGroup --wrsPstatsTable --wrsPtpDataTable --wrsPortStatusTable Add location in comments for: --wrsDetailedStatusesGroup --wrsOperationStatus --wrsSpllState Move of comment for wrsStartCntGroup Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
New group with load averages similar to these returned by uptime, but multiplied with 100 to avoid floats. Add new wrsCpuLoadGroup with objects: -- wrsCPULoadAvg1min -- wrsCPULoadAvg5min -- wrsCPULoadAvg15min Additionally: -- update of MIB -- update Makefile -- update init.c Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Add new wrsMemoryGroup with objects: -- wrsMemoryTotal -- wrsMemoryUsed -- wrsMemoryUsedPerc (% of used memory) -- wrsMemoryFree Additionally: -- update of MIB -- update Makefile -- update init.c NOTE: I tried to implement these objects with sysinfo function. However, sysinfo doesn't provide information about amount cached memory, which is included in used memory. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Trigger data fill in init function to avoid getting "first read" values later. Note: This "trick" may not work when cache update time is increased significantly. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
To make SNMP return objects more consistent, "first read" defines were changed for following objects in wrsNetworkingStatusGroup: --wrsEndpointStatus --wrsSwcoreStatus --wrsRTUStatus Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
--update MIB Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Additionally: --update MIB --make struct wrsPtpDataTable_s extern in wrsPtpDataTable.h Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Add following objects to wrsPtpDataTable: --wrsPtpServoStateErrCnt --wrsPtpClockOffsetErrCnt --wrsPtpRTTErrCnt --wrsPtpDeltaRxTxErrCnt Additionally: --uplift PPSI to shmem version 6 --update wrs_dump_shmem --update MIB Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Add object to inform if TX and RX PTP packets are flowing. Additionally: --update MIB Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Add wrsPortStatusPtpTxFrames and wrsPortStatusPtpRxFrames to wrsPortStatusTable Additionally: --follow pointer to pp_instances in snmp_shmem.c --update MIB --uplift ppsi --shmem dump with new variables (ptp_tx_count and ptp_rx_count) Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
There was a problem with counting multiple instaces of a program especially for dropbear where new instance is spawned for each ssh session. It is impossible to predict number of instances at compile time or even in run time. What we know is that at least one dropbear process should be running. New method is capable of reporting when there are too many or too few processes running (exp value is positive)or reporting when too few processes are running (exp value is negative). Use full path for snmpd binary. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Add following spll version info: --wrsSpllVersion --wrsSpllBuildDate Additionally: --update Makefile --update MIB --update init.c --increase version number of spll_stat structure due to new fields --support version 2 of spll_stat structure in wrsSpllStatusGroup Please note that this commit requires changes done in wrpc-sw commit: revision: report build information via spll_stats structure Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Additionally update MIB Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Also fix of description of wrsPortStatusMode in MIB Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Update: --Makefile --init --MIB create wrsTimingStatusGroup.c and wrsTimingStatusGroup.h Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-