postmosy(1M) TCP/IP R4.11 postmosy(1M)
NAME
postmosy - used to merge SNMP MIB objects defined in specified files
(in snmpinfo.dat format) with those defined in the /etc/snmpinfo.dat
file
SYNOPSIS
postmosy
-mergeinfo inputfiles ...
where:
inputfiles - file(s) (in snmpinfo.dat format) that define
SNMP MIB objects that are to be merged with the objects
defined in the /etc/snmpinfo.dat file
DESCRIPTION
The postmosy command is used to merge SNMP MIB objects defined in
specified input files (in snmpinfo.dat format) with those defined in
the /etc/snmpinfo.dat file.
The postmosy command will eliminate duplicate SNMP MIB objects, put
objects in OID order, and replace "_" with "-" in MIB object names.
The postmosy command is automatically called during the installation
of DG/UX to create a /etc/snmpinfo.dat file from all the *.dat files
residing in the /etc/srconf/datinfo directory. Executing the export
function of the admsnmpuea command will do the same.
Options are:
-mergeinfo
Merge SNMP MIB objects defined in specified files (in
snmpinfo.dat format) with those defined in the
/etc/snmpinfo.dat file.
EXAMPLES
This example causes the DG/UX SNMP User Extensible Agent's user
defined SNMP MIB objects to be merged with the current objects
defined in the /etc/snmpinfo.dat file:
$ postmosy -mergeinfo /etc/srconf/datinfo/snmpuea.dat
This example shows how to merge all SNMP MIB objects defined in all
the .dat files residing in the /etc/srconf/datinfo directory into one
/etc/snmpinfo.dat file:
$ postmosy -mergeinfo /etc/srconf/datinfo/*.dat
DIAGNOSTICS
Exit status is 0 upon success.
Exit status is -1 if an error occurs
SEE ALSO
info.dat(4M), admsnmpuea(1m), snmpd(1M).
Licensed material--property of copyright holder(s)