Results 1 to 1 of 1
I am trying to configure SNMP service using xinetd on red hat. I am using a non-standard port for it. My snmp qurey fails. I would appreciate if somebody can ...
- 01-27-2011 #1Just Joined!
- Join Date
- Jan 2011
- Posts
- 8
Help needed to run SNMP via XINETD
I am trying to configure SNMP service using xinetd on red hat. I am using a non-standard port for it. My snmp qurey fails. I would appreciate if somebody can help me to point out what is wrong in my config:
Here is my config:
I changed following files:
file1: /etc/services to include
my-snmp 49555/udp
file2: /etc/xinetd.d/my-snmp to include
service my-snmp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /etc/rc.d/init.d/snmpd
log_on_failure += USERID
}
sudo /etc/init.d/xinetd restart
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
log:
Jan 26 17:42:25 [userid] xinetd[15258]: xinetd Version 2.3.14 started with libwrap loadavg labeled-networking options compiled in.
Jan 26 17:42:25 [userid] xinetd[15258]: Started working: 1 available service
Next I run a snmpwalk command which fails:
snmpwalk -v 1 -c craz33guy udp:localhost:49555
Timeout: No Response from udp:localhost:49555


Reply With Quote