Operating System - OpenVMS
1753783 Members
7113 Online
108799 Solutions
New Discussion юеВ

Re: fetching data from server using SNMP trap in Open VMS 7.2

 
Amit Phadnis
Advisor

fetching data from server using SNMP trap in Open VMS 7.2

Hi,

I need to pull some selected from one of my servers on open VMS 7.2, using SNMP trap? I am using SNMP_traprcv -d -p 1024 command, but after that system gets hang and almost no response.
Pls let me know the procedure for this process?

Regards,
Amit Phadnis.
10 REPLIES 10
Wim Van den Wyngaert
Honored Contributor

Re: fetching data from server using SNMP trap in Open VMS 7.2

Amit Phadnis
Advisor

Re: fetching data from server using SNMP trap in Open VMS 7.2

ok that was fine.
My procedure is ready and even if try to run this procedure, I am unable to recieve. The system halts with no response after giving command.
can this be a memory issue? or because of too much data it is trying to recieve?

If so what are the troubleshooting procedureon this?

Amit.
Hoff
Honored Contributor

Re: fetching data from server using SNMP trap in Open VMS 7.2

Insufficient memory conditions will usually trigger much more obvious failures.

Your reference to halt here is not to a system halt or system crash or a process-level failure, and just intended to indicate that the DCL procedure simply stops at the step where it is receiving the trap, correct? That the loop appears to hang at the trap receive, correct? ("Halt" generally implies a particular meaning on OpenVMS.)

Is there a trap arriving at the receiver? The lack of that arrival would be my initial guess here.
Amit Phadnis
Advisor

Re: fetching data from server using SNMP trap in Open VMS 7.2

Hoff,

No, the trap is not arriving at reciever. All the problem starts from there.
Thats why I used the word 'halt' in my mail, as there is no further progress seen or any error message from the system.

Amit.
Wim Van den Wyngaert
Honored Contributor

Re: fetching data from server using SNMP trap in Open VMS 7.2

How are you sending the trap ?
Can you ping the servers and can they ping you ?

Wim
Wim
Amit Phadnis
Advisor

Re: fetching data from server using SNMP trap in Open VMS 7.2

I can ping the server and I get the repply too from it.
I am trying to recieve the trap, using following command,

$ snmp_traprcv -d -p 1024,

After giving this command, the system don't give any response.

Amit.
Wim Van den Wyngaert
Honored Contributor

Re: fetching data from server using SNMP trap in Open VMS 7.2

Yes, but someone must be sending the trap too (have an event that causes a trap to be send). There is also a snmp_trapsnd.exe for test purposes.

Wim
Wim
Robert Atkinson
Respected Contributor

Re: fetching data from server using SNMP trap in Open VMS 7.2

Amit, you could try using SNMP_REQUEST instead.

Attached is a procedure I wrote, specific to our company, but will give you an idea of how it works.

Rob.

Amit Phadnis
Advisor

Re: fetching data from server using SNMP trap in Open VMS 7.2

when I am using SNMP_REQUEST, getting following output,

$ @TCPIP$SNMP_REQUEST.EXE
%RMS-W-RTB, 512 byte record too large for user's buffer

can you guessanything from this.

Amit.