SNMP over XML over HTTP?

The snmp-server host command in Cisco IOS has an interesting option: you can specify an URL as the destination host, for example: snmp-server host http://1.2.3.4/xxx traps snmpv2c public. However, I was not able to make it work; the router would accept the configuration command, but the outbound HTTP session never starts. Has anyone managed to get this to work? Any ideas what else is required?

5 comments:

  1. Dmitri Kalintsev16 March, 2010 11:24

    Hi Ivan,

    The trap destination looks like a WebDAV. Maybe this helps you to find what's missing to get it going. With WebDAV a username/password is often required.

    -- Dmitri

    ReplyDelete
  2. Ivan Pepelnjak16 March, 2010 18:22

    I would work around that (if necessary). No HTTP traffic (not even the initial TCP SYN packet) was sent from the router.

    ReplyDelete
  3. I can confirm that this doesn't work on c1841-spservicesk9-mz.124-24.T :'(

    ReplyDelete
  4. Ivan-

    Did you ever figure this one out ? Btw, where is XML (mentioned in the title) here ?

    brgds

    BV

    ReplyDelete

You don't have to log in to post a comment, but please do provide your real name/URL. Anonymous comments might get deleted.

Ivan Pepelnjak, CCIE#1354, is the chief technology advisor for NIL Data Communications. He has been designing and implementing large-scale data communications networks as well as teaching and writing books about advanced technologies since 1990. See his full profile, contact him or follow @ioshints on Twitter.