LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-24-2011, 10:43 AM   #1
aocferreira
Member
 
Registered: Feb 2011
Posts: 117

Rep: Reputation: 0
can't connect to master agent with subagent (snmp)


Hello,

Can't connect to master agent: netstat -an | grep master gives me
unix 2 [ ACC ] STREAM LISTENING 451121 /var/agentx/master

and if I run snmpd -f -Le -Dagentx I get:

agentx_register_app_config_handler: registering .conf token for "agentxsocket"
agentx/subagent: init_subagent sess 08052880
agentx_register_app_config_handler: registering .conf token for "agentxsocket"
agentx_register_app_config_handler: registering .conf token for "agentxperms"
agentx_register_app_config_handler: registering .conf token for "agentxRetries"
agentx_register_app_config_handler: registering .conf token for "agentxTimeout"
cache has existing timer id.
Turning on AgentX master support.
agentx/config: port spec: /var/agentx/master
agentx/config: port permissions: 0660 0550 nobody asterisk
agentx/config: socket permissions: 660 (432)
agentx/config: directory permissions: 550 (360)
agentx/config: socket owner: nobody (65534)
agentx/config: socket group: asterisk (116)
agentx/master: initializing...
agentx/master: initializing... DONE
NET-SNMP version 5.2.3

what's the problem?
 
Old 03-24-2011, 12:01 PM   #2
aocferreira
Member
 
Registered: Feb 2011
Posts: 117

Original Poster
Rep: Reputation: 0
that's good already, the problem was /var/agentx/master
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
snmp agent netcrunch Nielsrohrig Linux - Networking 0 07-28-2009 02:16 AM
Net-SNMP writing a Subagent - snmp.conf Unknown token: master AustinMarton Programming 0 12-16-2008 07:34 PM
SNMP master & SNMP client Script for system monitoring ratul_11 Programming 1 12-24-2007 05:32 AM
SNMP v3 Agent For Linux LinuxGeek Linux - Networking 1 06-18-2006 02:58 PM
net-snmp subagent problem watsonpan Linux - Software 0 09-21-2005 01:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration