1752399 Members
5634 Online
108788 Solutions
New Discussion юеВ

Re: SNMP

 
Wim Van den Wyngaert
Honored Contributor

SNMP

I use snmp to get info of devices.
Regularly I get "No reply".
I do :
$ mc TCPIP$SNMP_REQUEST hub900_s1 public getnext -lr5s5 1.3.6.1.4.1

The device is a hub900. Regularly means once every 40 runs. VMS7.3, TCP 5.3 ECO 2.

Anyone knows why ?
Wim
5 REPLIES 5
Wim Van den Wyngaert
Honored Contributor

Re: SNMP

Changed the option s5 to s60. It now hold already 60 runs.
I guess the timeout of 5 seconds was too low (the procedure was running in batch with prio=2).
Wim
Wim Van den Wyngaert
Honored Contributor

Re: SNMP

Did some more debugging.

It seems NOT to be related to the timeout.
I specified retrying 10 times with a timeout of 60 seconds. After minimum 1 minute and maximum 3 minutes, the "no reply" is given.
In all cases at least 20 items were fetched with success before the "no reply" was given.

I increased process priority to 5. No improvement.

I do the same thing with SAN switches and they work fine. All my hub900 have the problem.

No specialist in the house ?

The current command uses -lr10w60 as options.
Wim
Wim Van den Wyngaert
Honored Contributor

Re: SNMP

1) you must specify the snmp parameters as documented or they are ignored.
e.g. -m 5 -s 5
2) the hub900 was power cycled and since then working correctly
3) The same problem occured with a sanswitch. Power cylce it (not reboot !) and it works again.

Wim
Wim
Antoniov.
Honored Contributor

Re: SNMP

Hi Wim,
because I believe you already checked for any different things between interactive and detached mode, I've persuaded trouble stands exactly in execution mode.
I guess, your application, sometimes need to use reply command that's not avaiable in detached mode because is a DCL command.
I hope this clue can help you.
Merry Christmas!

Antonio Vigliotti
Antonio Maria Vigliotti
Antoniov.
Honored Contributor

Re: SNMP

Sorry,
wrong thread :-(

Antonio Vigliotti
Antonio Maria Vigliotti