Sponsored Content
Special Forums UNIX and Linux Applications Infrastructure Monitoring Solaris 9 netsnmp-5.4.2.1 and WUG. Post 302440399 by sparcman on Tuesday 27th of July 2010 05:46:16 AM
Old 07-27-2010
Solaris 9 netsnmp-5.4.2.1 and WUG.

Hi,

I have set up netsnmp-5.4.2.1 as below on a Solaris 9 SPARC server, but it is still not working with What's Up Gold.



Code:
Code:
gzip -dc /mnt/sysinstall/Net-SNMP/libgcc-3.4.6-sol9-sparc-local.gz > libgcc-3.4.6-sol9-sparc-local
pkgadd -d libgcc-3.4.6-sol9-sparc-local
gzip -dc /mnt/sysinstall/Net-SNMP/openssl-0.9.8l-sol9-sparc-local.gz > openssl-0.9.8l-sol9-sparc-local
pkgadd -d openssl-0.9.8l-sol9-sparc-local
gzip -dc /mnt/sysinstall/Net-SNMP/libiconv-1.11-sol9-sparc-local.gz > libiconv-1.11-sol9-sparc-local
pkgadd -d libiconv-1.11-sol9-sparc-local
gzip -dc /mnt/sysinstall/Net-SNMP/netsnmp-5.4.2.1-sol9-sparc-local.gz > netsnmp-5.4.2.1-sol9-sparc-local
pkgadd -d netsnmp-5.4.2.1-sol9-sparc-local
# Create the configuration
vi /usr/local/share/snmp/snmpd.conf
rocommunity public wug@example.com
wq!
# Disable built-in SNMP
mv /etc/rc3.d/S77dmi /etc/rc3.d/K77dmi
mv /etc/rc3.d/S76snmpdx /etc/rc3.d/K76snmpdx
/etc/init.d/init.dmi stop
/etc/init.d/init.snmpdx stop
 
# Start snmp
 
# /usr/local/bin/snmpd
 
# ./snmpget -v 1 -c public localhost sysUpTime.0
Timeout: No Response from localhost.

Any ideas?

Thanks,

Sparcman

Last edited by sparcman; 07-27-2010 at 07:25 AM.. Reason: code tags, please...
 

6 More Discussions You Might Find Interesting

1. IP Networking

netSnmp question

Hello all, I have a question about NetSnmp "http://net-snmp.sourceforge.net/" I wanna configure my NetSnmp that when i get information by snmpget|walk from snmpagent from specific OID, netsnmp will execute configured command and will return me command output with string .... For example: I do get... (0 Replies)
Discussion started by: hemulll
0 Replies

2. Infrastructure Monitoring

compiling netsnmp on solaris 8

Hello all Currently I am trying to install net-snmp-5.5 on a V480 Solaris 8 machine however things are hardly going smooth. I'm running configure will the following options. ./configure --prefix=/usr/local --with-mib-modules="smux ucd-snmp/diskio ucd-snmp/lmSensors host"... (2 Replies)
Discussion started by: krabu
2 Replies

3. Solaris

Unable to login using ssh,telnet onto my solaris machine with solaris 10 installed

Hi, I am unable to login into my terminal hosting Solaris 10 and get the below error message "Server refused to allocate pty ld.so.1: sh: fatal: libc.so.1: open failed: No such file or directory " Is there anyways i can get into my machine and what kind of changes are required to be... (7 Replies)
Discussion started by: sankasu
7 Replies

4. Solaris

netsnmp on solaris8 sparc

hello, I installed netsnmp 5.6 on solaris 8 (sparc). now I want to have cpu, memory and disk used, for this when i execute: snmpwalk -v1 -c public localhost memory it displays me: End of mib please tel me how to do, to have this information (cpu, memory and disk used). thank you (0 Replies)
Discussion started by: lamou23
0 Replies

5. Emergency UNIX and Linux Support

Not able to get CPU utilization on WUG

Hello Experts, I have recently configured SNMP my Solaris SPARC boxes for getting the resource utilizations on Whats Up Gold (hereby referred as WUG) tool. Lately we have upgraded WUG from 12 to 14 version. Then on CPU utilization of SPARC machines isn't populating on the dashboard (other HDD, RAM... (9 Replies)
Discussion started by: EmbedUX
9 Replies

6. AIX

including netsnmp with rc scripts

Hi Admins, I have configured net-snmp with my aix 5.3 server. how to add the same in rc scripts,so that net-snmp will start automatically post server reboot. As per now , i have to start snmp manually after server reboot. Thanks in advance newaix (0 Replies)
Discussion started by: newaix
0 Replies
Info::Layer3::NetSNMP(3pm)				User Contributed Perl Documentation				Info::Layer3::NetSNMP(3pm)

NAME
SNMP::Info::Layer3::NetSNMP - SNMP Interface to L3 Net-SNMP Devices AUTHORS
Bradley Baetz and Bill Fenner SYNOPSIS
# Let SNMP::Info determine the correct subclass for you. my $netsnmp = new SNMP::Info( AutoSpecify => 1, Debug => 1, DestHost => 'myrouter', Community => 'public', Version => 2 ) or die "Can't connect to DestHost. "; my $class = $netsnmp->class(); print "SNMP::Info determined this device to fall under subclass : $class "; DESCRIPTION
Subclass for Generic Net-SNMP devices Inherited Classes SNMP::Info::Layer3 Required MIBs UCD-SNMP-MIB NET-SNMP-TC HOST-RESOURCES-MIB Inherited Classes' MIBs See SNMP::Info::Layer3 for its own MIB requirements. GLOBALS
These are methods that return scalar value from SNMP $netsnmp->vendor() Returns 'Net-SNMP'. $netsnmp->os() Returns the OS extracted from "sysDescr". $netsnmp->os_ver() Returns the software version extracted from "sysDescr", along with the Net-SNMP version. $netsnmp->uptime() Returns the system uptime instead of the agent uptime. NOTE: discontinuity timers and other Time Stamp based objects are based on agent uptime, so use orig_uptime(). $netsnmp->serial() Returns ''. Globals imported from SNMP::Info::Layer3 See documentation in SNMP::Info::Layer3 for details. TABLE ENTRIES
These are methods that return tables of information in the form of a reference to a hash. Overrides $netsnmp->i_ignore() Returns reference to hash. Increments value of IID if port is to be ignored. Ignores loopback Table Methods imported from SNMP::Info::Layer3 See documentation in SNMP::Info::Layer3 for details. NOTES
In order to cause SNMP::Info to classify your device into this class, it may be necessary to put a configuration line into your snmpd.conf similar to sysobjectid .1.3.6.1.4.1.8072.3.2.N where N is the object ID for your OS from the "NET-SNMP-TC" MIB (or 255 if not listed). Some Net-SNMP installations default to an incorrect return value for "system.sysObjectId". In order to recognize a Net-SNMP device as Layer3, it may be necessary to put a configuration line similar to sysservices 76 in your snmpd.conf. perl v5.12.4 2011-09-28 Info::Layer3::NetSNMP(3pm)
All times are GMT -4. The time now is 10:19 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy