Anda di halaman 1dari 5

Expression MIB and Event MIB Configuration Example - Cisco

I need the MIB configuration for Solaris devices for using SNMP.

>> As per google, MIB is related to SNMP (Simple Network Management Protocol (SNMP)
is an application-layer communication protocol that allows network devices to
retrieve and modify the value of management information, as well as provide event
notification to a NMS.)

MIB configuration requirement:

To get MIB configuration files

/usr/lib/ssm/lib/mibs

Performance via SNMP

� CPU Performance

� Memory Performance (bytes used / % used )

� Physical Disk I/O

� Running Processes

� Socket Connectivity Information (uses TCP-MIB via SNMP / prefers RFC 4022
version)

� Network Interface Utilization

Please find the attached Sheet of Solaris Server and mail for your reference.

https://docs.oracle.com/cd/E26505_01/html/E29492/ewbej.html

https://docs.sciencelogic.com/latest/Content/Web_Vendor_Specific_Monitoring/Linux_a
nd_Solaris/solaris_install_configure_net-snmp.htm?TocPath=Section%20IX.%20Vendor-
specific%20Monitoring%7CMonitoring%20Linux%20and%20Solaris%20Systems%7CInstalling
%20and%20Configuring%20Net-SNMP%20for%20Solaris%7C_____6

http://www.sunfreeware.com/introduction.html

[root@s602499bo2su05:~] pkginfo -l |grep snmp


PKGINST: SUNWjsnmp
PKGINST: SVVSnsnmp
NAME: SAVVIS svvs netsnmp
DESC: This is the svvsnetsnmp with pass-persist for mibextender.pl.
[root@s602499bo2su05:~]

[root@s602499bo2su05:~] svcs -a |grep snmp


legacy_run 2016 lrc:/etc/rc2_d/S95svvssnmpd

[root@s602499bo2su05:~] pkginfo -l SUNWjsnmp


PKGINST: SUNWjsnmp
NAME: Java SNMP API
CATEGORY: system
ARCH: sparc
VERSION: 1.0,REV=2005.01.09.23.05
BASEDIR: /
VENDOR: Sun Microsystems, Inc.
DESC: Solaris Java SNMP API
PSTAMP: install-bldsp-1020050109230556
INSTDATE: Jan 16 2009 18:55
HOTLINE: Please contact your local service provider
STATUS: completely installed
FILES: 5 installed pathnames
4 shared pathnames
4 directories
568 blocks used (approx)

[root@s602499bo2su05:~] pkginfo -l SUNWjsnmp


PKGINST: SUNWjsnmp
NAME: Java SNMP API
CATEGORY: system
ARCH: sparc
VERSION: 1.0,REV=2005.01.09.23.05
BASEDIR: /
VENDOR: Sun Microsystems, Inc.
DESC: Solaris Java SNMP API
PSTAMP: install-bldsp-1020050109230556
INSTDATE: Jan 16 2009 18:55
HOTLINE: Please contact your local service provider
STATUS: completely installed
FILES: 5 installed pathnames
4 shared pathnames
4 directories
568 blocks used (approx)

[root@s602499bo2su05:~] cat
/usr/local/svvs/share/snmp/snmpd.conf
pass_persist .1.3.6.1.4.1.8940.2.3 /usr/local/monitor/bin/mibextender.pl
rocommunity savron 209.83.194.0/24
rocommunity savron 167.215.232.0/24
rocommunity savron 212.124.244.0/24
rocommunity savron 63.136.252.0/22
rocommunity savron 127.0.0.1
rocommunity public 127.0.0.1
[root@s602499bo2su05:~]

[root@s602499bo2su05:~] cat /usr/local/svvs/share/snmp/snmpd.conf


pass_persist .1.3.6.1.4.1.8940.2.3 /usr/local/monitor/bin/mibextender.pl
rocommunity savron 209.83.194.0/24
rocommunity savron 167.215.232.0/24
rocommunity savron 212.124.244.0/24
rocommunity savron 63.136.252.0/22
rocommunity savron 127.0.0.1
rocommunity public 127.0.0.1
[root@s602499bo2su05:~]

[root@s602499bo2su05:~] cat /usr/local/svvs/var/svvssnmpd/snmpd.conf


#
# net-snmp (or ucd-snmp) persistent data file.
#
############################################################################
# STOP STOP STOP STOP STOP STOP STOP STOP STOP
#
# **** DO NOT EDIT THIS FILE ****
#
# STOP STOP STOP STOP STOP STOP STOP STOP STOP
############################################################################
#
# DO NOT STORE CONFIGURATION ENTRIES HERE.
# Please save normal configuration tokens for snmpd in SNMPCONFPATH/snmpd.conf.
# Only "createUser" tokens should be placed here by snmpd administrators.
# (Did I mention: do not edit this file?)
#

======================================================================

Hi

This is regarding your request MIB configuration for Solaris devices for using
SNMP.

We regret for the delay happend to provide you the updates on this activity on
time.

Could you please check below concerns and answer?

1) Do you have any Solaris client server which is already configured as SNMP client
(Net-SNMP).

2) Or do you just want us to install netsnmp software? if yes what is the snmp
version you recommand to install? And then you do snmpd configuration changes from
your end?

Based on your reply on above concerns, we will ask you few more clarifications on
this.

4) This activity will have below steps to folllow to install snmp on client side.

>> Installing and configuring the latest version of Net-SNMP.


>> Optionally, stopping snmpdx and snmpxdmid.
>> Creating the snmpd.conf file. This file defines how the Net-SNMP agent will
behave and includes information on the physical location and the contact
information for the server, access control for the Net-SNMP agent, and trap
destinations for the agent.
>> Starting snmpd and testing the newly installed Net-SNMP for Solaris 10.
5 And finally while updating snmpd.conf we need to change below parameters.

##############################################################

# SECTION: System Information Setup

# This section defines some of the information reported in

# the "system" mib group in the mibII tree.

# syslocation: The [typically physical] location of the system.

# Note that setting this value here means that when trying to

# perform an snmp SET operation to the sysLocation.0 variable will make

# the agent return the "notWritable" error code. IE, including

# this token in the snmpd.conf file will disable write access to

# the variable.

# arguments: location_string

syslocation "Reston, Virginia"

# syscontact: The contact information for the administrator

# Note that setting this value here means that when trying to

# perform an snmp SET operation to the sysContact.0 variable will make

# the agent return the "notWritable" error code. IE, including

# this token in the snmpd.conf file will disable write access to

# the variable.

# arguments: contact_string

syscontact "ScienceLogic Support 1-703-354-1010�

##############################################################

# SECTION: Access Control Setup

# This section defines who is allowed to talk to your running

# snmp agent

# rocommunity: a SNMPv1/SNMPv2c read-only access community name

# arguments: community [default|hostname|network/bits] [oid]

rocommunity public
# rwcommunity: a SNMPv1/SNMPv2c read-write access community name

# arguments: community [default|hostname|network/bits] [oid]

# rwcommunity private

##############################################################

# SECTION: Trap Destinations

# Here we define who the agent will send traps to.

# trap2sink: A SNMPv2c trap receiver

# arguments: host [community] [portnum]

trap2sink 192.168.10.71 public

# End of File

Anda mungkin juga menyukai