default_store



default_store

NAME
SYNOPSIS
DESCRIPTION
AUTHOR
SEE ALSO

NAME

NetSNMP::default_store − Perl extension for Net−SNMP generic storage of global data

SYNOPSIS

  use NetSNMP::default_store qw(:all);
  $port = netsnmp_ds_get_int(NETSNMP_DS_LIBRARY_ID, DS_LIB_DEFAULT_PORT);
  netsnmp_ds_set_int(NETSNMP_DS_LIBRARY_ID, DS_LIB_DEFAULT_PORT, 161);

DESCRIPTION

This module is a wrapper around the net-snmp default store routines. See the net-snmp default_store manual page for details on what the various functions do and the values that can be set/retrieved.

EXPORT
None by default.

Exportable constants

                                   NETSNMP_DS_MAX_IDS
                                   NETSNMP_DS_MAX_SUBIDS
                                   NETSNMP_DS_LIBRARY_ID
                                   NETSNMP_DS_APPLICATION_ID
                                   NETSNMP_DS_TOKEN_ID
                                   NETSNMP_DS_LIB_MIB_ERRORS
                                   NETSNMP_DS_LIB_SAVE_MIB_DESCRS
                                   NETSNMP_DS_LIB_MIB_COMMENT_TERM
                                   NETSNMP_DS_LIB_MIB_PARSE_LABEL
                                   NETSNMP_DS_LIB_DUMP_PACKET
                                   NETSNMP_DS_LIB_LOG_TIMESTAMP
                                   NETSNMP_DS_LIB_DONT_READ_CONFIGS
                                   NETSNMP_DS_LIB_MIB_REPLACE
                                   NETSNMP_DS_LIB_PRINT_NUMERIC_ENUM
                                   NETSNMP_DS_LIB_PRINT_NUMERIC_OIDS
                                   NETSNMP_DS_LIB_DONT_BREAKDOWN_OIDS
                                   NETSNMP_DS_LIB_ALARM_DONT_USE_SIG
                                   NETSNMP_DS_LIB_PRINT_FULL_OID
                                   NETSNMP_DS_LIB_QUICK_PRINT
                                   NETSNMP_DS_LIB_RANDOM_ACCESS
                                   NETSNMP_DS_LIB_REGEX_ACCESS
                                   NETSNMP_DS_LIB_DONT_CHECK_RANGE
                                   NETSNMP_DS_LIB_NO_TOKEN_WARNINGS
                                   NETSNMP_DS_LIB_NUMERIC_TIMETICKS
                                   NETSNMP_DS_LIB_ESCAPE_QUOTES
                                   NETSNMP_DS_LIB_REVERSE_ENCODE
                                   NETSNMP_DS_LIB_PRINT_BARE_VALUE
                                   NETSNMP_DS_LIB_EXTENDED_INDEX
                                   NETSNMP_DS_LIB_PRINT_HEX_TEXT
                                   NETSNMP_DS_LIB_PRINT_UCD_STYLE_OID
                                   NETSNMP_DS_LIB_READ_UCD_STYLE_OID
                                   NETSNMP_DS_LIB_HAVE_READ_PREMIB_CONFIG
                                   NETSNMP_DS_LIB_HAVE_READ_CONFIG
                                   NETSNMP_DS_LIB_QUICKE_PRINT
                                   NETSNMP_DS_LIB_DONT_PRINT_UNITS
                                   NETSNMP_DS_LIB_NO_DISPLAY_HINT
                                   NETSNMP_DS_LIB_16BIT_IDS
                                   NETSNMP_DS_LIB_DONT_PERSIST_STATE
                                   NETSNMP_DS_LIB_2DIGIT_HEX_OUTPUT
                                   NETSNMP_DS_LIB_IGNORE_NO_COMMUNITY
                                   NETSNMP_DS_LIB_DISABLE_PERSISTENT_LOAD
                                   NETSNMP_DS_LIB_DISABLE_PERSISTENT_SAVE
                                   NETSNMP_DS_LIB_APPEND_LOGFILES
                                   NETSNMP_DS_LIB_MIB_WARNINGS
                                   NETSNMP_DS_LIB_SECLEVEL
                                   NETSNMP_DS_LIB_SNMPVERSION
                                   NETSNMP_DS_LIB_DEFAULT_PORT
                                   NETSNMP_DS_LIB_OID_OUTPUT_FORMAT
                                   NETSNMP_DS_LIB_STRING_OUTPUT_FORMAT
                                   NETSNMP_DS_LIB_HEX_OUTPUT_LENGTH
                                   NETSNMP_DS_LIB_SERVERSENDBUF
                                   NETSNMP_DS_LIB_SERVERRECVBUF
                                   NETSNMP_DS_LIB_CLIENTSENDBUF
                                   NETSNMP_DS_LIB_CLIENTRECVBUF
                                   NETSNMP_DS_SNMP_VERSION_1
                                   NETSNMP_DS_SNMP_VERSION_2c
                                   NETSNMP_DS_SNMP_VERSION_3
                                   NETSNMP_DS_LIB_SECNAME
                                   NETSNMP_DS_LIB_CONTEXT
                                   NETSNMP_DS_LIB_PASSPHRASE
                                   NETSNMP_DS_LIB_AUTHPASSPHRASE
                                   NETSNMP_DS_LIB_PRIVPASSPHRASE
                                   NETSNMP_DS_LIB_OPTIONALCONFIG
                                   NETSNMP_DS_LIB_APPTYPE
                                   NETSNMP_DS_LIB_COMMUNITY
                                   NETSNMP_DS_LIB_PERSISTENT_DIR
                                   NETSNMP_DS_LIB_CONFIGURATION_DIR
                                   NETSNMP_DS_LIB_SECMODEL
                                   NETSNMP_DS_LIB_MIBDIRS
                                   NETSNMP_DS_LIB_OIDSUFFIX
                                   NETSNMP_DS_LIB_OIDPREFIX
                                   NETSNMP_DS_LIB_CLIENT_ADDR
                                   NETSNMP_DS_LIB_TEMP_FILE_PATTERN
                                   NETSNMP_DS_LIB_AUTHMASTERKEY
                                   NETSNMP_DS_LIB_PRIVMASTERKEY
                                   NETSNMP_DS_LIB_AUTHLOCALIZEDKEY
                                   NETSNMP_DS_LIB_PRIVLOCALIZEDKEY
                                   NETSNMP_DS_LIB_APPTYPES
                                   NETSNMP_DS_LIB_KSM_KEYTAB
                                   NETSNMP_DS_LIB_KSM_SERVICE_NAME
                                   NETSNMP_DS_LIB_SBSM_LOCAL_PWD

