Solaris 10 SNMP Agent
Hi everybody,
I need to find a how to manual about the setup of SNMP Agent (with MIBs) everything and then i want to integrade with an NMS tool.
Thnx
[http://docs.sun.com/app/docs/doc/817-3000/]
Similar Messages
-
Hello *,
In our project I want to use SUN (Solaris 9 and 10) SNMP Agent to send hardware failure traps.
As I know, besides other things, I have to edit snmpdx.acl file using following example.
snmpdx.acl:
# trap parameters
trap =
trap-community = public
hosts = atpcundx
enterprise = "sun"
trap-num = 0, 1, 2-5, 6-16
Problem that I have is that I cannot find explanations for meaning for parameter "enterprise" and "trap-num".
Does anyone have an idea where I can find descriptions what enterprise = "sun" or "snmp" or "3com" or "Solaris Volume Manager" means and what is the meaning of trap numbers integer values.
I tried to test configuration as it is described in SUN documentation. I have strange results. Traps are not sent until in snmpd.conf "trap = <hostname>" is set.
Entries from snmpd.acl file are ignored even in this case.
Generally, does anyone knows how to configure this feature to work.
Any help will be appreciated.
Thanks in advance.
Brgds
SFDear folks,
Does the Sun JES server have a separate SNMP sun
agent?Indeed:
http://docs.sun.com/app/docs/doc/819-2650/6n4u4dtvq?q=snmp&a=view
>
I want to run the Solaris SNMP agent (snmpdx) as
master agent with the Sun JES sub-agent. Is it
possible?I don't know why not. Start by looking at the documentation.
>
Thanks in advance.
T Dang -
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 -
5.1 SNMP Agent doesn't respond in pressure situations.
Weblogic SNMP Agent Stoped Responding.
When I abuse the Weblogic 5.1 Server with a heavy load (Heavry load meaning
a high URL Connections that access Session and Entity Beans) and ping my
server cpu utilization at over 92%, the Weblogic SNMP Agent stops
responding.
Has anyone else seen this happen?
- I Assume it is because the remote Virtual Machine Connection has lower
priority than the Executon Threads in reporting Status.
I am onn a Solaris 2.7 Platform using Weblogic 5.1 sp6 or sp8, unsing Sun
Java JDK 1.2.006
I have tried to nice the PID, but it seams to have no effect..
I need a better soution
Tony McClay
Seven Space.com
(708) 466-8205Surely someone else knows what I'm talking about? Isn't the whole point of the Favorites Bar that you can put any Mailbox or Smart Mailbox in it, for easy access?
-
Java Exception when attempt to start the SNMP agent
Hi,
I require to start the SNMP agent in Solaris 2.6 running Web Logic 5.1. Upon entering
the command :
$ java weblogic.SNMPAgent, it is asking me for the password , and I gave the same.
The system is
generating a Java Exception given below:
Exception in thread "main" com.adventnet.snmp.snmp2.agent.AgentRuntimeException:
Failure in opening SnmpSession, errstat: 0, errvalue: 0
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.lang.RuntimeException.<init>(RuntimeException.java:47)
at com.adventnet.snmp.snmp2.agent.AgentRuntimeException.<init>(AgentRuntimeException.java:63)
at com.adventnet.snmp.snmp2.agent.SnmpAgent.addClientAndOpenSession(SnmpAgent.java:801)
at com.adventnet.snmp.snmp2.agent.SnmpAgent.restartSnmpAgent(SnmpAgent.java:939)
at com.adventnet.snmp.snmp2.agent.SnmpAgent.restartSnmpAgent(CompiledCode)
at com.adventnet.snmp.snmp2.agent.SnmpAgent.setPort(Compiled Code)
at weblogic.management.snmp.agent.WebLogicAgent.init(Compiled Code)
at weblogic.management.snmp.agent.WebLogicAgent.startup(WebLogicAgent.java:377)
at weblogic.SNMPAgent.main(SNMPAgent.java:25)
Given below is the file <startSNMPAgent.sh> and it's central contents:
$JAVA weblogic.SNMPAgent -password pbgst -serverURLs t3://localhost:7001 -trap
Destinations localhost:162
The classpath settings are correct and as per documentation.
There are SNMP agents also running in the machine which have been started by default
by Solaris,
doing a ps -ef | grep snmp shows:
root 556 1 0 Jun 23 ? 0:00 /usr/lib/dmi/snmpXdmid -s sunhyd01
root 516 1 0 Jun 23 ? 0:00 /usr/lib/snmp/snmpdx -y -c /etc/snmp/conf
pbgst 28090 25879 0 17:01:37 pts/32 0:00 grep snmp
I tried to start the SNMP agent on a diff. port and specified the same in the
.sh file and also changed the
trap Destinations port ---- it still generates the same exception.
Please do try to resolve this problem for me, as the project is in production
phase.
Thanks for all help beforehand.
Baivab
P.S. How can I obtain the id for WebSupport center, as we have using WL licensed
product
recently purchased in 3 nos.Hello,
way back we had the same problem and the reason was, that the path
names with the server instances were to long
(/opt/wlsroot/wlsInstances/axsExpert.SwissAir/S_243_7001 ->
/opt/wlsroot/wlsInstances/axsExpert.SAir/S_243_7001). But this was
with WLS 5.1 SP8.
Regards
Wolfgang Becker
Atraxis
On 9 Jul 2001 23:02:29 -0800, "Baivab Mitra"
<[email protected]> wrote:
>
Hello Michel,
Thanks for the reply. As you may have noticed, that the SNMP agents which are
already running, the owner is <root>. These services are required and I do not
have or I can not obtain the password to start/stop the same. As such, the only
option which I have is to start the weblogic-specific SNMP service in a different
port. Question: In the parameters, I specified : <snmpPort 1600 trace Destinations
1601> I am still getting the same error. What else is required and/or how do I
proceed to start the same service?
Thanks for your help beforehand,
Baivab
"Michael Girdley" <----> wrote:
It looks like another SNMP agent has already bound to the port.
Michael Girdley
BEA Systems
Learning WebLogic? http://learnweblogic.com
"Baivab Mitra" <[email protected]> wrote in message
news:[email protected]...
Hi,
I require to start the SNMP agent in Solaris 2.6 running Web Logic5.1.
Upon entering
the command :
$ java weblogic.SNMPAgent, it is asking me for the password , and Igave
the same.
The system is
generating a Java Exception given below:
Exception in thread "main"com.adventnet.snmp.snmp2.agent.AgentRuntimeException:
Failure in opening SnmpSession, errstat: 0, errvalue: 0
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.lang.RuntimeException.<init>(RuntimeException.java:47)
atcom.adventnet.snmp.snmp2.agent.AgentRuntimeException.<init>(AgentRuntimeExce
ption.java:63)
atcom.adventnet.snmp.snmp2.agent.SnmpAgent.addClientAndOpenSession(SnmpAgent.j
ava:801)
atcom.adventnet.snmp.snmp2.agent.SnmpAgent.restartSnmpAgent(SnmpAgent.java:939
atcom.adventnet.snmp.snmp2.agent.SnmpAgent.restartSnmpAgent(CompiledCode)
at com.adventnet.snmp.snmp2.agent.SnmpAgent.setPort(CompiledCode)
at weblogic.management.snmp.agent.WebLogicAgent.init(CompiledCode)
atweblogic.management.snmp.agent.WebLogicAgent.startup(WebLogicAgent.java:377)
at weblogic.SNMPAgent.main(SNMPAgent.java:25)
Given below is the file <startSNMPAgent.sh> and it's central contents:
$JAVA weblogic.SNMPAgent -password pbgst -serverURLst3://localhost:7001 -trap
Destinations localhost:162
The classpath settings are correct and as per documentation.
There are SNMP agents also running in the machine which have been startedby default
by Solaris,
doing a ps -ef | grep snmp shows:
root 556 1 0 Jun 23 ? 0:00 /usr/lib/dmi/snmpXdmid-s
sunhyd01
root 516 1 0 Jun 23 ? 0:00 /usr/lib/snmp/snmpdx -y-c
/etc/snmp/conf
pbgst 28090 25879 0 17:01:37 pts/32 0:00 grep snmp
I tried to start the SNMP agent on a diff. port and specified the samein
the
sh file and also changed the
trap Destinations port ---- it still generates the same exception.
Please do try to resolve this problem for me, as the project is inproduction
phase.
Thanks for all help beforehand.
Baivab
P.S. How can I obtain the id for WebSupport center, as we have usingWL
licensed
product
recently purchased in 3 nos. -
How to configure SNMP agent for Oracle 10g
Hello,
I've installed oracle 10g in a Windows 2000 SP4 and I want to monitor database using SNMP.
I've already installed Windows SNMP agent but I haven't any idea how to configure Oracle in order to grant SNMP monitoring.
What should I do?
Is Oracle database ready to be monitored via SNMP by default?
Thanks in advance for your help.
Regards,
CarlesHello,
Thanks for your message.
In fact, I already found this doc in oracle, but it just show executables I have to install and my question can I install these executables.
I've already installed Windows SNMP agent, configured and testedwith disk space checkings, but it doesn't work fine with Oracle.
I launched Oracle Universal Installer and I checked Installed Products, but I haven't found how to install SNMP agents for oracle.
How can I add Oracle Peer Master Agent and Encapsulator to my oracle installation?
Thanks again for your help.
Regards,
Carles -
Weblogic SNMP Agent with WindowsNT SNMP Agent
Can I setup Weblogic SNMP agent as a sub-agent to Windows NT SNMP agent (Microsoft's version)? According to documentation, sub-agents for Microsft's SNMP agent need to be implemented as 32-bit multithreaded DLLs using the Microsoft SNMP API. Does Weblogic have DLLs that we could use for this purpose?
If that is not possible, is there a roadmap on how to provide the same support as the Microsoft's SNMP agent under Weblogic SNMP agent so that the Weblogic agent would provide the same visibility into the system that the Microsoft's agent does by default? Is this even possible?
Thanks."Sanjeev Mishra" <[email protected]> wrote:
>
Does anyone know how to make Microsoft's SNMP Master Agent run on a different port?
I figured this out. It uses the 'snmp' setting from the services file. Just changing that works. Would have been more convenient if there was also a command line flag for that purpose.
Thanks.
"Sanjeev Chopra" <[email protected]> wrote:
Sanjeev Mishra <[email protected]> wrote in message
news:39fde7f2$[email protected]..
Can I setup Weblogic SNMP agent as a sub-agent to Windows NT SNMP agent(Microsoft's version)? According to documentation, sub-agents for Microsft's
SNMP agent need to be implemented as 32-bit multithreaded DLLs using the
Microsoft SNMP API. Does Weblogic have DLLs that we could use for this
purpose?
No.
However, you can have the WLS agent proxy for the NT agent. e.g. you can run
the NT agent on a non-standard port and the WLS agent on 161 and then use
'-otherAgents' option so that the WLS agent will forward any reqs for the NT
agent MIB to that agent. In this setup the SNMP Manager can view that node
as one SNMP entity which supports the WLS MIB + NT MIB
See http://www.weblogic.com/docs51/admindocs/snmpagent.html#use_agent for
details.
If that is not possible, is there a roadmap on how to provide the samesupport as the Microsoft's SNMP agent under Weblogic SNMP agent so that the
Weblogic agent would provide the same visibility into the system that the
Microsoft's agent does by default? Is this even possible?
Thanks. -
[Q] WLS SNMP Agent questions?
Hello, all
I am attaching the weblogic.properties, startWebLogic.cmd and
startSNMPAgent.cmd
I started the weblogic server 5.1 on port 7001.
Then started the SNMP agent using the command
"%JAVA% weblogic.SNMPAgent -password system -snmpPort 161 -serverURLs
t3://210.182.160.120:7001 -community public -debugLevel 3 -trapDestinations
210.182.160.111:162".
210.182.160.120 : WebLogic Server 5.1
210.182.160.111 : Trinity(NMS)
Then I tried to access the "serverState" variable using the command
"java snmpgetnext localhost .1.3.6.1.4.1.140.600.20.1.20"
"java snmpgetwalk localhost .1.3.6.1.4.1.140.600.20"
But i am getting the following error.
Response PDU received from localhost/127.0.0.1, community: public
Error in response. There is no such variable name in this MIB.
Index: 1
Errored Object ID: .1.3.6.1.4.1.140.600.40.1.10
How can I solve this problem?
Thanks in advance...
Have the pretty day. ^^;
[2.startSNMPAgent.JPG]
[3.snmp_command.JPG]
[4.SNMPAgentWhenSNMPGet.JPG]
[1.startWeblogic.JPG]Please see below.
Guillaume Compagnon wrote:
>
1- What version of SNMP does the WLS SNMP agent use ?
( IMO, it is the SNMPv2)Yes.
>
2-Is it possible to use the WLS SNMP Agent to register our own MBean ? ( is
there a Factory , or an entry in JNDI ? )Not yet. We plan to do that sometime soon.
>
3- In the case, I develop my own JMX Agent, is this agent clusterable ? or
should I have several JMX Agent running , with Dynamic MBeans( because we
don't know on which machine in the cluster a MBean is ) ?You'll have to implement the clustering machinery yourself for your
agent. Or, have a separate agent for each WLS instance.
>
Guillaume -
Hi All,
Can anybody tell me how to use SNMP Agent to monitor the Access and Identity ServersHi Ramesh,
I cannot comment on WebLogic & SNMP - this kind of questions would
probably need to be asked on a WebLogic forum.
If you're looking for an SNMP Manager API though, you may want to have a
look at the Java Dynamic Management Kit (commercial product,
free evaluation):
http://java.sun.com/products/jdmk/index.jsp
Hope this helps,
-- daniel
JMX, SNMP, Java, etc...
http://blogs.sun.com/jmxetc
null -
WLS SNMP Agent questions ?
1- What version of SNMP does the WLS SNMP agent use ?
( IMO, it is the SNMPv2)
2-Is it possible to use the WLS SNMP Agent to register our own MBean ? ( is
there a Factory , or an entry in JNDI ? )
3- In the case, I develop my own JMX Agent, is this agent clusterable ? or
should I have several JMX Agent running , with Dynamic MBeans( because we
don't know on which machine in the cluster a MBean is ) ?
GuillaumePlease see below.
Guillaume Compagnon wrote:
>
1- What version of SNMP does the WLS SNMP agent use ?
( IMO, it is the SNMPv2)Yes.
>
2-Is it possible to use the WLS SNMP Agent to register our own MBean ? ( is
there a Factory , or an entry in JNDI ? )Not yet. We plan to do that sometime soon.
>
3- In the case, I develop my own JMX Agent, is this agent clusterable ? or
should I have several JMX Agent running , with Dynamic MBeans( because we
don't know on which machine in the cluster a MBean is ) ?You'll have to implement the clustering machinery yourself for your
agent. Or, have a separate agent for each WLS instance.
>
Guillaume -
How do I restart the SNMP agents with the original command line options?
I'm creating an application that changes the SNMP trap target configuration files and then restarts the SNMP agent. I'm currently working with the mibiisa agent. I want to make sure that I restart the service with the new trap targets but with the original command line options. How can I restart the mibiisa service with the same command line options that it originally loaded with?
It is not "Network Time" that is the problem, but actually "SystemStarter." SystemStarter is an interim kludge to enable the work or the old StartupItems until they can be converted to LaunchDaemons or LaunchAgents controlled by launchd. Launcd calls SystemStarter to launch all the unconverted StartupItems. ntpd is now under the control of launchd directly.
Launchctl is the command to load and unload the plist files, but I don't think it has a mechanism to restart a daemon.
There are start and stop commands in launchctl, but the man page indicates that they are for debugging purposes.
I also imagine you could just kill the ntp daemon and let it restart with new settings. It is most likely set to "keepAlive" so that it will automatically restart. -
SNMP Agent in Oracle 11.2g
Hello all
I wanted to use SNMP agent in Oracle 11.2g, but I read that this agent is deprecated from the Oracle 11G. I also read in a thread that Oracle will continue the support till 2018. Which one is true??
If I can't use SNMP agent what is your suggestion for its substitution?? Can I use Oracle Management Agent??
My Os : Microsoft Server 2000
Thatnk you alllOracle recommends to stop using SNMP going forward. Though the extended support for SNMP will be valid until Jan 2018 (Refer Metalink 1341834.1) .
The reason is not clearly given. They have mentioned that from oracle database 12 cloud control onwards , SNMP is completely removed. Probably that is the reason.
It might be okay to use it, until your environment gets upgraded to oracle 12c.
SNMP with Oracle 11g
[url http://docs.oracle.com/cd/E11857_01/em.111/e14091/chap2.htm]Configuring SNMP for Oracle
Regards
Girish Sharma -
Disable SNMP agent in Job Server
SNMP agent was enabled in job server. Since it is enabled, we cannot access windows SNMP agent. Windows SNMP and DS SNMP is using the same ports 161. We have an application which shows all the statistics of all the servers, but for DS server it not showing all the statistics.
So we are planning to disable the SNMP agent in job server. Is there any implications if i disable the SNMP agent?
DS Version 4.0It should not create any issues.
-
Does SNMP agent on the admin server polls managed objects automatically?
Hi All,
If I enable SNMP agent on the admin server, does it mean that it polls and caches MIB of all the managed servers in the domain and return it if a client requests for information or it polls and caches that MIB value only when requested?
2)Suppose a client requests for SNMP data of a managed instance and the instance is down, does admin server keep polling or does it timeout after a number of secs or retries. I don't see any config params in weblogic 8.1.3 or weblogic 9.0 console.
Thanks. I appreciate your answers.
Thanks,Are you saying the notes are incorrect?
No, I wasn't commenting on that at all. I was just saying that DBUA is the recommended way of upgrading databases... and that's in spades if you're talking about 100GB databases.
I'll lay odds that DBUA to 10.2.0.1 and then patching to 10.2.0.3 is quicker than exporting and importing 100GB of data.
(Applying a 10.2.0.3 patch is done with opatch and doesn't require a fresh installation of Oracle. A patch mostly just modifies the data dictionary: it's finished in minutes, not hours).
My real point: these sorts of questions are incredibly easy to ask, answer, discard, re-ask, modify, mull over and basically experiment with in a virtual environment.
And again: it's utterly bizarre why you wouldn't have physical access to this database (and keep in mind that I can't keep in mind little nuggets of information such as this one which you didn't see fit to share earlier!)
It's in a virtual server. Virtual servers can be zipped up and emailed! (OK, maybe not 100GB... but I've shipped a small hard disk in a zip-lok pack envelope half way round the world before now -though obviously it wasn't critical to have the contents of that envelope available for use all the time... Still, it sounds to me like here's a technology (virtualisation) that's not being properly exploited). -
WebLogic Server 9.1 and SNMP Agent enabled
Hello everybody,
I have enabled the WebLogic 9.1 SNMP agent but it isn't quite working right.
The Sun Management Center software tells me that the WebLogic SNMP Agent (loaded with Halcyon PrimeAlert BEA WebLogic module) is not responding for any of the Application servers (there are only 2) however it does correctly work when the PrimeAlert BEA WebLogic module is configured for the Administrative Server and the entire WebLogic domain.
The community strings that are working (domain & administrative server):
public@mydomain
public@myapplicationserver
Those that don't work (application servers):
public@myappserverone
public@myappservertwo
Oddly enough, originally when I configured these I changed the WebLogic SNMP Agent community prefix to 'mycommunity' and turned the WebLogic SNMP Agent debugging up to 3 but it didn't work. So I changed the community string back to the default 'public', leaving the debugging level at 3 (restarting WebLogic of course) and then it worked.
...so 3 days later I decided to turn the debug level back to the default of 1, leaving the community prefix as public and then restarted WebLogic: then the SNMP Agent for the application servers no longer worked again!!! So I changed it back to 3 and it still no longer worked!!! Help!!!
Can any one help please?
Edited by: user5598330 on Sep 30, 2008 1:35 PMThe problem lies in the slow response time of WebLogic, especially on start up, combined with the 3rd party SNMP product which never queries again after the initial time out.
Ain't the potability of Java great?
Maybe you are looking for
-
Null value in Composite Primary key
Hi, I have a requirement where I need to identify each record based on 4 columns. I though that I could achieve the same by imposing a composite primary key based on all the 4 columns. But any one of the column can be null at anytime. Can I still imp
-
Null pointer Exception in findusersfiltered method
Hi, I am using Findusersfiltered method to fetch the userkey . But it is throwing a null pointer exception, Findusersfiltered(Unknown source). Please let me know the workaround to solve this issue. Will changing the method to findallusers or any othe
-
How to set Assignment details in RSBBS
Hi Experts, RRI is used in dev.I want to know how to set assignment details.What's the meanning of Type ,selection type and required entry? pls be more specific.Thank you. Best regards, Gavin
-
IPhone 5 only ringing for contacts with personalized ring tones
I have an iPhone 5 and it only rings for contacts that I've assigned a personal ringtone to. It does not ring for all other contacts with the default ring tone. Also, I have the last iOSX, not the current operating system with improved Siri and all
-
SDO_RELATE and 3D indexes
Hi, The documentation I have been able to find is not very clear on this. It says that the only operator that can be used with a 3d index is SDO_FILTER. What will happen if you try and use SDO_RELATE? Will it just use SDO_FILTER? Should it return an