- 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>
-
Adam Wujek authored
snmp tried to read file with hostname and filename of dotconfig source. Such files exists only when dotconfig is retrived from network. This patch prevents returning "error" in wrsConfigSourceHost and wrsConfigSourceFilename when config is local. Also change define name from DOTCONFIG_DOWNLOAD to DOTCONFIG_STATUS. (no technical change) Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Update MIB and wrsSpllStatusGroup.h with descriptions of number used in wrsSpllMode, wrsSpllSeqState and wrsSpllAlignState Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Move reading of temperature sensors' tresholds from hal to snmp. Thresholds were and still are read from dot-config. update: --hal --hal_shmem header --snmpd --wr_mon --wrs_dump_shmem --uplift ppsi (update hal_shmem header) Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Jun 29, 2015
-
-
Adam Wujek authored
--Improve some init scripts --Split start-daemons.sh.in --Add monit conf files for HAL, RTUd and PPSi
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-