Sponsored Content
Top Forums UNIX for Advanced & Expert Users snmpdx (master agent) doens't relay messages to agents Post 302072366 by ShaharP on Tuesday 2nd of May 2006 03:55:45 AM
Old 05-02-2006
snmpdx (master agent) doens't relay messages to agents

Hi,

I've installed on my Solaris 9 (sparc) the Solstice Enterprise Agents and I'm trying to register my application with the master agent of the Solaris, so when the master agent recieves an SNMP message with my O.I.D range, it forwards it to my application.

My application listen on port 1161, and the snmpdx is working on default port 161. I've created in the /etc/snmp/conf 2 files:

app.reg
app.rsrc

with the correct path to my application (my subagent script) and the correct port (1161).
When I'm sending an SNMP get command from other machine to port 161, I do not get response (response time out), but if I try directly to send to port 1161 I do get response.

Can someone help me understanding how should I configure it correctly ? so the subagent really registers to the master agent ?

Thanks in advanced,
Shahar.
 

7 More Discussions You Might Find Interesting

1. Solaris

Agents for Auditing and Monitoring

Auditing and Monitoring is the most important activitiy of system administrator. In order to improve the servers administered per administrator, can anyone suggest some low cost ( preferably free ) tools/agents. (1 Reply)
Discussion started by: shauche
1 Replies

2. Solaris

snmpdx core dump

I have an snmp subagent that normally runs without a problem. I changed the timeout parameter in the reg file and I now get an snmpdx core dump. Here's the old configuration that ran OK: agents = { { name = "mntagent" subtrees = { mntagent } ... (2 Replies)
Discussion started by: jalburger
2 Replies

3. Solaris

snmpdx.... 100% Confused

Greetings... I am VERY new to unix and I have a application (ASG Cypress) that we need to monitor with Tivoli Omnibus using the probe mttrapd. The issue is port 161. I was told that you can use snmpdx to master over the port and then redirect incoming traps to their rspected probes. I... (5 Replies)
Discussion started by: LRoberts
5 Replies

4. Solaris

/usr/lib/snmp/snmpdx: can't open the file - Error Messages while rebooting

I have an X4500 server running solaris 10 and when I reboot my system it displays the following errors messages. Could someone help me with this ??? NOTICE: pci8086,1011 - e1000g : Adapter 100Mbps full duplex copper link is up. Nov 8 17:41:46 /usr/lib/snmp/snmpdx: can't open the file Nov 8... (2 Replies)
Discussion started by: bharu_sri
2 Replies

5. Infrastructure Monitoring

Solaris 10 - starting snmpdx at boot time on a port other than 161

Hi All, Can we start the snmpdx on another port at boot time on solaris 10 instead of the default 161 port? What is the configuration file to set this? We can make it run in a different port after the system boots up by using snmpdx -p port_number This requirement is because i have an... (1 Reply)
Discussion started by: Mr. Zer0
1 Replies

6. UNIX for Dummies Questions & Answers

Offline Agents Inquiry.

Hello, I currently use Solaris, and typically I use the svcs -a | grep PROCESS to see if it's online or Offline. My questions is SVCS is in solaris but if I want to find out if a daemon or process is offline what other methods can I use? ps -ef | grep PROCESS "what do I look for" or... (1 Reply)
Discussion started by: NelsonC
1 Replies

7. UNIX Desktop Questions & Answers

How can I replicate master master and master master MySQL databse replication and HA?

I have an application desigend in PHP and MySQl running on apache web server that I is running on a Amazon EC2 server Centos. I want to implement the master-master and master slave replication and high availability disaster recovery on this application database. For this I have created two... (0 Replies)
Discussion started by: Palak Sharma
0 Replies
snmpa_supervisor(3erl)					     Erlang Module Definition					    snmpa_supervisor(3erl)

NAME
snmpa_supervisor - A supervisor for the SNMP agent Processes DESCRIPTION
This is the top supervisor for the agent part of the SNMP application. There is always one supervisor at each node with an SNMP agent (mas- ter agent or sub-agent). EXPORTS
start_sub_sup(Opts) -> {ok, pid()} | {error, {already_started, pid()}} | {error, Reason} Types Opts = [opt()] opt() = {db_dir, string()} | ... Starts a supervisor for the SNMP agent system without a master agent. The supervisor starts all involved SNMP processes, but no agent processes. Sub-agents should be started by calling start_sub_agent/3 . db_dir is mandatory. See configuration parameters for a description of the options. start_master_sup(Opts) -> {ok, pid()} | {error, {already_started, pid()}} | {error, Reason} Types Opts = [opt()] opt() = {db_dir, string()} | {config, ConfOpts()} | ... ConfOpts = [conf_opts()] conf_opts() = {dir, string()} | ... Reason = term() Starts a supervisor for the SNMP agent system. The supervisor starts all involved SNMP processes, including the master agent. Sub- agents should be started by calling start_subagent/3 . db_dir is mandatory. dir in config is mandatory. See snmp config for a description of the options. start_sub_agent(ParentAgent,Subtree,Mibs) -> {ok, pid()} | {error, Reason} Types ParentAgent = pid() SubTree = oid() Mibs = [MibName] MibName = [string()] Starts a sub-agent on the node where the function is called. The snmpa_supervisor must be running. If the supervisor is not running, the function fails with the reason badarg . stop_sub_agent(SubAgent) -> ok | no_such_child Types SubAgent = pid() Stops the sub-agent on the node where the function is called. The snmpa_supervisor must be running. If the supervisor is not running, the function fails with the reason badarg . Ericsson AB snmp 4.19 snmpa_supervisor(3erl)
All times are GMT -4. The time now is 09:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy