Sybase MAC OS X User Manual Page 39

  • Download
  • Add to my manuals
  • Print
  • Page
    / 54
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 38
CHAPTER 1 Installing Adaptive Server
29
##
./etc/rc.common
if ["${SNMPSERVER:=-NO-}" = "-YES-" ]; then
ConsoleMessage "Starting SNMP server"
/usr/sbin/snmpd -x 705
fi
Sybase subagent
To install the Sybase SNMP subagent, first edit snmpagent.cfg in
/Applications/Sybase/System/SNMP-1_0 to include entries for each server that
is to be monitored. There is no limit to the number of servers that can be
monitored by the Sybase subagent.Typically, the subagent resides on the same
machine as the monitored server. The snmpagent.cfg file contains
documentation for configuration settings.
To test the Sybase subagent, you can start it from the command line by
executing:
java -jar $SYBASE/SNMP-1_0/lib/SybaseAgent \
-c $SYBASE/SNMP-1_0/snmpagent.cfg
A log file is produced in the location specified in snmpagent.cfg, or in
./SybaseAgent.log if a log file location was not specified.
Once the Sybase subagent is configured, you can set it up to automatically run
at system start-up by moving the Sybase Agent folder to /Library/StartupItems,
as described in “Starting Sybase services automatically” on page 27.
MIB files
The mibs directory contains the MIB definitions that are supported by the
Sybase subagent. Install these into your network management system. If you
are going to use the SNMP command line tools that come with the Net-SNMP
distribution, you must copy these mibs into /usr/share/snmp/mibs. Once this is
done, you can issue a test query:
setenv MIBS RDBMS-MIB
snmpwalk -nc public localhost
Page view 38
1 2 ... 34 35 36 37 38 39 40 41 42 43 44 ... 53 54

Comments to this Manuals

No comments