Try this:

snmp_auth:
  - tag: HQ-SNMPv3
    user: <redacted>
    auth:
      pass: <redacted>
      proto: SHA
    priv:
      pass: redacted
      proto: AES
      only:
        - 192.168.200.0/24

I used this site to figure out that problem:

http://yaml-online-parser.appspot.com


Thanks,
Joseph B.


On Apr 17, 2014, at 5:30 PM, <Peter.Burris@usitc.gov>
 wrote:

Iíve had netdisco running successfully for a week now, except it could not map the networks it was supposed to see.  Consequently, I moved the Virtual machine on which it lives in a subnet with more direct access to the network segments. Iíve been working with the layer two network administrators.  My logs for both netdisco-web and netdisco-daemon all betray the same recurring error:
 
I keep seeing this error:
 
Error while loading /home/netdisco/perl5/bin/netdisco-web-fg: Unable to parse the configuration file: /home/netdisco/environments/deploym
ent.yml: YAML::XS::Load Error: The problem:
 
    mapping values are not allowed in this context
 
This looks like the relevant snippet of deployment.yaml
 
tag: HQ-SNMPv3
    user: <redacted>
    auth:
      pass: <redacted>
      proto: SHA
    priv:
      pass: redacted
      proto: AES
      only:
        - 192.168.200.0/24
 
Can you a) confirm that I identified the right area (I commented this stanza out, restarted the daemon and webservice and magically, I could see everything) and b) recommend the notation that will allow us to scan the networks with SNMPv3 credentials?
 
Peter H Burris
Network Services Division
International Trade Commission
 
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech_______________________________________________
Netdisco mailing list
netdisco-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netdisco-users