SNMP ifindex in Solaris 10
Can anyone tell me how I can nail down the SNMP ifmib ifindex table on a Solaris 10 server? Every time the server guys add a subintderface, I have to reconfigure my PRTG and Spectrum models, and it's getting tedious. I cannot believe there is no way to nail down e1000g0=#2, e1000g1=#3, etc.
Thanks in advance.
Kevin Dorrell
Luxembourg
it should be possible to define the "index" in each /etc/hostname. file
I have never done this, but when the system boots it reads the content of these files and passes them to "ifconfig" to configure the NICs
search this page for "index":
http://docs.oracle.com/cd/E19253-01/816-5166/ifconfig-1m/index.html
Similar Messages
-
Hi, I am new to Solaris and have some questions about SNMP.
Does Solaris (9,10) include any binaries that allow you to make SNMP request to external equipment such as routers or other SNMP hardware?
I am considering the possibility of using a shell script to pull SNMP data from network elements, save it to a text file and render it to a web page.
Does that sound about right? I figured if binaries exist for this than it should be doable.
Thanks
jHi, I am new to Solaris and have some questions about SNMP.
Does Solaris (9,10) include any binaries that allow you to make SNMP request to external equipment such as routers or other SNMP hardware?
I am considering the possibility of using a shell script to pull SNMP data from network elements, save it to a text file and render it to a web page.
Does that sound about right? I figured if binaries exist for this than it should be doable.
Thanks
j -
Hello
Someone could tell me where to find a list of SNMP OIDs for solaris 8
thank you for your cooperationThank you, Dan. These OIDs are for the output from the command "show interface int x/y". But I think, that these OIDs are not for the command "show interface int x/y delta".
Roman -
Hi,
I'm trying very hard to set up a Sun Fire V245 to send SNMP traps when certain hardware or software related events occur. I've been looking at sma_snmp (net-snmp) and the Fault Management Daemon (SUNWfmd) but they seem to be very limited in their capabilities. I have manged to get some traps sent for filesystem fill-ups and high load averages but that is about it.
Most of all I would like the system to send traps when there is a HW failure such as a faulty FRU or if there are disk failures.
If anyone can point me to some documentation about this, I would be most grateful.
/MikaelMikael,
I struggled through the same thing with a Netra 240 recently. The Sun docs are garbage when it comes to this. I opened a ticket with Sun and after 3 days and 6 hours on the phone I finally got hold of someone who knew how to spell SNMP. Yes, it was that bad!
Here's the scoop. In Solaris 10 you run Net-SNMP, a.k.a. SMA, snmpd. The old snmpdx is obsoleted and you shouldn't configure it at all.
Now to get the hardware related traps for the Sunfire and Netra series servers... (what you are really looking for).
You have to load and configure an additional SNMP daemon for the hardware specific traps.
(The first doc is rather old, the last one 819-7978-12 is pretty new and is somewhat more relevant.)
Sun� SNMP Management Agent for Sun Fire� and Netra� Systems: Sun Doc number 817-2559-13
Sun� SNMP Management Agent Addendum for the Netra� 240 Server: Sun Doc Number 817-6238-10
Sun� SNMP Management Agent Administration Guide for Sun Blade� /Sun Fire�/Sun SPARC� Enterprise/Netra� Servers: Sun Doc Number 819-7978-12
And finally the SMA/net-snmp/snmpd guide for the standard Solaris related traps:
Solaris System Management Agent Administration Guide: Sun Doc Number 817�3000�11
There are problems with all of the above documents. None of the Netra/Sunfire docs specifically talk about Solaris 10 so read them with caution. They also talk about configuring and running snmpdx and never reference SMA/net-snmp. This is odd because the instructions I got from Sun (finally) were not to run snmpdx, only to run sma/snmpd and additionally run the sunfire/netra snmpd agent.
The SMA document (817-3000-11) has an undocumented bug, which Sun knows about and is working on but will not reveal to the public. In the section titled "Migration From the Sun Fire Management Agent" it references using a script called masfcnv to convert the sunfire/netra specific snmp config and daemon to work with and through SMA. Since they all use the same ports (161/162) there is some conflict and the masfcnv is script is meant to resolve this by making sma/snmpd a proxy agent to requests toward the sunfire/netra specific hardware daemon.
The problem is the masfcnv script doesn't work properly. In fact, if you run the script you will destroy your other snmp configurations and may have to uninstall and reinstall the packages to clean everything up. This script hasn't ever worked and Sun is working on a fix but they neglect to mention this in the document which is IMO gross negligence and is a reflection of Sun's overall state of affairs (but that's another ranting thread).
So what you must do is configure SMA/net-snmp (or whatever you want to call it), and also configure the sunfire/netra specific snmp (after downloading and installing that package).
Since traps are sent to the remote trapsink using destination port 162, both net-snmp and the netra specific snmp daemons can co-exist here (port 162 is not an open listening port on the machine).
Port 161 is used for receiving SNMP Get requests and can only be bound to one daemon at a time. So either it is used by net-snmp or the netra snmp daemon, but not both. Since my boxes have not been fully integrated still I can't figure out which daemon 161 is bound to. At any rate, in my application the customer is only interested in receiving traps so the outcome here isn't that important.
I realize this isn't complete but I'm no expert here and haven't worked through all the test scenarios on a fully configured system. Hopefully though this will help clear some of the confusion propogated through Sun's stupid documents. Good luck!
/Frank -
Hi,
how can i make my Solaris 10 generate SNMP trap on specific event?
like high CPU,Load or lack of disk space ?
thanks
Ramit should be possible to define the "index" in each /etc/hostname. file
I have never done this, but when the system boots it reads the content of these files and passes them to "ifconfig" to configure the NICs
search this page for "index":
http://docs.oracle.com/cd/E19253-01/816-5166/ifconfig-1m/index.html -
Hello,
I am looking for information on SNMP traps that can be generated by the SNMP installed with the OS.
How can I configure them and what is available?
I read the doc Solstice Enterprise Agents 1.0 User Guide but did not find anything to configure SNMP Traps.
Or which MIB should I use to get an event log that will report problem?
Any help would be great!
ThanksHi,
Even im facing this issue, for latest solaris 10 patches also.
Thanks,
Srikanth. -
Need solution for SNMP Service on Solaris
Hi Friends,
We use the solaris servers. For SNMP we have changed the Default Password of SNMP Service.
We audited our Servers doing the Penetration Testing (PT). In this activity it was reported the SNMP is using the default password. They had the tool "Getif" for SNMP testing. If the default password are set for SNMP service this toll reads the important information. If defaults passwords are not used it cannot read any information about SNMP.
When i change the default password for SNMP, should i restart the the service to take changes in effect?
Pls helpHi taher;
Thanx buddy. You are really helping us out. I just try to share my knowledge wiht forums user i also already learn many thing from forums,as specialy Hussein Sawwan
I have two more doubts. Like in linux we use which command to see if that executable is in the PATH but in Solaris 10 is whence a replacement for that.I belive You can use which command in solaris too.
Q2). I dont think i need to go for split architecture as both the DB (11i) and application tier are certified for solaris *10* SPARC (64-bit).You should decide it not me :) you can use split config if your business need it or not. Its just depend your analysis
I hope; my answer would be answer of your quesition and give you some idea about your issue :)
Regard
Helios -
We're looking for a direction regarding an SNMP agent for our Solaris Platforms. The standard agent bundled with Solaris seems to have many issues and CERT outstanding advisories. I'm wondering what others out there are running, Net-SNMP?, the ESD agent bundled with Sun Management Center?, others? I've looked at the ESD agent and it looks as though this would provide Temps, Fan Speeds, etc... for our servers but it seems as though it's lacking things like 1/5/15 minute load averages, CPU/Disk utilization etc...
Any experiences are welcome!
-Steve Eastham
[email protected]hi,
The same problem with me too. Im using Net-SNMP, but may be one cant trust its reliability and even if we use Net-SNMP loading of PERL scripts/modules is difficult in solaris.
If you got /gathered any useful information please let me too know.
regards
Chenna -
Snmp mibs for solaris 9 sparc edition - cannot be found anywhere
i am looking for the mibs to download for solaris 9 sparc, but they are nowhere to be found on sun's site. can anyone point me in the right direction of where they can be obtained?
any other information regarding sun and snmp is appreciated as well.Here is where you find them:
http://www.sun.com/download/products.xml?id=454bc019 -
Is snmp supported in solaris 7 and 8.
The entagents documents says
This product is supported on the following platforms:
Sparc (Solaris 2.4, 2.5, and 2.6)
x86 (Solaris 2.4, 2.5, and 2.6)
http://www.sun.com/software/entagents/docs/UGhtml/install_solaris.doc.html#1360
so has anyone see the subagents working on solaris 7 and 8.
if so pls let me know ...great if i can have the files and the steps.
hoping snmpwalk also works.
Thanx in Advance.Yes it is supported on Solaris 7 and Solaris 8. Our observation is that on Soalris 8 it is somewhat stable compared to solaris Solaris 7 and Soalris 2.6. There is a problem reported on Soalris 2.6 where subagent does not come up. Tthe latest user and developer doc will give you more info on agent development.
Kalpana. -
How to configure SNMP in solaris 10
i am working on solaris management console .i want to configure snmp for this to send traps regarding system performance and cpu usage ..can any body know ho to do this
Integration of Directory Server SNMP agent with Solaris Master agent is documented in the Administration Guide Chapter 14: Monitoring Directory Server using SNMP.
http://docs.sun.com/source/817-7613/snmp.html
Regards,
Ludovic. -
Configuration snmp Solaris 9 and 10
I installed netsnmp in Solaris 9 x86, the configuration archive is very
vacant has few commentaries and almost no configuration, alguem can
give one to me help of as to use the command snmpwalk in the Solaris?
Another doubt is if I can substitute the archive of configuration of
the net-SNMP of the solaris for one of linux? the net-SNMP in linux
allows to use an addressing of arvore MIB pra execution of scripts, in
the solaris is possible?In snmpd.conf file add these entries.
rocommunity public
syslocation "System administrators office"
syscontact "System administrator"
sysservices 72
And then start snmpd .Then to do a snmpwalk juz use
~#snmpwalk -c public -v 1 localhost
Assuming that you have compile and configure with SNMP v1 support -
I enabled SMA SNMP on my Solaris 10 servers (SunOS 5.10 on i86pc) and now i receive a lot of errormessages in my logs with the following message:
Oct 13 09:57:41 area3 /usr/lib/snmp/snmpdx: [ID 702911 daemon.error] community_check() : bad community from localhost
Oct 13 09:57:41 area3 /usr/lib/snmp/snmpdx: [ID 702911 daemon.error] session_open() failed for a pdu received from localhost.32923
Oct 13 09:57:42 area3 /usr/lib/snmp/snmpdx: [ID 702911 daemon.error] community_check() : bad community from localhost
Oct 13 09:57:42 area3 /usr/lib/snmp/snmpdx: [ID 702911 daemon.error] session_open() failed for a pdu received from localhost.32923
Oct 13 09:57:43 area3 /usr/lib/snmp/snmpdx: [ID 702911 daemon.error] community_check() : bad community from localhost
Oct 13 09:57:43 area3 /usr/lib/snmp/snmpdx: [ID 702911 daemon.error] session_open() failed for a pdu received from localhost.32923
i searched the internet but it seems that this error should be resolved in my Solaris version.
How can i resolve this error?Hi,
Welcome to oracle forums :)
Refer links:
http://forums.sun.com/thread.jspa?threadID=5065724
http://www.sunmanagers.org/pipermail/sunmanagers/2006-November/042435.html
http://unix.derkeiler.com/Newsgroups/comp.unix.solaris/2004-07/0089.html
Hope helps
Regards,
X A H E E R -
No ifIndex table when querying via SNMP
Hello, looking for suggestions before opening up a TAC case.
Just received a Nexus 3000 with NX-OS 6.0(2)U2(1) and when I attempt to walk the ifTable via SNMP the ifIndex table is not present. Walking the ifIndex table itself results in "IF-MIB::ifIndex = No Such Instance currently exists at this OID". show interface snmp-ifindex is fine and the rest of the ifTable displays properly.
My switch config is just a basic RO community with no ACL's or anything yet. A pair of the same switches with NX-OS 5.0(3)U5(1a) display the table no problem.
Any suggestions, or has anyone else seen this?Did you navigate the FireFox plugin to the DB file that is in the Simulator app bundle:
/Users/YOURUSERID/Library/Application Support/iPhone Simulator/User/Applications/SYSTEMGENERATED_NAME/YOURAPP.app
or
/Users/YOURUSERID/Library/Application Support/iPhone Simulator/User/Applications/SYSTEMGENERATEDNAME/Documents
Message was edited by: xnav -
Need to change snmp string for a solaris server
Hi Everyone ,
i am new to solaris and i need to change a snmp string for solaris server and we need to add this server into the monitoring system.
Please tell me the PKG which need to installed in the client ( solaris box ) .
As of now , i can find these PKGs installed in the machine .
# pkginfo -i |grep -i snmp
system SUNWjsnmp Java SNMP API
system SUNWmibii Solstice Enterprise Agents 1.0.3 SN MP daemon
Do i need to install any package for setting the snmp string and please tell me the configuration file where i need to
change the snmp string file ?
Regards
ChenthilHi Bhanu,
I am fine, thanks. Hope you are fine too.
will this step not required
$sqlplus apps/appspass
SQL>exec fnd_conc_clone.setup_clean
before running autoconfig?If you have the latest AutoConfig patch applied, then I believe it is not required. However, it should be OK to run this command to purge FND_NODES table before running AutoConfig.
Regards,
Hussein
Maybe you are looking for
-
How do I fix DFU missing driver in Windows 7?
Trying to update my iPhone 3gs from 4.2.1 to 5.0.1 (won't autoupdate through iTunes, so trying to follow instructions through DFU), but there aren't any drivers for my iPhone for Windows 7 64-bit and I cannot get it updated. I have tried uninstallin
-
How can I restore the traditional Open File view?
Hi, When I choose the option to open a file from within an application when using Win8.1 I am presented with a list of common places which are placed before the drives. I rarely use these pre-defined locations for storing data and would like to be ab
-
Why has iTunes seperated a album into indevidual songs, which I have copied over from my external hard drive into iTunes? How can you pull all the songs back together into one album again?
-
I woke up this morning and when I picked up my Iphone the screen is horribly blurred and I can hardly read the text. Everything works correctly but the display is the only thing messed up any ideas here?
-
I moved audit data from existing Runtime Repository(R1) to New Control Center(R2). After that I upgraded locations to make them Valid. Then we have to run tcl script to upgrade the locations information in design repository. In that tcl code we have