Exportable functions

  int netsnmp_ds_get_boolean(int storeid, int which)
  int netsnmp_ds_get_int(int storeid, int which)
  char *netsnmp_ds_get_string(int storeid, int which)
  void *netsnmp_ds_get_void(int storeid, int which)
  int netsnmp_ds_register_config(unsigned char type, const char *ftype, const char *token,
                       int storeid, int which)
  int netsnmp_ds_register_premib(unsigned char type, const char *ftype, const char *token,
                       int storeid, int which)
  int netsnmp_ds_set_boolean(int storeid, int which, int value)
  int netsnmp_ds_set_int(int storeid, int which, int value)
  int netsnmp_ds_set_string(int storeid, int which, const char *value)
  int netsnmp_ds_set_void(int storeid, int which, void *value)
  void netsnmp_ds_shutdown(void)
  int netsnmp_ds_toggle_boolean(int storeid, int which)

AUTHOR

Wes Hardaker, hardaker@users.sourceforge.net

SEE ALSO

perl(1), default_store(3).



More Linux Commands

manpages/difftime.3.html
difftime(3) - calculate time difference - Linux manual page
The difftime() function returns the number of seconds elapsed between time time1 and time time0, represented as a double. Each of the times is specified in cale

manpages/mysql_fix_extensions.1.html
mysql_fix_extensions(1) - normalize table file name extensio
mysql_fix_extensions converts the extensions for MyISAM (or ISAM) table files to their canonical forms. It looks for files with extensions matching any letterca

manpages/XSetICFocus.3.html
XSetICFocus(3) - set and unset input context focus (ManPage)
The XSetICFocus function allows a client to notify an input method that the focus window attached to the specified input context has received keyboard focus. Th

manpages/scrl.3ncurses.html
scrl(3ncurses) - scroll a curses window - Linux manual page
scrl.3ncurses - The scroll routine scrolls the window up one line. This involves moving the lines in the window data structure. As an optimization, if the scrol

manpages/mrf.1.html
mrf(1) - monochrome recursive format (compressed bitmaps)...
This program is part of Netpbm(1) MRF is a compressed format for bilevel (1-bit mono) images. It achieves better compression for some such images than either GI

manpages/Tcl_UtfFindFirst.3.html
Tcl_UtfFindFirst(3) - routines for manipulating UTF-8 string
These routines convert between UTF-8 strings and Tcl_UniChars. A Tcl_UniChar is a Unicode character represented as an unsigned, fixed-size quantity. A UTF-8 cha

manpages/Mail::SpamAssassin::Conf::SQL.3pm.html
Mail::SpamAssassin::Conf::SQL(3pm) - load SpamAssassin score
Mail::SpamAssassin::Conf::SQL.3pm - Mail::SpamAssassin is a module to identify spam using text analysis and several internet-based realtime blacklists. This cla

manpages/yuvscaler.1.html
yuvscaler(1) - UPscales or DOWNscales a YUV4MPEG2 stream to
yuvscaler is a general (UP or DOWN) scaling utility that is provided to allow conversion between different video formats. It reads in a YUV4MPEG2 format stream

manpages/sort.1.html
sort(1) - sort lines of text files - Linux manual page......
Write sorted concatenation of all FILE(s) to standard output. Mandatory arguments to long options are mandatory for short options too. Ordering options: -b, --i

manpages/iso_8859-9.7.html
iso_8859-9(7) - ISO 8859-9 character set encoded in octal, d
The ISO 8859 standard includes several 8-bit extensions to the ASCII character set (also known as ISO 646-IRV). ISO 8859-9, also known as the Latin Alphabet No.

manpages/gnutls_x509_crl_get_dn_oid.3.html
gnutls_x509_crl_get_dn_oid(3) - API function (Man Page).....
This function will extract the requested OID of the name of the CRL issuer, specified by the given index. If oid is null then only the size will be filled. RETU

manpages/set_polkit_default_privs.8.html
set_polkit_default_privs(8) - set default privileges for Pol
The set_polkit_default_privs program installs default settings for privileges that are granted automatically to locally logged in users by PolicyKit. CONFIGURAT





We can't live, work or learn in freedom unless the software we use is free.