NetTalk Central

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - BertusV

Pages: [1]
1
The Rest - Ask For Help / Net simple SNMP
« on: November 22, 2015, 12:59:31 AM »
Hi Guys,

Is anyone using SNMP?  I can't get it working with a program called Opmanager.

I can get is sort of working between the ned demo server and client but even that seem to have a few small issues.  As soon as you go for a non standard notification the wrong error shows up on the server.  I may be feeding it the wrong info admitedly.

I'm setting these values:

     ThisSNMPClient.SNMPVersion = 0
      ThisSNMPClient.community = 'public'
      ThisSNMPClient.Enterprise = GETINI('SNMPConfiguration','Enterprise', NetSNMP:snmpTrapEnterprise,'.\MetalEDI.INI')
      ThisSNMPClient.AgentAddr = GETINI('SNMPConfiguration','Agent', '192.168.9.210','.\MetalEDI.INI')
      ThisSNMPClient.GenericTrap = NetSNMP:snmpTrapEnterprise
      ThisSNMPClient.SpecificTrap = NetSNMP:snmpTrapOID
      If TimeStamp = 0
          ThisSNMPClient.TimeStamp = 1
      Else
          ThisSNMPClient.TimeStamp = CLOCK() - TimeStamp
      End
      TimeStamp = CLOCK()
      ThisSNMPClient.Packet.ToIP = GETINI('SNMPConfiguration','Host', '192.168.9.210','.\MetalEDI.INI')

      ThisSNMPClient.SendTrap()


And get this in the Opmanager software errorlog.  I get the same error
when I use the NetDemo.

12:13:28:468 EVENT: Exception caught in TrapInput while converting the
received trap into SnmpPDU object.
com.adventnet.snmp.snmp2.SnmpException: SnmpPDU decoding failed.

Can you see anything that I'm missing?

Thanks,
Bertus





2
Web Server - Ask For Help / Re: OAuth Example?
« on: May 04, 2015, 01:51:28 PM »
Debra, how did you go with the OAuth?  I need to connect to the MYOB cloud?

Would you be willing to share some code?  Or work together to produce something?

I think this would be something worthy of a template.  It is just going to be more and more used.

Bertus

Pages: [1]