• Alessandro Rubini's avatar
    snmp library: fill the ppsi information to be exported · 7341a626
    Alessandro Rubini authored
    This fills the information by parsing the output of "wr_mon -g"
    and "wr_mon -p".
    
    Parsing is data-struct driven, and the strings must match the one
    printed by wr_mon. If they don't a log message is generated:
    
       18:02:54 192 snmpd[1468]: wrs_ppsi_parse_line: can't find key "seource:"
    
    To test, you can export WRS_SNMP_MON_FNAME and WRS_SNMP_MON_FNAME_P to
    name two text files that can be opened instead of a pipe from wr_mon.
    
    A problem with COUNTER64 remains, but it is a bug in netsnmp. See next
    commit.
    Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    7341a626
Name
Last commit
Last update
binaries Loading commit data...
build Loading commit data...
configs Loading commit data...
doc Loading commit data...
kernel Loading commit data...
patches Loading commit data...
robustness/coding Loading commit data...
scripts Loading commit data...
usb-loader Loading commit data...
userspace Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
COPYING Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...
Makefile.kconfig Loading commit data...
README Loading commit data...