01-13-2011
snmp on solaris 2.8
Hi All,
I was looking for MIBs for getting CPU & Memory Usage from Solaris
Machine ( Ver 2.8 ). I came across 2 mibs which provides this info.
Those are HOST-RESOURCES-MIB and UCD-SNMP Mibs. But when I query the
machine for these mibs, it is not returning any value. I would like to
know whether do I need to tweak or add something in the agent to make
it work ?
thanks
10 More Discussions You Might Find Interesting
1. Solaris
All,
I downloaded and installed the following net-snmp from the sourceforge.net website on a Solaris 9 server with the entire collection installed:
net-snmp-5.1.2-SunOS_5.9_sun4u.tar.gz
with no errors.
I attempt to run snmpget and I get the following error:
ld.so.1: snmpget: fatal:... (1 Reply)
Discussion started by: bubba112557
1 Replies
2. Solaris
hello
I am running solaris 8 sparc.
I installed net-snmp 5.4.1 (compiled it from tar file).
When I do snmpwalk from another server, I receive a partial list of OIDs then it stops and gives 'timeout. No response...'
another snmpwalk will directly timeouts.
I compiled again the binaries... (1 Reply)
Discussion started by: melanie_pfefer
1 Replies
3. Solaris
Hi,
I want the list of SNMP traps supported by Solaris 10. DO anyone has the list prepared.
Regards,
Rajesh (1 Reply)
Discussion started by: grrajeish
1 Replies
4. Solaris
Hi there,
I know this is a common question, but I have not found a satsifactory solution yet, so pardon me for posting similar questions.
My problem is the log /var/adm/messages is filling up with this entry every few minutes Please refer below.
Oct 4 21:39:46 host last message repeated 3... (5 Replies)
Discussion started by: sundar63
5 Replies
5. Solaris
I'm unable to see any traps being sent from my Solaris 10 server using Net-snmp 5.4.2 Here is my snmp conf file. Please let me know if there are any syntax issues you might notice.
cat /etc/sma/snmp/snmpd.conf
###########################################################################
#
#... (1 Reply)
Discussion started by: soupbone38
1 Replies
6. Infrastructure Monitoring
Hi all,
I am currently doing a project regarding traps and would like to help me in this issue. I am knew to the trap world :confused::) and thought that by posting this thread helps me move forward in this project.
First of all I will begin exactly from the very beginning, i.e. the net-snmp... (0 Replies)
Discussion started by: Wizard_1979
0 Replies
7. Infrastructure Monitoring
hello,
please, can any one help me to find a set of information to configure snmp in solaris 10 to send traps to manager
urgent
please
thanks (4 Replies)
Discussion started by: lamou23
4 Replies
8. Infrastructure Monitoring
hello,
I have installed netsnmp-5.1.1-sol8-sparc-local under sun solaris 5.8, but when il write:
snmpwalk -v1 -c public localhost memory
I have not information about memory, il displays me:
End of mib
Can any one help me
thanks (1 Reply)
Discussion started by: lamou23
1 Replies
9. Infrastructure Monitoring
hello,
I have installer netsnmp on sun solaris 5.10, bur when I write this:
/usr/local/bin/snmpwalk -v1 -c public localhost
I have this error:
ld.so.1: snmpwalk: fatal : libcrypto.so.0.9.8 : failed to open: no such file or directory
can any one help me please... (7 Replies)
Discussion started by: lamou23
7 Replies
10. UNIX for Advanced & Expert Users
I am using the following command to successfully send snmp traps on Linux but I cant get it to work on Solaris , can someone give me the syntax plz?
Linux:
/usr/sbin/snmptrap -v 2c -c org 10.100.10.211 \'\' 1.3.6.1.4.1.791.2.9.2 1.3.6.1.4.1.791.2.9.2 s \"$1 \"
Solaris:... (5 Replies)
Discussion started by: aliyesami
5 Replies
LEARN ABOUT OPENSOLARIS
snmpdf
SNMPDF(1) Net-SNMP SNMPDF(1)
NAME
snmpdf - display disk space usage on a network entity via SNMP
SYNOPSIS
snmpdf [COMMON OPTIONS] [-Cu] AGENT
DESCRIPTION
snmpdf is simply a networked verison of the typical df command. It checks the disk space on the remote machine by examining the HOST-
RESOURCES-MIB's hrStorageTable or the UCD-SNMP-MIB's dskTable. By default, the hrStorageTable is preferred as it typically contains more
information. However, the -Cu argument can be passed to snmpdf to force the usage of the dskTable.
AGENT identifies a target SNMP agent, which is instrumented to monitor the gievn objects. At its simplest, the AGENT specification will
consist of a hostname or an IPv4 address. In this situation, the command will attempt communication with the agent, using UDP/IPv4 to port
161 of the given target host. See the snmpcmd(1) manual page for a full list of the possible formats for AGENT.
See the snmpd.conf(5) manual page on setting up the dskTable using the disk directive in the snmpd.conf file.
OPTIONS
COMMON OPTIONS
Please see snmpcmd(1) for a list of possible values for COMMON OPTIONS as well as their descriptions.
-Cu Forces the command to use dskTable in mib UCD-SNMP-MIB instead of the default to determine the storage information. Generally, the
default use of hrStorageTable in mib HOST-RESOURCES-MIB is preferred because it typically contains more information.
EXAMPLES
% snmpdf -v 2c -c public localhost
Description size (kB) Used Available Used%
/ 7524587 2186910 5337677 29%
/proc 0 0 0 0%
/etc/mnttab 0 0 0 0%
/var/run 1223088 32 1223056 0%
/tmp 1289904 66848 1223056 5%
/cache 124330 2416 121914 1%
/vol 0 0 0 0%
Real Memory 524288 447456 76832 85%
Swap Space 1420296 195192 1225104 13%
SEE ALSO
snmpd.conf(5), snmp.conf(5)
4th Berkeley Distribution 25 Jul 2003 SNMPDF(1)