- Apr 21, 2015
-
-
Adam Wujek authored
Branch include SNMP related work
-
Adam Wujek authored
Add following deamon's start counters: --sshd (dropbear) --https (lighttpd) --snmpd --syslog Update: --start scripts --snmpd --MIB Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Please note that wrsTimingStatus is not implemented. However, wrsMainSystemStatus assumes it is implemented. No changes will be needed to wrsMainSystemStatus during implementation of wrsTimingStatus. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Always return status ok in wrsTimingStatus. Add defines for status values for wrsTimingStatus. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
These functions were used to test caches and cache performance. 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
Objects added: --wrsEndpointStatus --wrsSwcoreStatus --wrsRTUStatus --update MIB --add parameters to Kconfig Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
use libwr's interface for dot-config Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
wrsSFPsStatus notify if any SFP report error Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
-- add wrsOSStatus logic to wrsGeneralStatusGroup.c -- update MIB Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
wrsBootSuccessful object check content of wrsOSStatusGroup Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Checking if all processes from array "userspace_deamons" are running. Can return to snmp: --all running --error (cannot run ps or problem with multiple process' instances) --number of missing processes Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Checking if all modules from array "kernel_modules" are loaded. Can return to snmp: --all loaded --error --number of missing modules Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
keeping the same order in array wrs_version as result from /wr/bin/wrs_version will limit number of string comparisons Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
-- change script userspace/rootfs_override/wr/sbin/startup-mb.sh to save lm32 load result in file /tmp/load_lm32_status -- update wrsBootStatusGroup.c and wrsBootStatusGroup.h -- update MIB Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
-- change script userspace/rootfs_override/wr/sbin/startup-mb.sh to save load result in file /tmp/load_fpga_status -- update wrsBootStatusGroup.c and wrsBootStatusGroup.h -- update MIB Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
While checking return status first WIFEXITED has to be checked to know if child returned normally. waitpid's man page: WEXITSTATUS(status) returns the exit status of the child. (...) This macro should be employed only if WIFEXITED returned true. WIFEXITED(status) returns true if the child terminated normally, that is, by calling exit(3) or _exit(2), or by returning from main(). Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Provide information about hwinfo readout Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
To be used by SNMP. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
wrsBootConfigStatus provide information if dot-config was loaded/downloaded successfully. Please note that there is no verification of local config. Update: --MIB --wrsBootStatusGroup.c and wrsBootStatusGroup.h --apply_dot-config --S20dot-config Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
objects added: --wrsBootCnt (read from /proc/wrs-bootcount) --wrsRebootCnt (read from /proc/wrs-bootcount) --wrsRestartReason (read from CPU's register) --wrsFaultIP (not implemented in kernel) --wrsFaultLR (not implemented in kernel) Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
add: --wrsConfigSource --wrsConfigSourceHost --wrsConfigSourceFilename Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Store information about protocol, server IP and filename of retrived dotconfig. Information is stored in: -- /tmp/dot-config_proto -- /tmp/dot-config_host -- /tmp/dot-config_filename When dotconfig is local don't store source information. When web-interface changes dot-config, remove source information because after changes configuration is stored locally. This is going to be used by SNMP Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
No technical change. Change order of including headers and init functions in init.c, additionally change order of compilation in Makefile to reflect order in MIB. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
No technical change. Change location of branch wrSwitchMIB.wrsStatus from high number (256) to low (6), then move wrSwitchMIB.wrsEpertStatus to (7). At the beginning wrsStatus branch was placed at high number because objects from that branch might use several other objects to calculate their own value. For example, there was a risk that query of wrsMainSystemStatus triggers cascade of time consuming cache fills and snmpget timeouts. However, practice shown that cache filling is significantly shorter that SNMP transfers. Additionally, such risk was possible in case of snmpwalk or other method querying objects in order. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
--update MIB --update init.c --update Makefile --create wrsSpllStatusGroup --copy softpll_ng.h from wrpc-sw repo, we need struct spll_stats to get info from spll Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
This function was in file wrsCurrentTimeGroup.c, but memory maping is also needed for other groups. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
No technical change. Make names more clear and consistent. Renamed: --wrsTemperature to wrsTemperatureGroup --wrsOSStatus to wrsOSStatusGroup Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
--add new counter to raport number of RTUd's starts --update 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
Add: --wrsStartCntHAL --wrsStartCntPPSI --update MIB Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
No technical change. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Keep ClockIdentity related stuff in wrsSnmp.h Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Additionally: --update to print all version information reported by wrs_version --update MIB --limit version strings to 32 characters Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
--Functionality is the same as in wrsDate.c, but it uses wrsGroupTemplate.h --update MIB Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
--update show-pstats script after transpose of wrsPstats into wrsPstatsTable --update wrs-user-manual with information about possible usage of snmptable Instead of using script show-pstats, snmptable can be used. For example: snmptable -c public -v 2c switch_IP -m all -M $WRS_OUTPUT_DIR/build/buildroot-2011.11/output/build/netsnmp-5.6.1.1/mibs/:userspace/snmpd/ WR-SWITCH-MIB::wrsPstatsTable Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
--transpose wrsPstats, now ports are in rows, counters in columns --counters descriptions from pstats info file are not used anymore --move pstats from wrsPstats.c to wrsPstatsTable.c --use tableTemplate.h for wrsPstatsTable.c --move in MIB from .1.3.6.1.4.1.96.100.2.1 to .1.3.6.1.4.1.96.100.6.4.1 Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Remove definitions from MIB. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
init_shm and shmem global variables moved to shmem_snmp.h and shmem_snmp.c. Next step is to remove wrsPpsi.c since all information is exported by different objects. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-