Operating System - HP-UX
1753851 Members
7869 Online
108807 Solutions
New Discussion

Traps are not generated by ENAMATE SNMP Agent on HP-UX

 

Traps are not generated by ENAMATE SNMP Agent on HP-UX

Hi,

I am planing to configure the ENAMATE SNMP Agent on HP-UX (B.11.23.0706).

I have configured SNMP agent on HP-UX as given below one part of snmpd.conf
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
get-community-name: getdata IP: 10.203.175.36 VIEW: mib-2 hp system interfaces internet at ip snmp
get-community-name: public IP: 10.203.175.36
set-community-name: private IP: 10.203.175.36
set-community-name: secrete IP: 10.203.175.36 VIEW: mib-2 hp \
system interfaces internet at ip snmp
max-trap-dest: 150
trap-dest: 10.203.175.36
contact:Aricent
location:GGN
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

This if the only configuration i did for SNMP Agent and modified the snmpd.conf only.

I am facing two problems.
1- Traps are not received at 10.203.175.36; I tried to generate "Authentication failure" by using wrong community string in GET operation from SNMP manager and restarted snmpd to generate "cold start" trap.
2- using community string "getdata" I am not able to GET/GETNEXT any data and using "secrete" I am not able to set any data. even if I change the view part to VIEW: .1.3.6; it makes no change in the behavior, whereas "public" and "private" community strings are working properly.

Note: Whenever I modify snmpd.conf, I restart the snmp daemon using snmpd script.
1 REPLY 1

Re: Traps are not generated by ENAMATE SNMP Agent on HP-UX

I have observed one more thing that whenever I restart my snmp daemon.

I see following logs in /var/adm/snmpd.log.

Has some faced this problem earlier, I had been banging my head on this problem for couple of weeks.

Your inputs might save my days and weeks :)


What is the meaning "AgentSocketPullInput: short read pending on socket close, data discarded" in third last line.
>>>>
SNMP Research SNMP Agent Resident Module Version 15.3.1.0
at line 588 in file ../mastmain.c
Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 SNMP Research, Inc.
at line 589 in file ../mastmain.c
Configuration file /etc/SnmpAgent.d/snmpd.conf is readable by group or others.
at line 1459 in file ../../../snmpd/shared/agtinit.c
GetSubagentEvent: setvar not enabled from subagent 0
at line 2635 in file ../master.c
GetSubagentEvent: setvar not enabled from subagent 1
at line 2635 in file ../master.c
GetSubagentEvent: setvar not enabled from subagent 2
at line 2635 in file ../master.c
GetSubagentEvent: setvar not enabled from subagent 3
at line 2635 in file ../master.c
AgentSocketPullInput: short read pending on socket close, data discarded
at line 388 in file ../common.c
GetSubagentEvent: setvar not enabled from subagent 3
at line 2635 in file ../master.c
GetSubagentEvent: setvar not enabled from subagent 4
at line 2635 in file ../master.c
>>>>