LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-14-2016, 04:32 AM   #1
yackluminoso
LQ Newbie
 
Registered: Jul 2016
Posts: 15

Rep: Reputation: Disabled
Net-snmp in Slckware 14.0 respond only from localhost


Hello,
It is my first entry in a forum I apologize for my errors.
I ask for help in the following problem, the agent snmp of a vm slackware only works if I query the vm itself, but if I do the same query from a remote host as a result I get a timeout.
Slackware version is: 14.0;
NET-SNMP version: 5.6.1
The agent configuration is:
rocommunity rokey ip_server_nagios
agentAddress udp:161
com2sec sat-1 ip_nagios_server rokey
com2sec localhost 127.0.0.1 rokey
group nagios v1 nagios-server
group local v1 localhost
group nagios v2c nagios-server
group local v2c localhost
view All included .1
view systemview included .1.3.6.1.2.1.1
view systemview included .1.3.6.1.2.1.25.1.1
access nagios "" any noauth exact All none none
access local "" any noauth exact All none none
The error in snmpd log file is:
Connection from UDP: [ip_server_nagios]:47013->[ip_vm_slackware]:161
send response: Failure in sendto
-- UCD-SNMP-MIB::dskIndex.1
error on subcontainer 'ia_addr' insert (-1)

Thank you
 
Old 07-15-2016, 09:49 AM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
There is a router?
Firewall? ufw? iptables? lfd/csf? something in the way?
forward UDP:161 to the vm slackware host?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[NET-SNMP] OID parameter to use for SNMP Trap - Overall CPU utilisation sy85 Linux - Software 4 02-14-2015 01:08 AM
snmpwalk "timeout: No Response from localhost:1161" using net-snmp-5.4.3 khung Linux - Server 5 09-02-2014 04:06 PM
Integrate Mod-Apache-Snmp with Net-SNMP source kirukan Linux - Server 2 05-11-2011 02:48 AM
net-snmp localhost sumanch Linux - Software 1 04-08-2011 07:59 AM
Net-SNMP writing a Subagent - snmp.conf Unknown token: master AustinMarton Programming 0 12-16-2008 08:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:05 PM.

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